[INFO] cloning repository https://github.com/Narigo/aocrs19 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Narigo/aocrs19" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs19", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs19'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fd7ff4770b2f7a1f9e88dbb6efd13115734f059 [INFO] checking Narigo/aocrs19 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNarigo%2Faocrs19" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Narigo/aocrs19 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Narigo/aocrs19 [INFO] finished tweaking git repo https://github.com/Narigo/aocrs19 [INFO] tweaked toml for git repo https://github.com/Narigo/aocrs19 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Narigo/aocrs19 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 131c18d25508fbcddbe41c896bc7198c6a1c5463be6e855c834f376ec4f96e69 [INFO] running `Command { std: "docker" "start" "-a" "131c18d25508fbcddbe41c896bc7198c6a1c5463be6e855c834f376ec4f96e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "131c18d25508fbcddbe41c896bc7198c6a1c5463be6e855c834f376ec4f96e69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131c18d25508fbcddbe41c896bc7198c6a1c5463be6e855c834f376ec4f96e69", kill_on_drop: false }` [INFO] [stdout] 131c18d25508fbcddbe41c896bc7198c6a1c5463be6e855c834f376ec4f96e69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 492e135f7dfb472465c9cf7cdd3ffed87a6c0f626db47737041a774ac922a301 [INFO] running `Command { std: "docker" "start" "-a" "492e135f7dfb472465c9cf7cdd3ffed87a6c0f626db47737041a774ac922a301", kill_on_drop: false }` [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking aocrs19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/aoc03/mod.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | let start = cable_a.first().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/aoc03/mod.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | let second = cable_b.iter().map(|coord| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_crossing` [INFO] [stdout] --> src/aoc03/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compute_crossing() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_lowest_amount_of_steps` [INFO] [stdout] --> src/aoc03/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn find_lowest_amount_of_steps() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_nearest_crossing` [INFO] [stdout] --> src/aoc03/mod.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn compute_nearest_crossing(first: &String, second: &String) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wire` [INFO] [stdout] --> src/aoc03/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn wire(wire: &mut Vec, next: Command) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_line` [INFO] [stdout] --> src/aoc03/mod.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn into_line(last: Coords, command: Command) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Coords` [INFO] [stdout] --> src/aoc03/mod.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | type Coords = (i64, i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Cable` [INFO] [stdout] --> src/aoc03/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | type Cable = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `CoordsList` [INFO] [stdout] --> src/aoc03/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | type CoordsList = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/aoc03/mod.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | Down(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/aoc03/mod.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | Left(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/aoc03/mod.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | Right(i64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Up` [INFO] [stdout] --> src/aoc03/mod.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | Up(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_command` [INFO] [stdout] --> src/aoc03/mod.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn into_command(command: &String) -> Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `retrieve_crossings` [INFO] [stdout] --> src/aoc03/mod.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn retrieve_crossings(first: Cable, second: Cable) -> CoordsList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manhattan_distance_of` [INFO] [stdout] --> src/aoc03/mod.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn manhattan_distance_of(a: Coords, b: Coords) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_shortest_distance` [INFO] [stdout] --> src/aoc03/mod.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn find_shortest_distance(start: Coords, list: CoordsList) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `command_string_to_cable` [INFO] [stdout] --> src/aoc03/mod.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn command_string_to_cable(commands: &str) -> Cable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_lowest_steps` [INFO] [stdout] --> src/aoc03/mod.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn find_lowest_steps(cable_a: Cable, cable_b: Cable) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/aoc03/mod.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | let start = cable_a.first().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/aoc03/mod.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | let second = cable_b.iter().map(|coord| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_crossing` [INFO] [stdout] --> src/aoc03/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn compute_crossing() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_lowest_amount_of_steps` [INFO] [stdout] --> src/aoc03/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn find_lowest_amount_of_steps() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "492e135f7dfb472465c9cf7cdd3ffed87a6c0f626db47737041a774ac922a301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492e135f7dfb472465c9cf7cdd3ffed87a6c0f626db47737041a774ac922a301", kill_on_drop: false }` [INFO] [stdout] 492e135f7dfb472465c9cf7cdd3ffed87a6c0f626db47737041a774ac922a301