Skip to content

Add lint to prevent (most) URLs #104 #385

Add lint to prevent (most) URLs #104

Add lint to prevent (most) URLs #104 #385

Triggered via pull request September 30, 2024 19:47
Status Failure
Total duration 2m 54s
Artifacts

test.yaml

on: pull_request
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 31 warnings
Rustfmt
left behind trailing whitespace
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L95
cannot find value `suggestion_label` in this scope
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L148
method `enter_link` has an incompatible type for trait
Check: eipw-lint/src/lints/known_lints.rs#L276
no method named `as_str` found for reference `&S` in the current scope
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L82
no field `slug` on type `&mut prevent_url::Visitor<'a, 'b, 'c>`
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L118
no field `slug` on type `&mut prevent_url::Visitor<'a, 'b, 'c>`
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test Suite (ubuntu-latest): eipw-lint/src/lints/markdown/prevent_url.rs#L95
cannot find value `suggestion_label` in this scope
Test Suite (ubuntu-latest): eipw-lint/src/lints/markdown/prevent_url.rs#L148
method `enter_link` has an incompatible type for trait
Test Suite (ubuntu-latest): eipw-lint/src/lints/known_lints.rs#L276
no method named `as_str` found for reference `&S` in the current scope
Test Suite (ubuntu-latest): eipw-lint/src/lints/markdown/prevent_url.rs#L82
no field `slug` on type `&mut prevent_url::Visitor<'a, 'b, 'c>`
Test Suite (ubuntu-latest): eipw-lint/src/lints/markdown/prevent_url.rs#L118
no field `slug` on type `&mut prevent_url::Visitor<'a, 'b, 'c>`
Test Suite (ubuntu-latest)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Test Suite (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Test Suite (windows-latest)
The operation was canceled.
Rustfmt
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/
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt
rustfmt has failed to format. See previous 1 errors.
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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
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/
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L17
unused import: `scraper::node::Node as HtmlNode`
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L18
unused import: `scraper::Html`
Check: eipw-lint/src/lints/markdown/prevent_url.rs#L22
unused import: `snafu::Snafu`
Check
`eipw-lint` (lib) generated 3 warnings
Check
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
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
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
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/
Test Suite (ubuntu-latest)
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/
Test Suite (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Suite (ubuntu-latest)
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/
Test Suite (ubuntu-latest)
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/
Test Suite (ubuntu-latest)
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/
Test Suite (ubuntu-latest)
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/
Test Suite (ubuntu-latest): eipw-lint/src/lints/markdown/prevent_url.rs#L17
unused import: `scraper::node::Node as HtmlNode`
Test Suite (ubuntu-latest)
`eipw-lint` (lib) generated 3 warnings
Test Suite (windows-latest)
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/
Test Suite (windows-latest)
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/
Test Suite (windows-latest)
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/
Test Suite (windows-latest)
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/