[INFO] cloning repository https://github.com/AugustinLF/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AugustinLF/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f2a4106327c75c83298def54eb210c4ba292478 [INFO] checking AugustinLF/advent-of-code-2019 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2019" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AugustinLF/advent-of-code-2019 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AugustinLF/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/AugustinLF/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/AugustinLF/advent-of-code-2019 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/AugustinLF/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75ed7b8b66f88b2cebb2361ebba82c632272d723609170c8dca4d0e5107335dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75ed7b8b66f88b2cebb2361ebba82c632272d723609170c8dca4d0e5107335dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75ed7b8b66f88b2cebb2361ebba82c632272d723609170c8dca4d0e5107335dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ed7b8b66f88b2cebb2361ebba82c632272d723609170c8dca4d0e5107335dd", kill_on_drop: false }` [INFO] [stdout] 75ed7b8b66f88b2cebb2361ebba82c632272d723609170c8dca4d0e5107335dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] c93a6ad3b31f437b843f4e8b9375edbe4fdab2b4de6c8179a52b423891af54a2 [INFO] running `Command { std: "docker" "start" "-a" "c93a6ad3b31f437b843f4e8b9375edbe4fdab2b4de6c8179a52b423891af54a2", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `exercise_1` [INFO] [stdout] --> src/ex1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn exercise_1() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exercise_1_2` [INFO] [stdout] --> src/ex1.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn exercise_1_2() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compensate_for_fuel` [INFO] [stdout] --> src/ex1.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn compensate_for_fuel(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_fuel_for_mass` [INFO] [stdout] --> src/ex1.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_fuel_for_mass(mass: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_map` [INFO] [stdout] --> src/ex2.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_map(string: &str) ->(i8, HashMap) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_at_index` [INFO] [stdout] --> src/ex2.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_at_index(map: &HashMap, index: i8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AssociatedValues` [INFO] [stdout] --> src/ex2.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct AssociatedValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_associated_values` [INFO] [stdout] --> src/ex2.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_associated_values(index: i8, map: &HashMap) -> AssociatedValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `iterate_and_update` [INFO] [stdout] --> src/ex2.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn iterate_and_update(mut map: HashMap, size: i8) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_to_string` [INFO] [stdout] --> src/ex2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn string_to_string(string: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_first_from_string` [INFO] [stdout] --> src/ex2.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn find_first_from_string(string: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exercise_2_1` [INFO] [stdout] --> src/ex2.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn exercise_2_1()-> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "c93a6ad3b31f437b843f4e8b9375edbe4fdab2b4de6c8179a52b423891af54a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93a6ad3b31f437b843f4e8b9375edbe4fdab2b4de6c8179a52b423891af54a2", kill_on_drop: false }` [INFO] [stdout] c93a6ad3b31f437b843f4e8b9375edbe4fdab2b4de6c8179a52b423891af54a2