Skip to content

Run metadata consistency checks in CI #1268

Run metadata consistency checks in CI

Run metadata consistency checks in CI #1268

Triggered via pull request July 29, 2024 11:55
Status Success
Total duration 5m 16s
Artifacts

presubmit.yml

on: pull_request
Matrix: Presubmit
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
needless `fn main` in doctest: num_enum/src/../README.md#L222
warning: needless `fn main` in doctest --> num_enum/src/../README.md:222:1 | 222 | / use num_enum::FromPrimitive; 223 | | use std::convert::TryFrom; 224 | | 225 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 241 | | assert_eq!(two, Number::NonZero(2_u8)); 242 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L190
warning: needless `fn main` in doctest --> num_enum/src/../README.md:190:1 | 190 | / use num_enum::FromPrimitive; 191 | | use std::convert::TryFrom; 192 | | 193 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 209 | | assert_eq!(two, Number::NonZero); 210 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L159
warning: needless `fn main` in doctest --> num_enum/src/../README.md:159:1 | 159 | / use num_enum::FromPrimitive; 160 | | 161 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] 162 | | #[repr(u8)] ... | 177 | | ); 178 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L96
warning: needless `fn main` in doctest --> num_enum/src/../README.md:96:1 | 96 | / use num_enum::TryFromPrimitive; 97 | | use std::convert::TryFrom; 98 | | 99 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 117 | | assert_eq!(many, Ok(Number::Many)); 118 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L64
warning: needless `fn main` in doctest --> num_enum/src/../README.md:64:1 | 64 | / use num_enum::TryFromPrimitive; 65 | | use std::convert::TryFrom; 66 | | 67 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 89 | | ); 90 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L33
warning: needless `fn main` in doctest --> num_enum/src/../README.md:33:1 | 33 | / use num_enum::TryFromPrimitive; 34 | | use std::convert::TryFrom; 35 | | 36 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 51 | | ); 52 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L13
warning: needless `fn main` in doctest --> num_enum/src/../README.md:13:1 | 13 | / use num_enum::IntoPrimitive; 14 | | 15 | | #[derive(IntoPrimitive)] 16 | | #[repr(u8)] ... | 24 | | assert_eq!(zero, 0u8); 25 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main = note: `#[warn(clippy::needless_doctest_main)]` on by default
needless `fn main` in doctest: num_enum/src/../README.md#L222
warning: needless `fn main` in doctest --> num_enum/src/../README.md:222:1 | 222 | / use num_enum::FromPrimitive; 223 | | use std::convert::TryFrom; 224 | | 225 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 241 | | assert_eq!(two, Number::NonZero(2_u8)); 242 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L190
warning: needless `fn main` in doctest --> num_enum/src/../README.md:190:1 | 190 | / use num_enum::FromPrimitive; 191 | | use std::convert::TryFrom; 192 | | 193 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 209 | | assert_eq!(two, Number::NonZero); 210 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L159
warning: needless `fn main` in doctest --> num_enum/src/../README.md:159:1 | 159 | / use num_enum::FromPrimitive; 160 | | 161 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] 162 | | #[repr(u8)] ... | 177 | | ); 178 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L96
warning: needless `fn main` in doctest --> num_enum/src/../README.md:96:1 | 96 | / use num_enum::TryFromPrimitive; 97 | | use std::convert::TryFrom; 98 | | 99 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 117 | | assert_eq!(many, Ok(Number::Many)); 118 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L64
warning: needless `fn main` in doctest --> num_enum/src/../README.md:64:1 | 64 | / use num_enum::TryFromPrimitive; 65 | | use std::convert::TryFrom; 66 | | 67 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 89 | | ); 90 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L33
warning: needless `fn main` in doctest --> num_enum/src/../README.md:33:1 | 33 | / use num_enum::TryFromPrimitive; 34 | | use std::convert::TryFrom; 35 | | 36 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 51 | | ); 52 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L13
warning: needless `fn main` in doctest --> num_enum/src/../README.md:13:1 | 13 | / use num_enum::IntoPrimitive; 14 | | 15 | | #[derive(IntoPrimitive)] 16 | | #[repr(u8)] ... | 24 | | assert_eq!(zero, 0u8); 25 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main = note: `#[warn(clippy::needless_doctest_main)]` on by default
needless `fn main` in doctest: num_enum/src/../README.md#L222
warning: needless `fn main` in doctest --> num_enum/src/../README.md:222:1 | 222 | / use num_enum::FromPrimitive; 223 | | use std::convert::TryFrom; 224 | | 225 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 241 | | assert_eq!(two, Number::NonZero(2_u8)); 242 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L190
warning: needless `fn main` in doctest --> num_enum/src/../README.md:190:1 | 190 | / use num_enum::FromPrimitive; 191 | | use std::convert::TryFrom; 192 | | 193 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] ... | 209 | | assert_eq!(two, Number::NonZero); 210 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L159
warning: needless `fn main` in doctest --> num_enum/src/../README.md:159:1 | 159 | / use num_enum::FromPrimitive; 160 | | 161 | | #[derive(Debug, Eq, PartialEq, FromPrimitive)] 162 | | #[repr(u8)] ... | 177 | | ); 178 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L96
warning: needless `fn main` in doctest --> num_enum/src/../README.md:96:1 | 96 | / use num_enum::TryFromPrimitive; 97 | | use std::convert::TryFrom; 98 | | 99 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 117 | | assert_eq!(many, Ok(Number::Many)); 118 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L64
warning: needless `fn main` in doctest --> num_enum/src/../README.md:64:1 | 64 | / use num_enum::TryFromPrimitive; 65 | | use std::convert::TryFrom; 66 | | 67 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 89 | | ); 90 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L33
warning: needless `fn main` in doctest --> num_enum/src/../README.md:33:1 | 33 | / use num_enum::TryFromPrimitive; 34 | | use std::convert::TryFrom; 35 | | 36 | | #[derive(Debug, Eq, PartialEq, TryFromPrimitive)] ... | 51 | | ); 52 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
needless `fn main` in doctest: num_enum/src/../README.md#L13
warning: needless `fn main` in doctest --> num_enum/src/../README.md:13:1 | 13 | / use num_enum::IntoPrimitive; 14 | | 15 | | #[derive(IntoPrimitive)] 16 | | #[repr(u8)] ... | 24 | | assert_eq!(zero, 0u8); 25 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main = note: `#[warn(clippy::needless_doctest_main)]` on by default
Presubmit (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (nightly)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (nightly)
Unable to download cargo-audit == latest from the tool cache: Error: Unexpected HTTP response: 403
Presubmit (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (beta)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (beta)
Unable to download cargo-audit == latest from the tool cache: Error: Unexpected HTTP response: 403
Presubmit (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions-rs/[email protected], actions-rs/audit-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/
Presubmit (stable)
Unable to download cargo-audit == latest from the tool cache: Error: Unexpected HTTP response: 403