8000 Update Rust crate comrak to 0.23.0 · Dirout/dokkoo@8b96bcb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Update Rust crate comrak to 0.23.0 #1067

Update Rust crate comrak to 0.23.0

Update Rust crate comrak to 0.23.0 #1067

Triggered via push April 29, 2024 15:57
Status Failure
Total duration 1m 21s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check_code.yml

on: push
Evaluate codebase
1m 10s
Evaluate codebase
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Evaluate codebase: src/lib.rs#L836
mismatched types
Evaluate codebase
could not compile `dokkoo` (lib) due to 1 previous error
Evaluate codebase
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
mismatched types: src/lib.rs#L836
error[E0308]: mismatched types --> src/lib.rs:836:56 | 836 | let syntax_highlighting_adapter = SyntectAdapter::new("InspiredGitHub"); | ------------------- ^^^^^^^^^^^^^^^^ expected `Option<&str>`, found `&str` | | | arguments to this function are incorrect | = note: expected enum `std::option::Option<&str>` found reference `&'static str` note: associated function defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/comrak-0.23.0/src/plugins/syntect.rs:27:12 | 27 | pub fn new(theme: Option<&str>) -> Self { | ^^^ help: try wrapping the expression in `Some` | 836 | let syntax_highlighting_adapter = SyntectAdapter::new(Some("InspiredGitHub")); | +++++ +
Evaluate codebase
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
Evaluate codebase
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Evaluate codebase
`/home/runner/work/dokkoo/dokkoo/.cargo/config` is deprecated in favor of `config.toml`
Evaluate codebase
`/home/runner/work/dokkoo/dokkoo/.cargo/config` is deprecated in favor of `config.toml`
Evaluate codebase
unused manifest key: registries
Evaluate codebase
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/
Evaluate codebase
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/
Evaluate codebase
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/
Evaluate codebase
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/
Evaluate codebase
`/home/runner/work/dokkoo/dokkoo/.cargo/config` is deprecated in favor of `config.toml`
0