[INFO] cloning repository https://github.com/brunoSnoww/Rust-web-dev-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brunoSnoww/Rust-web-dev-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrunoSnoww%2FRust-web-dev-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrunoSnoww%2FRust-web-dev-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8699874a6c9d0d34110b02fbc2da1107c711c841 [INFO] checking brunoSnoww/Rust-web-dev-book against master#023084804e5e8ea42877451c2b3030e7050281cc for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrunoSnoww%2FRust-web-dev-book" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 42% (1531/3570) Updating files: 43% (1536/3570) Updating files: 44% (1571/3570) Updating files: 45% (1607/3570) Updating files: 46% (1643/3570) Updating files: 47% (1678/3570) Updating files: 48% (1714/3570) Updating files: 49% (1750/3570) Updating files: 50% (1785/3570) Updating files: 51% (1821/3570) Updating files: 52% (1857/3570) Updating files: 53% (1893/3570) Updating files: 54% (1928/3570) Updating files: 55% (1964/3570) Updating files: 56% (2000/3570) Updating files: 57% (2035/3570) Updating files: 58% (2071/3570) Updating files: 59% (2107/3570) Updating files: 60% (2142/3570) Updating files: 61% (2178/3570) Updating files: 61% (2211/3570) Updating files: 62% (2214/3570) Updating files: 63% (2250/3570) Updating files: 64% (2285/3570) Updating files: 65% (2321/3570) Updating files: 66% (2357/3570) Updating files: 67% (2392/3570) Updating files: 68% (2428/3570) Updating files: 69% (2464/3570) Updating files: 70% (2499/3570) Updating files: 71% (2535/3570) Updating files: 72% (2571/3570) Updating files: 73% (2607/3570) Updating files: 74% (2642/3570) Updating files: 75% (2678/3570) Updating files: 76% (2714/3570) Updating files: 77% (2749/3570) Updating files: 78% (2785/3570) Updating files: 79% (2821/3570) Updating files: 80% (2856/3570) Updating files: 81% (2892/3570) Updating files: 82% (2928/3570) Updating files: 83% (2964/3570) Updating files: 84% (2999/3570) Updating files: 85% (3035/3570) Updating files: 86% (3071/3570) Updating files: 87% (3106/3570) Updating files: 88% (3142/3570) Updating files: 89% (3178/3570) Updating files: 90% (3213/3570) Updating files: 91% (3249/3570) Updating files: 92% (3285/3570) Updating files: 93% (3321/3570) Updating files: 94% (3356/3570) Updating files: 95% (3392/3570) Updating files: 96% (3428/3570) Updating files: 97% (3463/3570) Updating files: 98% (3499/3570) Updating files: 99% (3535/3570) Updating files: 100% (3570/3570) Updating files: 100% (3570/3570), done. [INFO] validating manifest of git repo https://github.com/brunoSnoww/Rust-web-dev-book on toolchain 023084804e5e8ea42877451c2b3030e7050281cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+023084804e5e8ea42877451c2b3030e7050281cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brunoSnoww/Rust-web-dev-book [INFO] finished tweaking git repo https://github.com/brunoSnoww/Rust-web-dev-book [INFO] tweaked toml for git repo https://github.com/brunoSnoww/Rust-web-dev-book written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brunoSnoww/Rust-web-dev-book 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" "+023084804e5e8ea42877451c2b3030e7050281cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking brunoSnoww/Rust-web-dev-book against try#3b6ef522ec6da5b39fa0cf004b820c15884319db for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrunoSnoww%2FRust-web-dev-book" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 42% (1528/3570) Updating files: 43% (1536/3570) Updating files: 44% (1571/3570) Updating files: 45% (1607/3570) Updating files: 46% (1643/3570) Updating files: 47% (1678/3570) Updating files: 48% (1714/3570) Updating files: 49% (1750/3570) Updating files: 50% (1785/3570) Updating files: 51% (1821/3570) Updating files: 52% (1857/3570) Updating files: 53% (1893/3570) Updating files: 54% (1928/3570) Updating files: 55% (1964/3570) Updating files: 56% (2000/3570) Updating files: 57% (2035/3570) Updating files: 58% (2071/3570) Updating files: 58% (2100/3570) Updating files: 59% (2107/3570) Updating files: 60% (2142/3570) Updating files: 61% (2178/3570) Updating files: 62% (2214/3570) Updating files: 63% (2250/3570) Updating files: 64% (2285/3570) Updating files: 65% (2321/3570) Updating files: 66% (2357/3570) Updating files: 67% (2392/3570) Updating files: 68% (2428/3570) Updating files: 69% (2464/3570) Updating files: 70% (2499/3570) Updating files: 71% (2535/3570) Updating files: 72% (2571/3570) Updating files: 73% (2607/3570) Updating files: 74% (2642/3570) Updating files: 75% (2678/3570) Updating files: 76% (2714/3570) Updating files: 77% (2749/3570) Updating files: 78% (2785/3570) Updating files: 79% (2821/3570) Updating files: 80% (2856/3570) Updating files: 81% (2892/3570) Updating files: 82% (2928/3570) Updating files: 83% (2964/3570) Updating files: 84% (2999/3570) Updating files: 85% (3035/3570) Updating files: 86% (3071/3570) Updating files: 87% (3106/3570) Updating files: 88% (3142/3570) Updating files: 89% (3178/3570) Updating files: 90% (3213/3570) Updating files: 91% (3249/3570) Updating files: 92% (3285/3570) Updating files: 93% (3321/3570) Updating files: 94% (3356/3570) Updating files: 95% (3392/3570) Updating files: 96% (3428/3570) Updating files: 97% (3463/3570) Updating files: 98% (3499/3570) Updating files: 99% (3535/3570) Updating files: 100% (3570/3570) Updating files: 100% (3570/3570), done. [INFO] validating manifest of git repo https://github.com/brunoSnoww/Rust-web-dev-book on toolchain 3b6ef522ec6da5b39fa0cf004b820c15884319db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brunoSnoww/Rust-web-dev-book [INFO] finished tweaking git repo https://github.com/brunoSnoww/Rust-web-dev-book [INFO] tweaked toml for git repo https://github.com/brunoSnoww/Rust-web-dev-book written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brunoSnoww/Rust-web-dev-book 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" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e3b0cf3c71e1022c03373b5b02faeb0d6490722d0a70027f132f23481b055d6 [INFO] running `Command { std: "docker" "start" "-a" "0e3b0cf3c71e1022c03373b5b02faeb0d6490722d0a70027f132f23481b055d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e3b0cf3c71e1022c03373b5b02faeb0d6490722d0a70027f132f23481b055d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3b0cf3c71e1022c03373b5b02faeb0d6490722d0a70027f132f23481b055d6", kill_on_drop: false }` [INFO] [stdout] 0e3b0cf3c71e1022c03373b5b02faeb0d6490722d0a70027f132f23481b055d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a038b1d1907cf9a2c4de41c36c4ab88a83ac9d24298458b157a4b617831c322 [INFO] running `Command { std: "docker" "start" "-a" "3a038b1d1907cf9a2c4de41c36c4ab88a83ac9d24298458b157a4b617831c322", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Checking rust-web-dev-book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{self, Question, QuestionId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/store.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{self, Question, QuestionId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/store.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidId` is never constructed [INFO] [stdout] --> src/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InvalidId; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidId` is never constructed [INFO] [stdout] --> src/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InvalidId; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> src/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Question { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new [`Question`]. [INFO] [stdout] 26 | pub fn new(id: QuestionId, title: String, content: String, tags: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&self) -> QuestionId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> src/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Question { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new [`Question`]. [INFO] [stdout] 26 | pub fn new(id: QuestionId, title: String, content: String, tags: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&self) -> QuestionId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Store` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, and `add_question` are never used [INFO] [stdout] --> src/store.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn init() -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_question(&mut self, question: Question) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, and `add_question` are never used [INFO] [stdout] --> src/store.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn init() -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_question(&mut self, question: Question) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{self, Question, QuestionId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/store.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/store.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{self, Question, QuestionId}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/store.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidId` is never constructed [INFO] [stdout] --> src/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InvalidId; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> src/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Question { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new [`Question`]. [INFO] [stdout] 26 | pub fn new(id: QuestionId, title: String, content: String, tags: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&self) -> QuestionId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_question` is never used [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_question(&mut self, question: Question) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidId` is never constructed [INFO] [stdout] --> src/model.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct InvalidId; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidId` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_id` are never used [INFO] [stdout] --> src/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Question { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new [`Question`]. [INFO] [stdout] 26 | pub fn new(id: QuestionId, title: String, content: String, tags: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_id(&self) -> QuestionId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_question` is never used [INFO] [stdout] --> src/store.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_question(&mut self, question: Question) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.18s [INFO] running `Command { std: "docker" "inspect" "3a038b1d1907cf9a2c4de41c36c4ab88a83ac9d24298458b157a4b617831c322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a038b1d1907cf9a2c4de41c36c4ab88a83ac9d24298458b157a4b617831c322", kill_on_drop: false }` [INFO] [stdout] 3a038b1d1907cf9a2c4de41c36c4ab88a83ac9d24298458b157a4b617831c322