[INFO] cloning repository https://github.com/814471424/814471424.github.io [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/814471424/814471424.github.io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F814471424%2F814471424.github.io", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F814471424%2F814471424.github.io'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00cb865484943c51f44149e5e9740b7515fbba23 [INFO] checking 814471424/814471424.github.io against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F814471424%2F814471424.github.io" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/814471424/814471424.github.io on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/814471424/814471424.github.io [INFO] finished tweaking git repo https://github.com/814471424/814471424.github.io [INFO] tweaked toml for git repo https://github.com/814471424/814471424.github.io written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/814471424/814471424.github.io 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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-net v0.2.4 [INFO] [stderr] Downloaded gloo-history v0.1.0 [INFO] [stderr] Downloaded gloo-utils v0.1.5 [INFO] [stderr] Downloaded yew-router-macro v0.17.0 [INFO] [stderr] Downloaded route-recognizer v0.3.1 [INFO] [stderr] Downloaded yew-router v0.17.0 [INFO] [stderr] Downloaded gloo-timers v0.2.5 [INFO] [stderr] Downloaded implicit-clone v0.3.2 [INFO] [stderr] Downloaded yew-hooks v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3fb371851d5a02e95e998e5f57c3501e5d5d2adea6a64aa45355a3f0105a534 [INFO] running `Command { std: "docker" "start" "-a" "d3fb371851d5a02e95e998e5f57c3501e5d5d2adea6a64aa45355a3f0105a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3fb371851d5a02e95e998e5f57c3501e5d5d2adea6a64aa45355a3f0105a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3fb371851d5a02e95e998e5f57c3501e5d5d2adea6a64aa45355a3f0105a534", kill_on_drop: false }` [INFO] [stdout] d3fb371851d5a02e95e998e5f57c3501e5d5d2adea6a64aa45355a3f0105a534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8c86be3e75405f5a205ec3c2d2431683224bae0afd911a87dbfe5a43aa13a1 [INFO] running `Command { std: "docker" "start" "-a" "de8c86be3e75405f5a205ec3c2d2431683224bae0afd911a87dbfe5a43aa13a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling serde_derive v1.0.148 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling openssl v0.10.43 [INFO] [stderr] Compiling prettyplease v0.1.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking implicit-clone v0.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking ipnet v2.5.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Compiling openssl-sys v0.9.78 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio-stream v0.1.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling yew-router-macro v0.17.0 [INFO] [stderr] Checking thiserror v1.0.37 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.33 [INFO] [stderr] Checking serde-wasm-bindgen v0.3.1 [INFO] [stderr] Checking gloo-timers v0.2.5 [INFO] [stderr] Checking gloo-utils v0.1.5 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-net v0.2.4 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.0 [INFO] [stderr] Checking gloo-worker v0.2.1 [INFO] [stderr] Checking gloo v0.8.0 [INFO] [stderr] Checking yew v0.20.0 [INFO] [stderr] Checking yew-router v0.17.0 [INFO] [stderr] Checking yew-hooks v0.2.0 [INFO] [stderr] Checking blog_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wasm_bindgen::UnwrapThrowExt` [INFO] [stdout] --> src/components/header.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::UnwrapThrowExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/components/header.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback, Component, Html}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyRoute` [INFO] [stdout] --> src/components/header.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{prelude::*, AnyRoute}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::article::card::ArticleCard` [INFO] [stdout] --> src/components/main_body.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::article::card::ArticleCard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::UnwrapThrowExt` [INFO] [stdout] --> src/components/header.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::UnwrapThrowExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Callback` [INFO] [stdout] --> src/components/header.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use yew::{html, Callback, Component, Html}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyRoute` [INFO] [stdout] --> src/components/header.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{prelude::*, AnyRoute}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::article::card::ArticleCard` [INFO] [stdout] --> src/components/main_body.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::article::card::ArticleCard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/services/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn fetch(url: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/services/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn fetch(url: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/card.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/card.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/card.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn view(&self, ctx: &yew::Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/card.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn view(&self, ctx: &yew::Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/detail.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/detail.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/detail.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/article/detail.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer/style2.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer/style2.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer/style2.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::Context) -> yew::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer/style2.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn view(&self, ctx: &yew::Context) -> yew::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/components/main_body.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let names = vec!["Bob", "Ray", "1", "d"]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/components/main_body.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let names = vec!["Bob", "Ray", "1", "d"]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/route.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Route::Author { id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/route.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Route::Author { id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/view/posts/detail.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn view(&self, ctx: &yew::Context) -> yew::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/view/posts/detail.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn view(&self, ctx: &yew::Context) -> yew::Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/view/posts/list.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/view/posts/list.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn create(ctx: &yew::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unauthorized`, `Forbidden`, `NotFound`, `InternalServerError`, `DeserializeError`, and `RequestError` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DeserializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | RequestError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_ROOT` is never used [INFO] [stdout] --> src/services/request.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const API_ROOT: &str = "www.baidu.com"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_token` is never used [INFO] [stdout] --> src/services/request.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_token(token: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token` is never used [INFO] [stdout] --> src/services/request.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_token() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request` is never used [INFO] [stdout] --> src/services/request.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn request(method: reqwest::Method, url: String, body: B) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unauthorized`, `Forbidden`, `NotFound`, `InternalServerError`, `DeserializeError`, and `RequestError` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DeserializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | RequestError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_ROOT` is never used [INFO] [stdout] --> src/services/request.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const API_ROOT: &str = "www.baidu.com"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_token` is never used [INFO] [stdout] --> src/services/request.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_token(token: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token` is never used [INFO] [stdout] --> src/services/request.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_token() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request` is never used [INFO] [stdout] --> src/services/request.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn request(method: reqwest::Method, url: String, body: B) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.68s [INFO] running `Command { std: "docker" "inspect" "de8c86be3e75405f5a205ec3c2d2431683224bae0afd911a87dbfe5a43aa13a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8c86be3e75405f5a205ec3c2d2431683224bae0afd911a87dbfe5a43aa13a1", kill_on_drop: false }` [INFO] [stdout] de8c86be3e75405f5a205ec3c2d2431683224bae0afd911a87dbfe5a43aa13a1