[INFO] cloning repository https://github.com/Ansh1902396/invoice-manager-api-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ansh1902396/invoice-manager-api-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnsh1902396%2Finvoice-manager-api-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnsh1902396%2Finvoice-manager-api-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f70fc05e1f25cc4cfcf5479606e0e1281876daa8 [INFO] checking Ansh1902396/invoice-manager-api-rust against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnsh1902396%2Finvoice-manager-api-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ansh1902396/invoice-manager-api-rust [INFO] finished tweaking git repo https://github.com/Ansh1902396/invoice-manager-api-rust [INFO] tweaked toml for git repo https://github.com/Ansh1902396/invoice-manager-api-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ansh1902396/invoice-manager-api-rust on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ansh1902396/invoice-manager-api-rust 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `http-body-util` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | http-body-util = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `http-body-util` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b [INFO] running `Command { std: "docker" "start" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `http-body-util` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | http-body-util = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `http-body-util` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking mock-psp v0.1.0 (/opt/rustwide/workdir/crates/mock-psp) [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking invoice-service v0.1.0 (/opt/rustwide/workdir/crates/invoice-service) [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/invoices.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 149 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 149 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 149 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 149 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/pay.rs:172:45 [INFO] [stdout] | [INFO] [stdout] 172 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 172 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 172 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 172 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 172 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/pay.rs:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 203 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 203 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 203 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 203 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/invoices.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 149 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 149 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 149 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 149 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/pay.rs:172:45 [INFO] [stdout] | [INFO] [stdout] 172 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 172 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 172 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 172 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 172 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `anyhow::Error` [INFO] [stdout] --> crates/invoice-service/src/routes/pay.rs:203:45 [INFO] [stdout] | [INFO] [stdout] 203 | .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 203 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 203 + .map_err(|e| AppError::Internal(e))?; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 203 - .map_err(|e| AppError::Internal(e.into()))?; [INFO] [stdout] 203 + .map_err(|e| AppError::Internal(>::into(e)))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `invoice-service` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `invoice-service` (lib) due to 3 previous errors [INFO] [stderr] warning: unused dependency `tower-http` [INFO] [stderr] --> crates/mock-psp/Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tower-http.workspace = true [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tower-http` [INFO] [stderr] warning: `mock-psp` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b", kill_on_drop: false }` [INFO] [stdout] fcf0b9b8f1186782da445a6565a940e7e011e609590109928c03b8f8319f521b