[INFO] cloning repository https://github.com/nikutto/modern-be-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikutto/modern-be-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikutto%2Fmodern-be-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikutto%2Fmodern-be-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9041d25dda801943485b31f5a0a2d9b70ef54722 [INFO] checking nikutto/modern-be-2024 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikutto%2Fmodern-be-2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nikutto/modern-be-2024 [INFO] finished tweaking git repo https://github.com/nikutto/modern-be-2024 [INFO] tweaked toml for git repo https://github.com/nikutto/modern-be-2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nikutto/modern-be-2024 on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nikutto/modern-be-2024 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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f2409159e274a9780b501a8333595e596976e45fa81409747d5092a96f3ab5 [INFO] running `Command { std: "docker" "start" "-a" "72f2409159e274a9780b501a8333595e596976e45fa81409747d5092a96f3ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f2409159e274a9780b501a8333595e596976e45fa81409747d5092a96f3ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f2409159e274a9780b501a8333595e596976e45fa81409747d5092a96f3ab5", kill_on_drop: false }` [INFO] [stdout] 72f2409159e274a9780b501a8333595e596976e45fa81409747d5092a96f3ab5 [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" "-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" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c5d0d7e40c0b3c9c1e98b911ee3c9b1b6a342e679338518c674a7d9b9b3a70d [INFO] running `Command { std: "docker" "start" "-a" "7c5d0d7e40c0b3c9c1e98b911ee3c9b1b6a342e679338518c674a7d9b9b3a70d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cc v1.1.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling opensearch v2.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libz-sys v1.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rdkafka-sys v4.7.0+2.3.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.207 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking my-app-domain v0.1.0 (/opt/rustwide/workdir/my-app-domain) [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rdkafka v0.36.2 [INFO] [stderr] Checking my-app-api v0.1.0 (/opt/rustwide/workdir/my-app-api) [INFO] [stderr] Checking my-app-consumer v0.1.0 (/opt/rustwide/workdir/my-app-consumer) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> my-app-api/src/service/hello_service.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn search_hello(client: &opensearch::OpenSearch, pool: &mysql::Pool, query: &String) -> anyhow::Result> { [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 `for<'de> !: hello_handler::_::_serde::Deserialize<'de>` will fail [INFO] [stdout] --> my-app-api/src/service/hello_service.rs:62:69 [INFO] [stdout] | [INFO] [stdout] 62 | Err(anyhow::anyhow!("Failed to search data. {:?}", response.json().await?)) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 62 | Err(anyhow::anyhow!("Failed to search data. {:?}", response.json::<()>().await?)) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> my-app-api/src/service/hello_service.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn search_hello(client: &opensearch::OpenSearch, pool: &mysql::Pool, query: &String) -> anyhow::Result> { [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 `for<'de> !: hello_handler::_::_serde::Deserialize<'de>` will fail [INFO] [stdout] --> my-app-api/src/service/hello_service.rs:62:69 [INFO] [stdout] | [INFO] [stdout] 62 | Err(anyhow::anyhow!("Failed to search data. {:?}", response.json().await?)) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 62 | Err(anyhow::anyhow!("Failed to search data. {:?}", response.json::<()>().await?)) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-app-api` (bin "my-app-api" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my-app-api` (bin "my-app-api") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7c5d0d7e40c0b3c9c1e98b911ee3c9b1b6a342e679338518c674a7d9b9b3a70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5d0d7e40c0b3c9c1e98b911ee3c9b1b6a342e679338518c674a7d9b9b3a70d", kill_on_drop: false }` [INFO] [stdout] 7c5d0d7e40c0b3c9c1e98b911ee3c9b1b6a342e679338518c674a7d9b9b3a70d