[INFO] cloning repository https://github.com/typedef-sorbet/aoc-day5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/typedef-sorbet/aoc-day5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Faoc-day5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Faoc-day5'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/typedef-sorbet/aoc-day5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/typedef-sorbet/aoc-day5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Faoc-day5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Faoc-day5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3981650026219dcd2baf50ffb54c0382f8720093 [INFO] checking typedef-sorbet/aoc-day5 against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftypedef-sorbet%2Faoc-day5" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/typedef-sorbet/aoc-day5 on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/typedef-sorbet/aoc-day5 [INFO] finished tweaking git repo https://github.com/typedef-sorbet/aoc-day5 [INFO] tweaked toml for git repo https://github.com/typedef-sorbet/aoc-day5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/typedef-sorbet/aoc-day5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc388e250898b1e962e71b01fcc4a2e46f11d9e4ce0d256e4bbaba732c8e21df [INFO] running `Command { std: "docker" "start" "-a" "cc388e250898b1e962e71b01fcc4a2e46f11d9e4ce0d256e4bbaba732c8e21df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc388e250898b1e962e71b01fcc4a2e46f11d9e4ce0d256e4bbaba732c8e21df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc388e250898b1e962e71b01fcc4a2e46f11d9e4ce0d256e4bbaba732c8e21df", kill_on_drop: false }` [INFO] [stdout] cc388e250898b1e962e71b01fcc4a2e46f11d9e4ce0d256e4bbaba732c8e21df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e446a27338f5fe9ceea0ad0d07045ddaf08c259777679473d46a0858c267043 [INFO] running `Command { std: "docker" "start" "-a" "3e446a27338f5fe9ceea0ad0d07045ddaf08c259777679473d46a0858c267043", kill_on_drop: false }` [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mem::discriminant` and `thread::current` [INFO] [stdout] --> src/main.rs:1:69 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, io::{BufReader, BufRead}, thread::current, mem::discriminant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem::discriminant` and `thread::current` [INFO] [stdout] --> src/main.rs:1:69 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, io::{BufReader, BufRead}, thread::current, mem::discriminant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | ... .filter(|((_r_src, r_dest), v)| std::mem::discriminant(resource) == std::mem::discriminant(r_dest)) // filter for any (should b... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | ... .map(|(k, v)| v) // just grab the value [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | ... .filter(|((_r_src, r_dest), v)| std::mem::discriminant(resource) == std::mem::discriminant(r_dest)) // filter for any (should b... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | ... .map(|(k, v)| v) // just grab the value [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Resource::Seed(x) => panic!("Cannot back-convert from a Seed"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | Resource::Seed(x) => panic!("Cannot back-convert from a Seed"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest_start`, `src_start`, and `range` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct FarmMapping { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | dest_start: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | src_start: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | range: i64 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FarmMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_mappings_for_dest_resource` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_mappings_for_dest_resource<'a>(resource: &Resource, conversion_table: &'a Almanac) -> Option<&'a Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_resource_num` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_resource_num(resource: &Resource) -> &i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_previous_resource` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn to_previous_resource(resource: Resource, new_num: Option) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_resource` is never used [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn convert_resource(resource: Resource, conversion_table: &Almanac) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest_start`, `src_start`, and `range` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct FarmMapping { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | dest_start: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | src_start: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | range: i64 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FarmMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_mappings_for_dest_resource` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_mappings_for_dest_resource<'a>(resource: &Resource, conversion_table: &'a Almanac) -> Option<&'a Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_resource_num` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_resource_num(resource: &Resource) -> &i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_previous_resource` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn to_previous_resource(resource: Resource, new_num: Option) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_resource` is never used [INFO] [stdout] --> src/main.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn convert_resource(resource: Resource, conversion_table: &Almanac) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "3e446a27338f5fe9ceea0ad0d07045ddaf08c259777679473d46a0858c267043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e446a27338f5fe9ceea0ad0d07045ddaf08c259777679473d46a0858c267043", kill_on_drop: false }` [INFO] [stdout] 3e446a27338f5fe9ceea0ad0d07045ddaf08c259777679473d46a0858c267043