[INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-merge-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022/hooks/pre-merge-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/jplsanchez/AoC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplsanchez/AoC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48ab95c5e55f33424ddd0074d4c7ae8528278970 [INFO] checking jplsanchez/AoC-2022 against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplsanchez%2FAoC-2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jplsanchez/AoC-2022 on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jplsanchez/AoC-2022 [INFO] finished tweaking git repo https://github.com/jplsanchez/AoC-2022 [INFO] tweaked toml for git repo https://github.com/jplsanchez/AoC-2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jplsanchez/AoC-2022 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45df8dd7de0c9ecbfc3ffdfcdf113cb1bc78d058bdaa85868382c9ca2d822842 [INFO] running `Command { std: "docker" "start" "-a" "45df8dd7de0c9ecbfc3ffdfcdf113cb1bc78d058bdaa85868382c9ca2d822842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45df8dd7de0c9ecbfc3ffdfcdf113cb1bc78d058bdaa85868382c9ca2d822842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45df8dd7de0c9ecbfc3ffdfcdf113cb1bc78d058bdaa85868382c9ca2d822842", kill_on_drop: false }` [INFO] [stdout] 45df8dd7de0c9ecbfc3ffdfcdf113cb1bc78d058bdaa85868382c9ca2d822842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac38f96a26fc1283cfe0b6971a13dc86b72131fd5cba977caf4e60a466244c91 [INFO] running `Command { std: "docker" "start" "-a" "ac38f96a26fc1283cfe0b6971a13dc86b72131fd5cba977caf4e60a466244c91", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking aoc_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PATH` is never used [INFO] [stdout] --> src/day7.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PATH: &str = "src/day7/input.txt"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/day7.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn setup() -> Directory { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_part_1` is never used [INFO] [stdout] --> src/day7.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run_part_1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_part_2` is never used [INFO] [stdout] --> src/day7.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_part_2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/day7/command.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | ChangeDirectory { target: String }, [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/day7/command.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | AddDirectory { name: String }, [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `size` are never read [INFO] [stdout] --> src/day7/command.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | AddFile { name: String, size: u64 }, [INFO] [stdout] | ------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/day7/command.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn execute(&self, cwd: &mut Vec, root: &mut Directory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/day7/directory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day7/directory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_directory(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_file(&mut self, name: String, size: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn find_child_mut(&mut self, name: &str) -> Option<&mut Directory> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn find_cwd_mut(&mut self, cwd: &Vec) -> Option<&mut Directory> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn update_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn find_size_less_than(&self, max_size: u64) -> Vec<(String, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn list_all_dir_size(&self) -> Vec<(String, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PATH` is never used [INFO] [stdout] --> src/day7.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PATH: &str = "src/day7/input.txt"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/day7.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn setup() -> Directory { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_part_1` is never used [INFO] [stdout] --> src/day7.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run_part_1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_part_2` is never used [INFO] [stdout] --> src/day7.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_part_2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/day7/command.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | ChangeDirectory { target: String }, [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/day7/command.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | AddDirectory { name: String }, [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `size` are never read [INFO] [stdout] --> src/day7/command.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | AddFile { name: String, size: u64 }, [INFO] [stdout] | ------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/day7/command.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn execute(&self, cwd: &mut Vec, root: &mut Directory) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/day7/directory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day7/directory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Directory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_directory(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_file(&mut self, name: String, size: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn find_child_mut(&mut self, name: &str) -> Option<&mut Directory> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn find_cwd_mut(&mut self, cwd: &Vec) -> Option<&mut Directory> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn update_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn find_size_less_than(&self, max_size: u64) -> Vec<(String, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn list_all_dir_size(&self) -> Vec<(String, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "ac38f96a26fc1283cfe0b6971a13dc86b72131fd5cba977caf4e60a466244c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac38f96a26fc1283cfe0b6971a13dc86b72131fd5cba977caf4e60a466244c91", kill_on_drop: false }` [INFO] [stdout] ac38f96a26fc1283cfe0b6971a13dc86b72131fd5cba977caf4e60a466244c91