[INFO] cloning repository https://github.com/Daichi0914/practice_todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daichi0914/practice_todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66ca72098a4571aa9554e82a85601fb3c819c8a3 [INFO] checking Daichi0914/practice_todo/66ca72098a4571aa9554e82a85601fb3c819c8a3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaichi0914%2Fpractice_todo" "/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/Daichi0914/practice_todo on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Daichi0914/practice_todo [INFO] finished tweaking git repo https://github.com/Daichi0914/practice_todo [INFO] tweaked toml for git repo https://github.com/Daichi0914/practice_todo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Daichi0914/practice_todo 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.45 [INFO] [stderr] Downloaded thiserror v1.0.45 [INFO] [stderr] Downloaded anyhow v1.0.73 [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] febcfde98df180a0123aebf727a8b6fc75bdbfb21e1102aaac34d0a86a0b812c [INFO] running `Command { std: "docker" "start" "-a" "febcfde98df180a0123aebf727a8b6fc75bdbfb21e1102aaac34d0a86a0b812c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "febcfde98df180a0123aebf727a8b6fc75bdbfb21e1102aaac34d0a86a0b812c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "febcfde98df180a0123aebf727a8b6fc75bdbfb21e1102aaac34d0a86a0b812c", kill_on_drop: false }` [INFO] [stdout] febcfde98df180a0123aebf727a8b6fc75bdbfb21e1102aaac34d0a86a0b812c [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f74e8cbfcd78e9e56aa7a7a66333124ef213870873a0b6d9e6bf3e4a0051d3 [INFO] running `Command { std: "docker" "start" "-a" "31f74e8cbfcd78e9e56aa7a7a66333124ef213870873a0b6d9e6bf3e4a0051d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.45 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.73 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.45 [INFO] [stderr] Checking tokio v1.31.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/routes/todo_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::post` [INFO] [stdout] --> src/routes/todo_routes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::routing::post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::todo_handlers` [INFO] [stdout] --> src/routes/todo_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handlers::todo_handlers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::todo_handlers` [INFO] [stdout] --> src/routes/todo_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handlers::todo_handlers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_todo` is never used [INFO] [stdout] --> src/handlers/todo_handlers.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn create_todo(payload: CreateTodo, repository: Extension>) -> Todo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> src/models/todo_models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TodoStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | Undone, [INFO] [stdout] 8 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Done [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create` and `read` are never used [INFO] [stdout] --> src/models/todo_models.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait TodoRepository { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 38 | fn create(&self, payload: CreateTodo) -> Todo; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | fn read(&self, id: u32) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/todo_models.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 50 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> src/models/todo_models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum TodoStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | Undone, [INFO] [stdout] 8 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Done [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.71s [INFO] running `Command { std: "docker" "inspect" "31f74e8cbfcd78e9e56aa7a7a66333124ef213870873a0b6d9e6bf3e4a0051d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f74e8cbfcd78e9e56aa7a7a66333124ef213870873a0b6d9e6bf3e4a0051d3", kill_on_drop: false }` [INFO] [stdout] 31f74e8cbfcd78e9e56aa7a7a66333124ef213870873a0b6d9e6bf3e4a0051d3