[INFO] fetching crate rust-saas-boilerplate 0.1.0... [INFO] testing rust-saas-boilerplate-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rust-saas-boilerplate 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rust-saas-boilerplate 0.1.0 [INFO] finished tweaking crates.io crate rust-saas-boilerplate 0.1.0 [INFO] tweaked toml for crates.io crate rust-saas-boilerplate 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-saas-boilerplate 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-saas-boilerplate 0.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust2 v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67dea33aed28a24b82c8658bfa7cb3f50908a247d8cd5300c304204febe1ca1f [INFO] running `Command { std: "docker" "start" "-a" "67dea33aed28a24b82c8658bfa7cb3f50908a247d8cd5300c304204febe1ca1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67dea33aed28a24b82c8658bfa7cb3f50908a247d8cd5300c304204febe1ca1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67dea33aed28a24b82c8658bfa7cb3f50908a247d8cd5300c304204febe1ca1f", kill_on_drop: false }` [INFO] [stdout] 67dea33aed28a24b82c8658bfa7cb3f50908a247d8cd5300c304204febe1ca1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a555bf906e3f8e9725399ce9b60d8163c0878b85968ecd86fd1453f28a2f2c0 [INFO] running `Command { std: "docker" "start" "-a" "1a555bf906e3f8e9725399ce9b60d8163c0878b85968ecd86fd1453f28a2f2c0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ron v0.12.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling config v0.15.19 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling rust-saas-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "1a555bf906e3f8e9725399ce9b60d8163c0878b85968ecd86fd1453f28a2f2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a555bf906e3f8e9725399ce9b60d8163c0878b85968ecd86fd1453f28a2f2c0", kill_on_drop: false }` [INFO] [stdout] 1a555bf906e3f8e9725399ce9b60d8163c0878b85968ecd86fd1453f28a2f2c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7f672d0e1bb0039c5609e8ce3d106a1858a87e08067138b752267f94b4e119 [INFO] running `Command { std: "docker" "start" "-a" "6b7f672d0e1bb0039c5609e8ce3d106a1858a87e08067138b752267f94b4e119", kill_on_drop: false }` [INFO] [stderr] Compiling rust-saas-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "6b7f672d0e1bb0039c5609e8ce3d106a1858a87e08067138b752267f94b4e119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7f672d0e1bb0039c5609e8ce3d106a1858a87e08067138b752267f94b4e119", kill_on_drop: false }` [INFO] [stdout] 6b7f672d0e1bb0039c5609e8ce3d106a1858a87e08067138b752267f94b4e119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00acbd8bc3a2aba4c4e05d6896334f37d56ecb0dde3ce1ef19b8d8b573d4aa50 [INFO] running `Command { std: "docker" "start" "-a" "00acbd8bc3a2aba4c4e05d6896334f37d56ecb0dde3ce1ef19b8d8b573d4aa50", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_saas_boilerplate-60060885cb9f26e4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_saas_boilerplate-4e147960649afe03) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_saas_boilerplate [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - init_logging (line 57) - compile ... ok [INFO] [stdout] test src/lib.rs - create_app (line 86) - compile ... ok [INFO] [stdout] test src/error.rs - error::AppError (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/error.rs - error::AppError (line 16) stdout ---- [INFO] [stdout] error[E0428]: the name `handler` is defined multiple times [INFO] [stdout] --> src/error.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn handler() -> AppError { [INFO] [stdout] | ---------------------------------- previous definition of the value `handler` here [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn handler() -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `handler` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `handler` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `handler` is defined multiple times [INFO] [stdout] --> src/error.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn handler() -> AppError { [INFO] [stdout] | ---------------------------------- previous definition of the value `handler` here [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn handler() -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `handler` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `handler` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AppError` in this scope [INFO] [stdout] --> src/error.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn handler() -> AppError { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 16 + use rust_saas_boilerplate::AppError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppError` in this scope [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | AppError::NotFound("User not found".to_string()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AppError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 16 + use rust_saas_boilerplate::AppError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AppResult` in this scope [INFO] [stdout] --> src/error.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn handler() -> AppResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:557:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 - pub async fn handler() -> AppResult { [INFO] [stdout] 23 + pub async fn handler() -> Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use rust_saas_boilerplate::AppResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AppResult` in this scope [INFO] [stdout] --> src/error.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn handler() -> AppResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:557:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 - pub async fn handler() -> AppResult { [INFO] [stdout] 29 + pub async fn handler() -> Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 16 + use rust_saas_boilerplate::AppResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppError` in this scope [INFO] [stdout] --> src/error.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | let value: String = some_anyhow_operation().map_err(AppError::from)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AppError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 16 + use rust_saas_boilerplate::AppError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_operation` in this scope [INFO] [stdout] --> src/error.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | let result: Result = some_operation()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `some_anyhow_operation` in this scope [INFO] [stdout] --> src/error.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let value: String = some_anyhow_operation().map_err(AppError::from)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/error.rs - error::AppError (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "00acbd8bc3a2aba4c4e05d6896334f37d56ecb0dde3ce1ef19b8d8b573d4aa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00acbd8bc3a2aba4c4e05d6896334f37d56ecb0dde3ce1ef19b8d8b573d4aa50", kill_on_drop: false }` [INFO] [stdout] 00acbd8bc3a2aba4c4e05d6896334f37d56ecb0dde3ce1ef19b8d8b573d4aa50