[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziznal%2Frust-todo-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aziznal/rust-todo-api on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40718c43800d4709aae6eeaedd4bc54d4fb09461d4bb45bdb9002f459a71970f [INFO] running `Command { std: "docker" "start" "-a" "40718c43800d4709aae6eeaedd4bc54d4fb09461d4bb45bdb9002f459a71970f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40718c43800d4709aae6eeaedd4bc54d4fb09461d4bb45bdb9002f459a71970f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40718c43800d4709aae6eeaedd4bc54d4fb09461d4bb45bdb9002f459a71970f", kill_on_drop: false }` [INFO] [stdout] 40718c43800d4709aae6eeaedd4bc54d4fb09461d4bb45bdb9002f459a71970f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37be76b8c390ea0ad7054d36d6bd962c089d1b9cf5a67500fcc6c3beaa8df31d [INFO] running `Command { std: "docker" "start" "-a" "37be76b8c390ea0ad7054d36d6bd962c089d1b9cf5a67500fcc6c3beaa8df31d", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tower-layer v0.3.2 [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 dotenv v0.15.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [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 regex v1.10.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking serde v1.0.189 [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: the item `dotenv` is imported redundantly [INFO] [stdout] --> src/env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv; [INFO] [stdout] | ^^^^^^ the item `dotenv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `envy` is imported redundantly [INFO] [stdout] --> src/env.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use envy; [INFO] [stdout] | ^^^^ the item `envy` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dotenv` is imported redundantly [INFO] [stdout] --> src/env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv; [INFO] [stdout] | ^^^^^^ the item `dotenv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `envy` is imported redundantly [INFO] [stdout] --> src/env.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use envy; [INFO] [stdout] | ^^^^ the item `envy` is already defined by prelude [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) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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, [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, [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) -> 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, [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, [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, [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, [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:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_all_todos(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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, [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, [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) -> 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, [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, [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, [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, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct CreateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTodoDto` 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 `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | struct UpdateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateTodoDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct CreateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTodoDto` 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 `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | struct UpdateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateTodoDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.13s [INFO] running `Command { std: "docker" "inspect" "37be76b8c390ea0ad7054d36d6bd962c089d1b9cf5a67500fcc6c3beaa8df31d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37be76b8c390ea0ad7054d36d6bd962c089d1b9cf5a67500fcc6c3beaa8df31d", kill_on_drop: false }` [INFO] [stdout] 37be76b8c390ea0ad7054d36d6bd962c089d1b9cf5a67500fcc6c3beaa8df31d [INFO] checking aziznal/rust-todo-api against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faziznal%2Frust-todo-api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aziznal/rust-todo-api on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ab2e66e4d0cc6d17e03782168f6225efe34869bb51c27a947ce319e6c88c466 [INFO] running `Command { std: "docker" "start" "-a" "3ab2e66e4d0cc6d17e03782168f6225efe34869bb51c27a947ce319e6c88c466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ab2e66e4d0cc6d17e03782168f6225efe34869bb51c27a947ce319e6c88c466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab2e66e4d0cc6d17e03782168f6225efe34869bb51c27a947ce319e6c88c466", kill_on_drop: false }` [INFO] [stdout] 3ab2e66e4d0cc6d17e03782168f6225efe34869bb51c27a947ce319e6c88c466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e5c806f3dceb1d52cee086f6344ded0039c408d512fa71f411ed330b550c49f [INFO] running `Command { std: "docker" "start" "-a" "7e5c806f3dceb1d52cee086f6344ded0039c408d512fa71f411ed330b550c49f", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tower-layer v0.3.2 [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 dotenv v0.15.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking 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 regex v1.10.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking serde v1.0.189 [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: the item `dotenv` is imported redundantly [INFO] [stdout] --> src/env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv; [INFO] [stdout] | ^^^^^^ the item `dotenv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `dotenv` is imported redundantly [INFO] [stdout] --> src/env.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv; [INFO] [stdout] | ^^^^^^ the item `dotenv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `envy` is imported redundantly [INFO] [stdout] --> src/env.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use envy; [INFO] [stdout] | ^^^^ the item `envy` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `envy` is imported redundantly [INFO] [stdout] --> src/env.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use envy; [INFO] [stdout] | ^^^^ the item `envy` is already defined by prelude [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) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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, [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:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn get_all_todos(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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, [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) -> 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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | State(state): State, [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, [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) -> 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, [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, [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, [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, [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:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | State(state): State, [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, [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, [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, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct CreateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTodoDto` 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 `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | struct UpdateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateTodoDto` 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 `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct CreateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTodoDto` 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 `name` is never read [INFO] [stdout] --> src/api/todo/handlers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | struct UpdateTodoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateTodoDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.35s [INFO] running `Command { std: "docker" "inspect" "7e5c806f3dceb1d52cee086f6344ded0039c408d512fa71f411ed330b550c49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5c806f3dceb1d52cee086f6344ded0039c408d512fa71f411ed330b550c49f", kill_on_drop: false }` [INFO] [stdout] 7e5c806f3dceb1d52cee086f6344ded0039c408d512fa71f411ed330b550c49f