1this derivation will be built:2 /nix/store/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv3error: Cannot build '/nix/store/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/ajhfb67zfzd49q5qiawp75rxijnqjz96-kmap-cli-0.1.0-dist7 /nix/store/h9lfn159gd9alrqzbg06bfl4df912am9-kmap-cli-0.1.08 Last 25 log lines:9 > 712 | if meters < 1000:10 > 713 | return f"{meters:.0f} m"11 > |12 > help: Remove redundant type13 > |14 > 710 |15 > - def format_distance(meters: int | float) -> str:16 > 711 + def format_distance(meters: float) -> str:17 > 712 | if meters < 1000:18 > |19 >20 > RUF007 Prefer `itertools.pairwise()` over `zip()` when iterating over successive pairs21 > --> kmap_cli.py:884:3222 > |23 > 882 | segments: list[dict[str, object]] = []24 > 883 | has_routes = False25 > 884 | for origin, destination in zip(places, places[1:]):26 > | ^^^27 > 885 | routes = client.transit_routes(28 > 886 | Point(origin.x, origin.y),29 > |30 > help: Replace `zip()` with `itertools.pairwise()`31 >32 > Found 6 errors.33 > [*] 3 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option).34 For full logs, run:35 nix log /nix/store/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv