[INFO] cloning repository https://github.com/zarix908/advent_of_code2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zarix908/advent_of_code2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarix908%2Fadvent_of_code2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarix908%2Fadvent_of_code2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90261a72aef387046811d83c0a4807657b4088c1 [INFO] checking zarix908/advent_of_code2022 against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarix908%2Fadvent_of_code2022" "/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/zarix908/advent_of_code2022 on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zarix908/advent_of_code2022 [INFO] finished tweaking git repo https://github.com/zarix908/advent_of_code2022 [INFO] tweaked toml for git repo https://github.com/zarix908/advent_of_code2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zarix908/advent_of_code2022 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kiam v0.1.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 284f7f9eddfc3a890e304de72196fa122047748a17528b709570cecbfcd9055a [INFO] running `Command { std: "docker" "start" "-a" "284f7f9eddfc3a890e304de72196fa122047748a17528b709570cecbfcd9055a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "284f7f9eddfc3a890e304de72196fa122047748a17528b709570cecbfcd9055a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "284f7f9eddfc3a890e304de72196fa122047748a17528b709570cecbfcd9055a", kill_on_drop: false }` [INFO] [stdout] 284f7f9eddfc3a890e304de72196fa122047748a17528b709570cecbfcd9055a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd2739635f590b52fabc3298e355cb0a214676bc95f0ca6f2c754c8ad60fddc9 [INFO] running `Command { std: "docker" "start" "-a" "fd2739635f590b52fabc3298e355cb0a214676bc95f0ca6f2c754c8ad60fddc9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking kiam v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling jemalloc-sys v0.5.2+5.3.0-patched [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking jemallocator v0.5.0 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/t42.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::Ordering [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/t81.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::max, borrow::Borrow [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/t42.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::Ordering [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/t81.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | cmp::max, borrow::Borrow [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t11.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t12.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t21.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t22.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t31.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t32.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t41.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t42.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t51.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t52.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t61.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve(mut reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t62.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve(mut reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/t71.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/t71.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_child`, `get_child`, `parent`, and `size` are never used [INFO] [stdout] --> src/t71.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 23 | fn add_child(&mut self, name: String, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn size(&mut self, total: &mut u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t71.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/t71.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn build_tree(reader: BufReader) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/t72.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Directory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 13 | size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `File` and `Dir` are never constructed [INFO] [stdout] --> src/t72.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum NodeEntity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | File(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Dir(Directory) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/t72.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | entity: NodeEntity, [INFO] [stdout] 24 | parent: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_child`, `get_child`, `parent`, `is_file`, `size`, and `set_size` are never used [INFO] [stdout] --> src/t72.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | fn add_child(&mut self, name: Rc, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn get_child(&self, name: &Rc) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn is_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn size(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_size(&mut self, size: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t72.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/t72.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn build_tree(reader: BufReader) -> Tree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_cb` is never used [INFO] [stdout] --> src/mem.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" fn write_cb(_: *mut c_void, message: *const c_char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_print` is never used [INFO] [stdout] --> src/mem.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn mem_print() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t11.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t12.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t21.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t22.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t31.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t32.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t41.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t42.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t51.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t52.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t61.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve(mut reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t62.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve(mut reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/t71.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Node` is never used [INFO] [stdout] --> src/t71.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_child`, `get_child`, `parent`, and `size` are never used [INFO] [stdout] --> src/t71.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 23 | fn add_child(&mut self, name: String, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_child(&self, name: &str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn size(&mut self, total: &mut u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t71.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/t71.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn build_tree(reader: BufReader) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/t72.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Directory { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 13 | size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `File` and `Dir` are never constructed [INFO] [stdout] --> src/t72.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum NodeEntity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 18 | File(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Dir(Directory) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/t72.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | entity: NodeEntity, [INFO] [stdout] 24 | parent: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_child`, `get_child`, `parent`, `is_file`, `size`, and `set_size` are never used [INFO] [stdout] --> src/t72.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | fn add_child(&mut self, name: Rc, child: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn get_child(&self, name: &Rc) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn parent(&self) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn is_file(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn size(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_size(&mut self, size: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/t72.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn solve(reader: BufReader) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/t72.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn build_tree(reader: BufReader) -> Tree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_cb` is never used [INFO] [stdout] --> src/mem.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" fn write_cb(_: *mut c_void, message: *const c_char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mem_print` is never used [INFO] [stdout] --> src/mem.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn mem_print() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fd2739635f590b52fabc3298e355cb0a214676bc95f0ca6f2c754c8ad60fddc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2739635f590b52fabc3298e355cb0a214676bc95f0ca6f2c754c8ad60fddc9", kill_on_drop: false }` [INFO] [stdout] fd2739635f590b52fabc3298e355cb0a214676bc95f0ca6f2c754c8ad60fddc9