[INFO] cloning repository https://github.com/aziznal/rust-todo-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aziznal/rust-todo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziznal%2Frust-todo-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziznal%2Frust-todo-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edafa91a8d53413e8e10186141f5a272b3d08fbb
[INFO] checking aziznal/rust-todo-api against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziznal%2Frust-todo-api" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aziznal/rust-todo-api
[INFO] finished tweaking git repo https://github.com/aziznal/rust-todo-api
[INFO] tweaked toml for git repo https://github.com/aziznal/rust-todo-api written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aziznal/rust-todo-api on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aziznal/rust-todo-api 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" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f407d52ecaa174a10dc9808e2a13ff81655c9468127d1a6d10a7b705ea1c8d20
[INFO] running `Command { std: "docker" "start" "-a" "f407d52ecaa174a10dc9808e2a13ff81655c9468127d1a6d10a7b705ea1c8d20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f407d52ecaa174a10dc9808e2a13ff81655c9468127d1a6d10a7b705ea1c8d20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f407d52ecaa174a10dc9808e2a13ff81655c9468127d1a6d10a7b705ea1c8d20", kill_on_drop: false }`
[INFO] [stdout] f407d52ecaa174a10dc9808e2a13ff81655c9468127d1a6d10a7b705ea1c8d20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44cb19f4b4413ed9a6364f152862bfeb68cb2a69c7cc0c32f76495fc467d19f6
[INFO] running `Command { std: "docker" "start" "-a" "44cb19f4b4413ed9a6364f152862bfeb68cb2a69c7cc0c32f76495fc467d19f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling regex-syntax v0.8.1
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling regex-automata v0.4.1
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking regex v1.10.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking tokio-util v0.7.9
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking serde_path_to_error v0.1.14
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking rust-todo-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn get_all_todos(State(state): State<Context>) -> impl IntoResponse {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn create_todo(State(state): State<Context>) -> impl IntoResponse {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TodoResponse` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct TodoResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateTodoDto` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct CreateTodoDto {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateTodoDto` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct UpdateTodoDto {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn get_all_todos(State(state): State<Context>) -> impl IntoResponse {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn create_todo(State(state): State<Context>) -> impl IntoResponse {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/api/todo/handlers.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |     State(state): State<Context>,
[INFO] [stdout]    |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `todo_id`
[INFO] [stdout]   --> src/api/todo/handlers.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     Path(todo_id): Path<String>,
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Environment` is never constructed
[INFO] [stdout]  --> src/env.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Environment {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_env` is never used
[INFO] [stdout]   --> src/env.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn load_env() -> Environment {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TodoResponse` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct TodoResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateTodoDto` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct CreateTodoDto {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateTodoDto` is never constructed
[INFO] [stdout]   --> src/api/todo/handlers.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct UpdateTodoDto {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.25s
[INFO] running `Command { std: "docker" "inspect" "44cb19f4b4413ed9a6364f152862bfeb68cb2a69c7cc0c32f76495fc467d19f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44cb19f4b4413ed9a6364f152862bfeb68cb2a69c7cc0c32f76495fc467d19f6", kill_on_drop: false }`
[INFO] [stdout] 44cb19f4b4413ed9a6364f152862bfeb68cb2a69c7cc0c32f76495fc467d19f6
