Skip to content

docs: new jekyll template #13

docs: new jekyll template

docs: new jekyll template #13

Triggered via push December 30, 2024 17:39
Status Failure
Total duration 1m 2s
Artifacts

rust-ci.yml

on: push
Matrix: Format, Lint, Test, and Build
Fit to window
Zoom out
Zoom in

Annotations

13 errors
constants have by default a `'static` lifetime: src/lib.rs#L14
error: constants have by default a `'static` lifetime --> src/util/file_type.rs:14:33 | 14 | const JEKYLL_CONFIG_FILE_NAME: &'static str = "_config.yml"; | -^^^^^^^---- help: consider removing `'static`: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes = note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::redundant_static_lifetimes)]`
module has the same name as its containing module: src/lib.rs#L1
error: module has the same name as its containing module --> src/documentor/mod.rs:1:1 | 1 | mod documentor; | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `-D clippy::module-inception` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::module_inception)]`
doc list item without indentation: src/lib.rs#L45
error: doc list item without indentation --> src/documentor/documentor.rs:45:9 | 45 | /// documentor will document, if any. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]` help: indent this line | 45 | /// documentor will document, if any. | ++
doc list item without indentation: src/lib.rs#L48
error: doc list item without indentation --> src/documentor/documentor.rs:48:9 | 48 | /// documentor will document. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 48 | /// documentor will document. | ++
doc list item without indentation: src/lib.rs#L51
error: doc list item without indentation --> src/documentor/documentor.rs:51:9 | 51 | /// documentor will document. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 51 | /// documentor will document. | ++
called `.as_ref().map(|f| f.as_path())` on an `Option` value: src/lib.rs#L78
error: called `.as_ref().map(|f| f.as_path())` on an `Option` value --> src/documentor/markdown/jekyll_markdown_documentor.rs:78:9 | 78 | self.file_name.as_ref().map(|f| f.as_path()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.file_name.as_deref()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref = note: `-D clippy::option-as-ref-deref` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::option_as_ref_deref)]`
called `.as_ref().map(|f| f.as_path())` on an `Option` value: src/lib.rs#L44
error: called `.as_ref().map(|f| f.as_path())` on an `Option` value --> src/documentor/markdown/markdown_documentor.rs:44:9 | 44 | self.file_name.as_ref().map(|f| f.as_path()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.file_name.as_deref()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
called `.as_ref().map(|f| f.as_path())` on an `Option` value: src/lib.rs#L71
error: called `.as_ref().map(|f| f.as_path())` on an `Option` value --> src/documentor/owl/class_documentor.rs:71:9 | 71 | self.file_name.as_ref().map(|f| f.as_path()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.file_name.as_deref()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
called `.as_ref().map(|f| f.as_path())` on an `Option` value: src/lib.rs#L77
error: called `.as_ref().map(|f| f.as_path())` on an `Option` value --> src/documentor/owl/ontology_documentor.rs:77:9 | 77 | self.file_name.as_ref().map(|f| f.as_path()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `self.file_name.as_deref()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
module has the same name as its containing module: src/lib.rs#L1
error: module has the same name as its containing module --> src/generator/mod.rs:1:1 | 1 | mod generator; | ^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
Format, Lint, Test, and Build (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Format, Lint, Test, and Build (ubuntu-latest)
The operation was canceled.
Format, Lint, Test, and Build (windows-latest)
The job was canceled because "macos-latest" failed.