[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] testing gaku101/rust-tutorial against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaku101%2Frust-tutorial" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gaku101/rust-tutorial on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0d48a2aedbeda283a84d591b67754f45dacb4828567598929400a7285735623 [INFO] running `Command { std: "docker" "start" "-a" "f0d48a2aedbeda283a84d591b67754f45dacb4828567598929400a7285735623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0d48a2aedbeda283a84d591b67754f45dacb4828567598929400a7285735623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d48a2aedbeda283a84d591b67754f45dacb4828567598929400a7285735623", kill_on_drop: false }` [INFO] [stdout] f0d48a2aedbeda283a84d591b67754f45dacb4828567598929400a7285735623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63885e3f813d64ca6406486098186b0f8cf9e141327219eadd4fc5ad2cbc6cba [INFO] running `Command { std: "docker" "start" "-a" "63885e3f813d64ca6406486098186b0f8cf9e141327219eadd4fc5ad2cbc6cba", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.7.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.3.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling my-todo v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: enum `RepositoryError` is never used [INFO] [stdout] --> src/repositories.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RepositoryError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [INFO] [stdout] warning: method `read_store_ref` is never used [INFO] [stdout] --> src/repositories.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl TodoRepositoryForMemory { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "63885e3f813d64ca6406486098186b0f8cf9e141327219eadd4fc5ad2cbc6cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63885e3f813d64ca6406486098186b0f8cf9e141327219eadd4fc5ad2cbc6cba", kill_on_drop: false }` [INFO] [stdout] 63885e3f813d64ca6406486098186b0f8cf9e141327219eadd4fc5ad2cbc6cba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb9a005aea1150369b0fcb89e203a953755fb6d75a4e2229569184bad16ad05e [INFO] running `Command { std: "docker" "start" "-a" "bb9a005aea1150369b0fcb89e203a953755fb6d75a4e2229569184bad16ad05e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] Compiling my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/repositories.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repositories.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "bb9a005aea1150369b0fcb89e203a953755fb6d75a4e2229569184bad16ad05e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9a005aea1150369b0fcb89e203a953755fb6d75a4e2229569184bad16ad05e", kill_on_drop: false }` [INFO] [stdout] bb9a005aea1150369b0fcb89e203a953755fb6d75a4e2229569184bad16ad05e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48a620e648fc8e7382819212e09e0b2105bbc3505708cb23c5eb1759c1d87618 [INFO] running `Command { std: "docker" "start" "-a" "48a620e648fc8e7382819212e09e0b2105bbc3505708cb23c5eb1759c1d87618", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.hyper.feature [INFO] [stderr] warning: unused import: `axum::response::IntoResponse` [INFO] [stderr] --> src/repositories.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | use axum::response::IntoResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/handlers.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 25 | Ok(StatusCode::OK) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/handlers.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | Path(id): Path, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repository` [INFO] [stderr] --> src/handlers.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | Extension(repository): Extension>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/handlers.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / pub async fn all_todo( [INFO] [stderr] 29 | | Extension(repository): Extension>, [INFO] [stderr] 30 | | ) -> impl IntoResponse { [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stderr] --> src/handlers.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | ) -> impl IntoResponse { [INFO] [stderr] | ________________________^ [INFO] [stderr] 31 | | todo!() [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repository` [INFO] [stderr] --> src/handlers.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | Extension(repository): Extension>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/handlers.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 40 | Ok(StatusCode::OK) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/handlers.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | Path(id): Path, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/handlers.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | Json(payload): Json, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repository` [INFO] [stderr] --> src/handlers.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | Extension(repository): Extension>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/handlers.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | Path(id): Path, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repository` [INFO] [stderr] --> src/handlers.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | Extension(repository): Extension>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repositories.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | fn write_store_ref(&self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 64 | fn write_store_ref(&self) -> RwLockWriteGuard<'_, TodoDatas> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repositories.rs:68:23 [INFO] [stderr] | [INFO] [stderr] 68 | fn read_store_ref(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | fn read_store_ref(&self) -> RwLockReadGuard<'_, TodoDatas> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `my-todo` (bin "my-todo" test) generated 14 warnings (run `cargo fix --bin "my-todo" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: my-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test repositories::test::todo_crud_scenario ... ok [INFO] [stdout] test test::should_return_hello_world ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_todo-94eabe60a6b49241) [INFO] running `Command { std: "docker" "inspect" "48a620e648fc8e7382819212e09e0b2105bbc3505708cb23c5eb1759c1d87618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a620e648fc8e7382819212e09e0b2105bbc3505708cb23c5eb1759c1d87618", kill_on_drop: false }` [INFO] [stdout] 48a620e648fc8e7382819212e09e0b2105bbc3505708cb23c5eb1759c1d87618