[INFO] cloning repository https://github.com/gaku101/rust-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gaku101/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 803451cc74207e37e84e791d609115e3b076ad87 [INFO] checking gaku101/rust-tutorial/803451cc74207e37e84e791d609115e3b076ad87 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gaku101/rust-tutorial on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gaku101/rust-tutorial [INFO] finished tweaking git repo https://github.com/gaku101/rust-tutorial [INFO] tweaked toml for git repo https://github.com/gaku101/rust-tutorial written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gaku101/rust-tutorial 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf4e0d207abf0c025cb60561a54ae79ad216989fad7659734364682ea26e4f08 [INFO] running `Command { std: "docker" "start" "-a" "cf4e0d207abf0c025cb60561a54ae79ad216989fad7659734364682ea26e4f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf4e0d207abf0c025cb60561a54ae79ad216989fad7659734364682ea26e4f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4e0d207abf0c025cb60561a54ae79ad216989fad7659734364682ea26e4f08", kill_on_drop: false }` [INFO] [stdout] cf4e0d207abf0c025cb60561a54ae79ad216989fad7659734364682ea26e4f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d29d77b14788940de177a94a95e1e2f0cfec3d880aac02bed78fb2c43157884 [INFO] running `Command { std: "docker" "start" "-a" "0d29d77b14788940de177a94a95e1e2f0cfec3d880aac02bed78fb2c43157884", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking my-todo v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub async fn all_todo( [INFO] [stdout] 29 | | Extension(repository): Extension>, [INFO] [stdout] 30 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find`, `all`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait TodoRepository: Clone + std::marker::Send + std::marker::Sync + 'static { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 16 | fn create(&self, payload: CreateTodo) -> Todo; [INFO] [stdout] 17 | fn find(&self, id: i32) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn all(&self) -> Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | fn update(&self, id: i32, payload: UpdateTodo) -> anyhow::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn delete(&self, id: i32) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/repositories.rs (1 fix) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/handlers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub async fn all_todo( [INFO] [stdout] 29 | | Extension(repository): Extension>, [INFO] [stdout] 30 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Checking my-todo v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 25 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: IntoResponse` is not satisfied [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ the trait `IntoResponse` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoResponse`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] () [INFO] [stdout] (HeaderMap, T) [INFO] [stdout] (Headers, T) [INFO] [stdout] (StatusCode, HeaderMap, T) [INFO] [stdout] (StatusCode, Headers, T) [INFO] [stdout] (StatusCode, T) [INFO] [stdout] and 51 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: IntoResponse` is not satisfied [INFO] [stdout] --> src/handlers.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | todo!() [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ the trait `IntoResponse` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoResponse`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] () [INFO] [stdout] (HeaderMap, T) [INFO] [stdout] (Headers, T) [INFO] [stdout] (StatusCode, HeaderMap, T) [INFO] [stdout] (StatusCode, Headers, T) [INFO] [stdout] (StatusCode, T) [INFO] [stdout] and 51 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: IntoResponse` is not satisfied [INFO] [stdout] --> src/handlers.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `IntoResponse` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoResponse`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] () [INFO] [stdout] (HeaderMap, T) [INFO] [stdout] (Headers, T) [INFO] [stdout] (StatusCode, HeaderMap, T) [INFO] [stdout] (StatusCode, Headers, T) [INFO] [stdout] (StatusCode, T) [INFO] [stdout] and 51 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: IntoResponse` is not satisfied [INFO] [stdout] --> src/handlers.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `IntoResponse` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `IntoResponse`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] () [INFO] [stdout] (HeaderMap, T) [INFO] [stdout] (Headers, T) [INFO] [stdout] (StatusCode, HeaderMap, T) [INFO] [stdout] (StatusCode, Headers, T) [INFO] [stdout] (StatusCode, T) [INFO] [stdout] and 51 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/handlers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/handlers.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Path(id): Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | Extension(repository): Extension>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-todo` (bin "my-todo") due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-todo` (bin "my-todo" test) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0d29d77b14788940de177a94a95e1e2f0cfec3d880aac02bed78fb2c43157884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d29d77b14788940de177a94a95e1e2f0cfec3d880aac02bed78fb2c43157884", kill_on_drop: false }` [INFO] [stdout] 0d29d77b14788940de177a94a95e1e2f0cfec3d880aac02bed78fb2c43157884