[INFO] cloning repository https://github.com/Kochiyama/tdd-menu-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kochiyama/tdd-menu-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKochiyama%2Ftdd-menu-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKochiyama%2Ftdd-menu-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c29b7e83bdd7fa8de451271c02feb33a368f849 [INFO] checking Kochiyama/tdd-menu-api/8c29b7e83bdd7fa8de451271c02feb33a368f849 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKochiyama%2Ftdd-menu-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kochiyama/tdd-menu-api on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kochiyama/tdd-menu-api [INFO] finished tweaking git repo https://github.com/Kochiyama/tdd-menu-api [INFO] tweaked toml for git repo https://github.com/Kochiyama/tdd-menu-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kochiyama/tdd-menu-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ddf3ffc3e0492864a2e922910d46599a971c702697188b3cad1ccd602640e9 [INFO] running `Command { std: "docker" "start" "-a" "18ddf3ffc3e0492864a2e922910d46599a971c702697188b3cad1ccd602640e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ddf3ffc3e0492864a2e922910d46599a971c702697188b3cad1ccd602640e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ddf3ffc3e0492864a2e922910d46599a971c702697188b3cad1ccd602640e9", kill_on_drop: false }` [INFO] [stdout] 18ddf3ffc3e0492864a2e922910d46599a971c702697188b3cad1ccd602640e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13865f5033f9634de485c1bdd084513a4c2fbe7080a5f4557d31bfbf2c208c46 [INFO] running `Command { std: "docker" "start" "-a" "13865f5033f9634de485c1bdd084513a4c2fbe7080a5f4557d31bfbf2c208c46", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.8.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking tdd_menu_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/infra/database/banners_repository.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn create_banner(&self, file_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/business/models/banner.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Banner { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(uuid: String, filename: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/use_cases/add_banner_use_case.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> AddBannerUseCase<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 11 | fn new(add_banner_repository: &'a dyn AddBannerRepository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/presentation/controllers/add_banner_controller.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> AddBannerController<'a> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 16 | fn new(add_banner: &'a dyn AddBanner) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> src/presentation/protocols/controller.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Controller { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 6 | fn handle(&self, request: HttpRequest) -> HttpResponse; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query` and `params` are never read [INFO] [stdout] --> src/presentation/protocols/http.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 3 | pub body: B, [INFO] [stdout] 4 | pub query: Q, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub params: P, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/presentation/protocols/http.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl HttpRequest { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(body: B, query: Q, params: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `internal_error` is never used [INFO] [stdout] --> src/presentation/protocols/http.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HttpResponse { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn internal_error<'a>(message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/presentation/protocols/http.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn success(body: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | body: Ok(body), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tdd_menu_api` (bin "tdd_menu_api") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "13865f5033f9634de485c1bdd084513a4c2fbe7080a5f4557d31bfbf2c208c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13865f5033f9634de485c1bdd084513a4c2fbe7080a5f4557d31bfbf2c208c46", kill_on_drop: false }` [INFO] [stdout] 13865f5033f9634de485c1bdd084513a4c2fbe7080a5f4557d31bfbf2c208c46