WIP #279
ci.yml
on: push
Clippy validation
26s
Rustfmt check
16s
Matrix: build
Annotations
14 errors and 3 warnings
|
Rustfmt check
Rustfmt has exited with exit code 1
|
|
Rustfmt check:
aoclp_solutions/src/y2024/day_10.rs#L39
expected expression, found `}`
|
|
Build on ubuntu-24.04
Process completed with exit code 1.
|
|
Build on ubuntu-24.04:
aoclp_solutions/src/y2024/day_10.rs#L39
missing field `tiles` in initializer of `y2024::day_10::Map`
|
|
Build on ubuntu-24.04:
aoclp_solutions/src/y2024/day_10.rs#L39
expected expression, found `}`
|
|
Clippy validation
Error: Clippy has exited with exit code 1
|
|
missing field `tiles` in initializer of `y2024::day_10::Map`:
aoclp_solutions/src/y2024/day_10.rs#L39
error[E0063]: missing field `tiles` in initializer of `y2024::day_10::Map`
--> aoclp_solutions/src/y2024/day_10.rs:39:9
|
39 | Self { tiles: }
| ^^^^ missing `tiles`
|
|
missing field `tiles` in initializer of `y2024::day_10::Map`:
aoclp_solutions/src/y2024/day_10.rs#L39
error[E0063]: missing field `tiles` in initializer of `y2024::day_10::Map`
--> aoclp_solutions/src/y2024/day_10.rs:39:9
|
39 | Self { tiles: }
| ^^^^ missing `tiles`
|
|
Build on macos-14
Process completed with exit code 1.
|
|
Build on macos-14:
aoclp_solutions/src/y2024/day_10.rs#L39
missing field `tiles` in initializer of `y2024::day_10::Map`
|
|
Build on macos-14:
aoclp_solutions/src/y2024/day_10.rs#L39
expected expression, found `}`
|
|
Build on windows-2022
Process completed with exit code 1.
|
|
Build on windows-2022:
aoclp_solutions/src/y2024/day_10.rs#L39
missing field `tiles` in initializer of `y2024::day_10::Map`
|
|
Build on windows-2022:
aoclp_solutions/src/y2024/day_10.rs#L39
expected expression, found `}`
|
|
Suggested formatting at lines 46-54 (replaced with 11 lines):
aoclp/src/dij.rs#L46
graph.neighbours(&u).for_each(|v| {
let alt = dist[&u] + graph.dist(&u, &v);
if alt < dist[&v]
|| (prev.contains_key(&v)
&& alt == dist[&v]
&& graph.is_first_better(&u, &prev[&v]))
{
dist.insert(v.clone(), alt);
prev.insert(v, u.clone());
}
});
|
|
Suggested formatting at lines 36-40 (replaced with 1 line):
aoclp/src/dij.rs#L36
let u = q.iter().min_by_key(|n| dist[n]).cloned().unwrap();
|
|
Suggested formatting at lines 24-31 (replaced with 2 lines):
aoclp/src/dij.rs#L24
let mut q: HashSet<_> = graph.all_nodes().chain(once(start.clone())).collect();
let mut dist: HashMap<_, _> = q.iter().map(|n| (n.clone(), usize::MAX)).collect();
|