[INFO] cloning repository https://github.com/amsatrio/axum-crud-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amsatrio/axum-crud-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famsatrio%2Faxum-crud-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famsatrio%2Faxum-crud-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 928102d5d68637ecbd352a3fa5da843327704ca8 [INFO] checking amsatrio/axum-crud-demo against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famsatrio%2Faxum-crud-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amsatrio/axum-crud-demo [INFO] finished tweaking git repo https://github.com/amsatrio/axum-crud-demo [INFO] tweaked toml for git repo https://github.com/amsatrio/axum-crud-demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amsatrio/axum-crud-demo on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amsatrio/axum-crud-demo 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b [INFO] running `Command { std: "docker" "start" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b", 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" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b", 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" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking term v1.1.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking compression-codecs v0.4.29 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking async-compression v0.4.29 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking slog-term v2.9.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking bb8 v0.9.0 [INFO] [stderr] Checking slog-stdlog v4.1.1 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking redis v1.2.2 [INFO] [stderr] Checking axum-crud-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 48 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 48 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 48 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 48 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | return Err(AppError::Other(format!("get connection failed {error}")).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] 89 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 89 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 89 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 89 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 128 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 128 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 128 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 128 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return Err(AppError::InvalidRequest(error).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] 165 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 165 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 165 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 165 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | return Err(AppError::Other(format!("get connection failed {error}")).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] 177 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 177 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 177 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 177 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | return Err(AppError::Other(format!("save data failed")).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] 210 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 210 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 210 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 210 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | return Err(AppError::InvalidRequest(error).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] 227 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 227 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 227 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 227 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | return Err(AppError::Other(format!("get connection failed {error}")).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] 239 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 239 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 239 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 239 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | return Err(AppError::Other(format!("save data failed")).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] 274 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 274 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 274 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 274 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | return Err(AppError::InvalidRequest(err).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] 292 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 292 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 292 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 292 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | return Err(AppError::InvalidRequest(err).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] 295 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 295 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 295 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 295 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | return Err(AppError::InvalidRequest(err).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] 298 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 298 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 298 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 298 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | return Err(AppError::Other(format!("get connection failed {error}")).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] 329 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 329 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 329 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 329 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | return Err(AppError::Other(format!("get connection failed {error}")).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] 415 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 415 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 415 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 415 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:501:24 [INFO] [stdout] | [INFO] [stdout] 501 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 501 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 501 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 501 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 501 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:524:28 [INFO] [stdout] | [INFO] [stdout] 524 | return Err(AppError::Other(format!("failed to read file")).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] 524 - return Err(AppError::Other(format!("failed to read file")).into()); [INFO] [stdout] 524 + return Err(AppError::Other(format!("failed to read file"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 524 - return Err(AppError::Other(format!("failed to read file")).into()); [INFO] [stdout] 524 + return Err(>::into(AppError::Other(format!("failed to read file")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | return Err(AppError::Other(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 41 | | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 42 | | )) [INFO] [stdout] 43 | | .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] 42 - )) [INFO] [stdout] 43 - .into()); [INFO] [stdout] 42 + ))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 40 ~ return Err(>::into(AppError::Other(format!( [INFO] [stdout] 41 | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 42 ~ )))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | return Err(AppError::Other(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 86 | | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 87 | | )) [INFO] [stdout] 88 | | .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] 87 - )) [INFO] [stdout] 88 - .into()); [INFO] [stdout] 87 + ))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 85 ~ return Err(>::into(AppError::Other(format!( [INFO] [stdout] 86 | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 87 ~ )))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(AppError::InvalidRequest(error).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] 125 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 125 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 125 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | return Err(AppError::Other(format!("get connection failed {error}")).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] 137 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 137 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 137 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 137 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | return Err(AppError::Other(format!("save data failed")).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] 170 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 170 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 170 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 170 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | return Err(AppError::InvalidRequest(error).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] 187 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 187 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 187 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 187 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | return Err(AppError::Other(format!("get connection failed {error}")).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] 199 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 199 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 199 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 199 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | return Err(AppError::Other(format!("save data failed")).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] 235 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 235 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 235 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 235 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | return Err(AppError::InvalidRequest(err).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] 253 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 253 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 253 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 253 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | return Err(AppError::InvalidRequest(err).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] 256 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 256 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 256 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 256 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | return Err(AppError::InvalidRequest(err).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] 259 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 259 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 259 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 259 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | return Err(AppError::Other(format!("get connection failed {error}")).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] 290 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 290 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 290 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 290 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-crud-demo` (lib test) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 48 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 48 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 48 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 48 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | return Err(AppError::Other(format!("get connection failed {error}")).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] 89 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 89 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 89 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 89 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 128 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 128 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 128 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 128 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return Err(AppError::InvalidRequest(error).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] 165 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 165 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 165 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 165 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | return Err(AppError::Other(format!("get connection failed {error}")).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] 177 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 177 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 177 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 177 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:210:24 [INFO] [stdout] | [INFO] [stdout] 210 | return Err(AppError::Other(format!("save data failed")).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] 210 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 210 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 210 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 210 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | return Err(AppError::InvalidRequest(error).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] 227 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 227 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 227 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 227 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | return Err(AppError::Other(format!("get connection failed {error}")).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] 239 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 239 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 239 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 239 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | return Err(AppError::Other(format!("save data failed")).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] 274 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 274 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 274 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 274 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | return Err(AppError::InvalidRequest(err).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] 292 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 292 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 292 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 292 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | return Err(AppError::InvalidRequest(err).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] 295 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 295 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 295 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 295 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | return Err(AppError::InvalidRequest(err).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] 298 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 298 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 298 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 298 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | return Err(AppError::Other(format!("get connection failed {error}")).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] 329 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 329 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 329 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 329 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | return Err(AppError::Other(format!("get connection failed {error}")).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] 415 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 415 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 415 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 415 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:501:24 [INFO] [stdout] | [INFO] [stdout] 501 | return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).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] 501 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 501 + return Err(AppError::Other(format!("get connection failed {error}, id: {id}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 501 - return Err(AppError::Other(format!("get connection failed {error}, id: {id}")).into()); [INFO] [stdout] 501 + return Err(>::into(AppError::Other(format!("get connection failed {error}, id: {id}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/m_file/controller.rs:524:28 [INFO] [stdout] | [INFO] [stdout] 524 | return Err(AppError::Other(format!("failed to read file")).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] 524 - return Err(AppError::Other(format!("failed to read file")).into()); [INFO] [stdout] 524 + return Err(AppError::Other(format!("failed to read file"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 524 - return Err(AppError::Other(format!("failed to read file")).into()); [INFO] [stdout] 524 + return Err(>::into(AppError::Other(format!("failed to read file")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | return Err(AppError::Other(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 41 | | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 42 | | )) [INFO] [stdout] 43 | | .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] 42 - )) [INFO] [stdout] 43 - .into()); [INFO] [stdout] 42 + ))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 40 ~ return Err(>::into(AppError::Other(format!( [INFO] [stdout] 41 | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 42 ~ )))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | return Err(AppError::Other(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 86 | | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 87 | | )) [INFO] [stdout] 88 | | .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] 87 - )) [INFO] [stdout] 88 - .into()); [INFO] [stdout] 87 + ))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 85 ~ return Err(>::into(AppError::Other(format!( [INFO] [stdout] 86 | "get connection failed {error}, id: {biodata_id}" [INFO] [stdout] 87 ~ )))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(AppError::InvalidRequest(error).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] 125 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 125 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 125 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | return Err(AppError::Other(format!("get connection failed {error}")).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] 137 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 137 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 137 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 137 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | return Err(AppError::Other(format!("save data failed")).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] 170 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 170 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 170 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 170 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | return Err(AppError::InvalidRequest(error).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] 187 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 187 + return Err(AppError::InvalidRequest(error)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 187 - return Err(AppError::InvalidRequest(error).into()); [INFO] [stdout] 187 + return Err(>::into(AppError::InvalidRequest(error))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | return Err(AppError::Other(format!("get connection failed {error}")).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] 199 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 199 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 199 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 199 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | return Err(AppError::Other(format!("save data failed")).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] 235 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 235 + return Err(AppError::Other(format!("save data failed"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 235 - return Err(AppError::Other(format!("save data failed")).into()); [INFO] [stdout] 235 + return Err(>::into(AppError::Other(format!("save data failed")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | return Err(AppError::InvalidRequest(err).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] 253 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 253 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 253 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 253 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | return Err(AppError::InvalidRequest(err).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] 256 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 256 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 256 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 256 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | return Err(AppError::InvalidRequest(err).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] 259 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 259 + return Err(AppError::InvalidRequest(err)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 259 - return Err(AppError::InvalidRequest(err).into()); [INFO] [stdout] 259 + return Err(>::into(AppError::InvalidRequest(err))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `AppError` [INFO] [stdout] --> src/module/hospital/m_biodata/controller.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 290 | return Err(AppError::Other(format!("get connection failed {error}")).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] 290 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 290 + return Err(AppError::Other(format!("get connection failed {error}"))); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 290 - return Err(AppError::Other(format!("get connection failed {error}")).into()); [INFO] [stdout] 290 + return Err(>::into(AppError::Other(format!("get connection failed {error}")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-crud-demo` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b", kill_on_drop: false }` [INFO] [stdout] 20e23e44c5e07e23850eb5ab4cf5e6012364ff1c9bfef014b41807e5c329453b