This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
Update Rust crate octocrab to 0.39.0 #309
Annotations
3 errors and 6 warnings
`std::option::Option<url::Url>` doesn't implement `std::fmt::Display`:
src/main.rs#L104
error[E0599]: `std::option::Option<url::Url>` doesn't implement `std::fmt::Display`
--> src/main.rs:104:47
|
104 | html_url: repository.html_url.to_string(),
| ^^^^^^^^^ `std::option::Option<url::Url>` cannot be formatted with the default formatter
|
= note: the following trait bounds were not satisfied:
`std::option::Option<url::Url>: std::fmt::Display`
which is required by `std::option::Option<url::Url>: std::string::ToString`
note: the method `to_string` exists on the type `url::Url`
--> /rustc/f8060d282d42770fadd73905e3eefb85660d3278/library/alloc/src/string.rs:2544:5
help: consider using `Option::expect` to unwrap the `url::Url` value, panicking if the value is an `Option::None`
|
104 | html_url: repository.html_url.expect("REASON").to_string(),
| +++++++++++++++++
|
mismatched types:
src/main.rs#L99
error[E0308]: mismatched types
--> src/main.rs:99:25
|
99 | forked: repository.fork,
| ^^^^^^^^^^^^^^^ expected `bool`, found `Option<bool>`
|
= note: expected type `bool`
found enum `std::option::Option<bool>`
help: consider using `Option::expect` to unwrap the `std::option::Option<bool>` value, panicking if the value is an `Option::None`
|
99 | forked: repository.fork.expect("REASON"),
| +++++++++++++++++
|
Annotate code
Clippy had exited with the 101 exit code
|
Annotate code
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
Annotate code
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Annotate code
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/
|
Annotate code
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/
|
Annotate code
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/
|
Annotate code
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/
|