Skip to content

Add prometheus metrics via metrics-rs (#47) #171

Add prometheus metrics via metrics-rs (#47)

Add prometheus metrics via metrics-rs (#47) #171

Triggered via push February 26, 2024 08:15
Status Success
Total duration 1m 52s
Artifacts

pipeline.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 19 warnings
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, they should be avoided as they go against expectation: src/containers/password.rs#L8
error: non-local `impl` definition, they should be avoided as they go against expectation --> src/containers/password.rs:8:38 | 8 | #[cfg_attr(feature = "pgsql", derive(diesel_derive_newtype::DieselNewType))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: move this `impl` block outside the of the current constant `_IMPL_DIESEL_NEW_TYPE_FOR_PASSWORD` = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: the derive macro `diesel_derive_newtype::DieselNewType` may come from an old version of the `diesel_derive_newtype` crate, try updating your dependency with `cargo update -p diesel_derive_newtype` = note: `-D non-local-definitions` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(non_local_definitions)]` = note: this error originates in the derive macro `diesel_derive_newtype::DieselNewType` (in Nightly builds, run with -Z macro-backtrace for more info)
Nightly clippy
Clippy had exited with the 101 exit code
Nightly clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nightly clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Nightly clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nightly tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Nightly tests: src/server/json_error.rs#L24
skipping tuple enum variant in schema.
Nightly tests: src/containers/password.rs#L8
non-local `impl` definition, they should be avoided as they go against expectation
Nightly tests: src/containers/password.rs#L8
non-local `impl` definition, they should be avoided as they go against expectation
Nightly tests
`serwus` (lib) generated 7 warnings (4 duplicates)
Nightly tests
the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
Nightly tests: src/server/json_error.rs#L24
skipping tuple enum variant in schema.
Nightly tests
1 warning emitted
Nightly tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Nightly tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/