Skip to content

Day 17b

Day 17b #90

Triggered via push December 17, 2023 20:34
Status Success
Total duration 2m 3s
Artifacts 1

ci.yml

on: push
Matrix: rust / publish-packagecloud
rust  /  publish-cratesio
0s
rust / publish-cratesio
rust  /  publish-github-release
0s
rust / publish-github-release
Matrix: solve
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
rust / rust-misc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rust / rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rust / cargo-audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) | |_______________________________________^ help: try: `st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) 14 | | // Must go at least 4 spaces: 15 | | && (st.lastdir.is_none() || st.lastdir == Some(dir) || st.dircount >= 4) | |____________________________________________________________________________________^ help: try: `(st.dircount >= 4 || st.lastdir == Some(dir) || st.lastdir.is_none()) && st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) 14 | | // Must go at least 4 spaces: 15 | | && (st.lastdir.is_none() || st.lastdir == Some(dir) || st.dircount >= 4) 16 | | // And not more than 10: 17 | | && (st.lastdir != Some(dir) || st.dircount < 10) | |____________________________________________________________^ help: try: `(st.dircount >= 4 || st.lastdir == Some(dir) || st.lastdir.is_none()) && (st.dircount < 10 || st.lastdir != Some(dir)) && st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool = note: `#[warn(clippy::nonminimal_bool)]` on by default
rust / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rust / cargo-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) | |_______________________________________^ help: try: `st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) 14 | | // Must go at least 4 spaces: 15 | | && (st.lastdir.is_none() || st.lastdir == Some(dir) || st.dircount >= 4) | |____________________________________________________________________________________^ help: try: `(st.dircount >= 4 || st.lastdir == Some(dir) || st.lastdir.is_none()) && st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
this boolean expression can be simplified: day17/src/bin/day17b.rs#L11
warning: this boolean expression can be simplified --> day17/src/bin/day17b.rs:11:9 | 11 | / true 12 | | // Can't go back: 13 | | && st.lastdir != Some(-dir) 14 | | // Must go at least 4 spaces: 15 | | && (st.lastdir.is_none() || st.lastdir == Some(dir) || st.dircount >= 4) 16 | | // And not more than 10: 17 | | && (st.lastdir != Some(dir) || st.dircount < 10) | |____________________________________________________________^ help: try: `(st.dircount >= 4 || st.lastdir == Some(dir) || st.lastdir.is_none()) && (st.dircount < 10 || st.lastdir != Some(dir)) && st.lastdir != Some(-dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool = note: `#[warn(clippy::nonminimal_bool)]` on by default
rust / cargo-build-release
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
cargo-build-release Expired
615 MB