Skip to content

Explain why len and is_empty can be None in Body #793

Explain why len and is_empty can be None in Body

Explain why len and is_empty can be None in Body #793

Triggered via pull request February 5, 2025 16:54
Status Success
Total duration 1m 30s
Artifacts

ci.yaml

on: pull_request
Checking fmt, clippy, and docs
33s
Checking fmt, clippy, and docs
Check wasm targets
28s
Check wasm targets
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

120 warnings
Check wasm targets
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/
Check wasm targets
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/
Check wasm targets
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/
Check wasm targets
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/
Checking fmt, clippy, and docs
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/
Checking fmt, clippy, and docs
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/
Checking fmt, clippy, and docs
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/
Checking fmt, clippy, and docs
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/
Build and test (ubuntu-latest, nightly)
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/
Build and test (ubuntu-latest, nightly)
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/
Build and test (ubuntu-latest, nightly)
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/
Build and test (ubuntu-latest, nightly)
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/
Build and test (ubuntu-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, nightly): src/body.rs#L581
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (ubuntu-latest, nightly): src/body.rs#L605
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (ubuntu-latest, nightly): src/request.rs#L908
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (ubuntu-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (macOS-latest, nightly)
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/
Build and test (macOS-latest, nightly)
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/
Build and test (macOS-latest, nightly)
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/
Build and test (macOS-latest, nightly)
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/
Build and test (macOS-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (macOS-latest, nightly): src/body.rs#L581
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, nightly): src/body.rs#L605
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, nightly): src/request.rs#L908
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (macOS-latest, nightly): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, nightly): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, nightly)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, nightly)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, stable)
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/
Build and test (ubuntu-latest, stable)
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/
Build and test (ubuntu-latest, stable)
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/
Build and test (ubuntu-latest, stable)
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/
Build and test (ubuntu-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, stable)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, stable)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (ubuntu-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (ubuntu-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (ubuntu-latest, stable)
`http-types` (test "mime") generated 1 warning
Build and test (ubuntu-latest, stable): src/body.rs#L581
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (ubuntu-latest, stable): src/body.rs#L605
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (ubuntu-latest, stable): src/request.rs#L908
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, stable)
`http-types` (test "mime") generated 1 warning
Build and test (macOS-latest, stable): src/body.rs#L581
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, stable): src/body.rs#L605
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, stable): src/request.rs#L908
unknown lint: `rustdoc::missing_doc_code_examples`
Build and test (macOS-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, stable)
`http-types` (test "mime") generated 1 warning
Build and test (macOS-latest, stable)
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/
Build and test (macOS-latest, stable)
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/
Build and test (macOS-latest, stable)
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/
Build and test (macOS-latest, stable)
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/
Build and test (macOS-latest, stable): src/lib.rs#L99
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L110
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/error.rs#L120
unexpected `cfg` condition name: `backtrace`
Build and test (macOS-latest, stable): src/headers/header.rs#L38
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable): src/headers/header.rs#L42
using `.deref()` on a double reference, which returns `&T` instead of dereferencing the inner type
Build and test (macOS-latest, stable)
`http-types` (lib) generated 5 warnings
Build and test (macOS-latest, stable)
`http-types` (test "mime") generated 1 warning