[INFO] cloning repository https://github.com/ColinM9991/rust-filesystem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ColinM9991/rust-filesystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinM9991%2Frust-filesystem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinM9991%2Frust-filesystem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f34ac53f37f0fbb3281e6a5b46970e1c0fc8536
[INFO] checking ColinM9991/rust-filesystem against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinM9991%2Frust-filesystem" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ColinM9991/rust-filesystem
[INFO] finished tweaking git repo https://github.com/ColinM9991/rust-filesystem
[INFO] tweaked toml for git repo https://github.com/ColinM9991/rust-filesystem written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ColinM9991/rust-filesystem on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ColinM9991/rust-filesystem 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0444d2bb4c952787b3e86bc52e1378d80c4eeb393e01fa2049c3fe16c3b0f066
[INFO] running `Command { std: "docker" "start" "-a" "0444d2bb4c952787b3e86bc52e1378d80c4eeb393e01fa2049c3fe16c3b0f066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0444d2bb4c952787b3e86bc52e1378d80c4eeb393e01fa2049c3fe16c3b0f066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0444d2bb4c952787b3e86bc52e1378d80c4eeb393e01fa2049c3fe16c3b0f066", kill_on_drop: false }`
[INFO] [stdout] 0444d2bb4c952787b3e86bc52e1378d80c4eeb393e01fa2049c3fe16c3b0f066
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1bb93889d9fc2651ec8397163bc166a8f2bb4273399ef95b5cebcd1f0a1e471d
[INFO] running `Command { std: "docker" "start" "-a" "1bb93889d9fc2651ec8397163bc166a8f2bb4273399ef95b5cebcd1f0a1e471d", kill_on_drop: false }`
[INFO] [stderr]     Checking filesystem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/../files/day7.txt`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/parser.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let input = include_str!("../files/day7.txt");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/../files/day7.txt`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/parser.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let input = include_str!("../files/day7.txt");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `NodeRef` is never used
[INFO] [stdout]  --> src/node.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type NodeRef = Rc<RefCell<Node>>;
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WeakNodeRef` is never used
[INFO] [stdout]  --> src/node.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type WeakNodeRef = Weak<RefCell<Node>>;
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeType` is never used
[INFO] [stdout]  --> src/node.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum NodeType {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/node.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Node {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/node.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new_file(name: &str, size: u64) -> NodeRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn new_directory(name: &str) -> NodeRef {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn is_directory(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get_children(&self) -> Option<&Vec<NodeRef>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get_parent(&self) -> Option<NodeRef> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn set_parent(&mut self, parent: &NodeRef) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn get_size(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileSystem` is never constructed
[INFO] [stdout]  --> src/filesystem.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FileSystem {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/filesystem.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl FileSystem {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn create_directory(&self, name: &str) -> NodeRef {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn create_file(&self, name: &str, size: u64) -> NodeRef {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn change_dir(&mut self, name: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn get_size(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_root(&self) -> &NodeRef {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn add_child(&self, child: &NodeRef) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn resolve_path(&self, path: &str) -> Result<NodeRef, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn find_child(&self, name: &str) -> Option<NodeRef> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]  --> src/parser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn parse(input: &str) -> Result<FileSystem, String> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sizes` is never used
[INFO] [stdout]   --> src/parser.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn get_sizes(node: &NodeRef) -> Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `filesystem` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "1bb93889d9fc2651ec8397163bc166a8f2bb4273399ef95b5cebcd1f0a1e471d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bb93889d9fc2651ec8397163bc166a8f2bb4273399ef95b5cebcd1f0a1e471d", kill_on_drop: false }`
[INFO] [stdout] 1bb93889d9fc2651ec8397163bc166a8f2bb4273399ef95b5cebcd1f0a1e471d
