Simplify warp doctest in order to pass with latest v0.3.6 #417
Annotations
89 warnings
nightly / wasm32-unknown-unknown
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 / wasm32-unknown-unknown
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 / wasm32-unknown-unknown
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 / wasm32-unknown-unknown
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 / wasm32-unknown-unknown
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/
|
stable / wasm32-unknown-unknown
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
|
stable / wasm32-unknown-unknown
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/
|
stable / wasm32-unknown-unknown
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/
|
stable / wasm32-unknown-unknown
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/
|
stable / wasm32-unknown-unknown
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/
|
stable / x86_64-unknown-linux-musl
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
|
stable / x86_64-unknown-linux-musl
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/
|
stable / x86_64-unknown-linux-musl
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/
|
stable / x86_64-unknown-linux-musl
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/
|
stable / x86_64-unknown-linux-musl
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/
|
stable / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L246
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L247
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L247
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L248
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-musl:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
|
stable / x86_64-unknown-linux-musl:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
|
try not to call a closure in the expression where it is declared:
src/event/format.rs#L19
warning: try not to call a closure in the expression where it is declared
--> src/event/format.rs:19:27
|
19 | .and_then(|v| $mapper(v).map_err(<$error>::custom))
| ^^^^^^^^^^
|
::: src/event/v10/format.rs:30:19
|
30 | time: extract_optional_field!(map, "time", String, E, |s: String| {
| ___________________-
31 | | DateTime::parse_from_rfc3339(&s).map(DateTime::<Utc>::from)
32 | | })?,
| |______________- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
= note: this warning originates in the macro `parse_field` which comes from the expansion of the macro `extract_optional_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
try not to call a closure in the expression where it is declared:
src/event/format.rs#L19
warning: try not to call a closure in the expression where it is declared
--> src/event/format.rs:19:27
|
19 | .and_then(|v| $mapper(v).map_err(<$error>::custom))
| ^^^^^^^^^^
|
::: src/event/v10/format.rs:26:25
|
26 | dataschema: extract_optional_field!(map, "dataschema", String, E, |s: String| {
| _________________________-
27 | | Url::parse(&s)
28 | | })?,
| |______________- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
= note: this warning originates in the macro `parse_field` which comes from the expansion of the macro `extract_optional_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
try not to call a closure in the expression where it is declared:
src/event/format.rs#L19
warning: try not to call a closure in the expression where it is declared
--> src/event/format.rs:19:27
|
19 | .and_then(|v| $mapper(v).map_err(<$error>::custom))
| ^^^^^^^^^^
|
::: src/event/v03/format.rs:30:19
|
30 | time: extract_optional_field!(map, "time", String, E, |s: String| {
| ___________________-
31 | | DateTime::parse_from_rfc3339(&s).map(DateTime::<Utc>::from)
32 | | })?,
| |______________- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
= note: this warning originates in the macro `parse_field` which comes from the expansion of the macro `extract_optional_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
try not to call a closure in the expression where it is declared:
src/event/format.rs#L19
warning: try not to call a closure in the expression where it is declared
--> src/event/format.rs:19:27
|
19 | .and_then(|v| $mapper(v).map_err(<$error>::custom))
| ^^^^^^^^^^
|
::: src/event/v03/format.rs:26:24
|
26 | schemaurl: extract_optional_field!(map, "schemaurl", String, E, |s: String| {
| ________________________-
27 | | Url::parse(&s)
28 | | })?,
| |______________- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
= note: `#[warn(clippy::redundant_closure_call)]` on by default
= note: this warning originates in the macro `parse_field` which comes from the expansion of the macro `extract_optional_field` (in Nightly builds, run with -Z macro-backtrace for more info)
|
nightly / x86_64-unknown-linux-musl
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 / x86_64-unknown-linux-musl
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 / x86_64-unknown-linux-musl
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 / x86_64-unknown-linux-musl
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 / x86_64-unknown-linux-musl
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 / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L246
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L247
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L247
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L248
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-musl:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-musl:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
|
nightly / x86_64-unknown-linux-musl:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
|
nightly / x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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 / x86_64-unknown-linux-gnu
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 / x86_64-unknown-linux-gnu
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 / x86_64-unknown-linux-gnu
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 / x86_64-unknown-linux-gnu
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 / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L246
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L247
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L247
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L248
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
nightly / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
nightly / x86_64-unknown-linux-gnu:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
|
nightly / x86_64-unknown-linux-gnu:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
|
stable / x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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/
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 1 warning
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 1 warning
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 1 warning
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L54
static `CLOUDEVENTS_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L56
static `CONTENT_TYPE` is never used
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L58
function `header_prefix` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 4 warnings
|
stable / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L246
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L247
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v03/attributes.rs#L252
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L247
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L248
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
|
stable / x86_64-unknown-linux-gnu:
src/event/v10/attributes.rs#L253
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
|
stable / x86_64-unknown-linux-gnu:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
|
stable / x86_64-unknown-linux-gnu:
src/test/fixtures/mod.rs#L48
use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 1 warning
|
stable / x86_64-unknown-linux-gnu:
src/binding/mod.rs#L55
static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used
|
stable / x86_64-unknown-linux-gnu
`cloudevents-sdk` (lib) generated 1 warning
|
stable / x86_64-unknown-linux-gnu
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/
|
stable / x86_64-unknown-linux-gnu
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/
|
stable / x86_64-unknown-linux-gnu
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/
|
stable / x86_64-unknown-linux-gnu
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/
|