[INFO] cloning repository https://github.com/mariusdr/AdventOfCode2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mariusdr/AdventOfCode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea8e976ef73c88e9914b80ab4eeaa1358db034e7
[INFO] building mariusdr/AdventOfCode2022 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] error: unable to write file src/day17/input.txt
[INFO] [stderr] error: unable to write file src/day17/main.rs
[INFO] [stderr] fatal: cannot create directory at 'src/day18': No space left on device
[INFO] [stderr] warning: Clone succeeded, but checkout failed.
[INFO] [stderr] You can inspect what was checked out with 'git status'
[INFO] [stderr] and retry with 'git restore --source=HEAD :/'
[INFO] [stderr] 
[INFO] building mariusdr/AdventOfCode2022 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmariusdr%2FAdventOfCode2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mariusdr/AdventOfCode2022 on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/mariusdr/AdventOfCode2022
[INFO] finished tweaking git repo https://github.com/mariusdr/AdventOfCode2022
[INFO] tweaked toml for git repo https://github.com/mariusdr/AdventOfCode2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mariusdr/AdventOfCode2022 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d2b6cf14fc6739c631633aa8fc095e0d7068f87949ca5a95dfb8b7725e654d2
[INFO] running `Command { std: "docker" "start" "-a" "3d2b6cf14fc6739c631633aa8fc095e0d7068f87949ca5a95dfb8b7725e654d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d2b6cf14fc6739c631633aa8fc095e0d7068f87949ca5a95dfb8b7725e654d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d2b6cf14fc6739c631633aa8fc095e0d7068f87949ca5a95dfb8b7725e654d2", kill_on_drop: false }`
[INFO] [stdout] 3d2b6cf14fc6739c631633aa8fc095e0d7068f87949ca5a95dfb8b7725e654d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2dbe302dc448587c9830f4d756b7a912a2ca2100ad3f83797af3a3ee74572c00
[INFO] running `Command { std: "docker" "start" "-a" "2dbe302dc448587c9830f4d756b7a912a2ca2100ad3f83797af3a3ee74572c00", kill_on_drop: false }`
[INFO] [stderr]    Compiling AdventOfCode2022 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/day14/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/day14/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cell`
[INFO] [stdout]  --> src/day7/main.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::{RefCell, Cell};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trace_sand_unit` is never used
[INFO] [stdout]   --> src/day14/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn trace_sand_unit(lmap: &LaneMap, p0: Point) -> Option<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve1` is never used
[INFO] [stdout]    --> src/day14/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn solve1(file: &File) -> std::io::Result<()> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/day17/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/day17/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PrefixComponent`
[INFO] [stdout]  --> src/day17/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path::PrefixComponent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_children_mut` and `get_size` are never used
[INFO] [stdout]   --> src/day7/main.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl FileNode {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn get_children_mut(&mut self) -> Option<&mut Vec<Rc<RefCell<FileNode>>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn get_size(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse` is never used
[INFO] [stdout]    --> src/day7/main.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn traverse(root: &Rc<RefCell<FileNode>>) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve1` is never used
[INFO] [stdout]    --> src/day7/main.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn solve1(root: &Rc<RefCell<FileNode>>) -> usize {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_childrens` is never used
[INFO] [stdout]    --> src/day7/main.rs:234:4
[INFO] [stdout]     |
[INFO] [stdout] 234 | fn print_childrens(root: &Rc<RefCell<FileNode>>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `file`
[INFO] [stdout]   --> src/day6/main.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let file = File::open(&argv[1])?;
[INFO] [stdout]    |         ---- move occurs because `file` has type `File`, which does not implement the `Copy` trait
[INFO] [stdout] 59 |     challenge1(file)?;
[INFO] [stdout]    |                ---- value moved here
[INFO] [stdout] 60 |     challenge2(file)?;
[INFO] [stdout]    |                ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `challenge1` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/day6/main.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn challenge1(file: File) -> std::io::Result<()> {
[INFO] [stdout]    |    ----------       ^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve1` is never used
[INFO] [stdout]   --> src/day18/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn solve1(cubes: &Vec<Cube>) -> std::io::Result<()> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `AdventOfCode2022` (bin "day6") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: methods `unmark` and `dfs2` are never used
[INFO] [stdout]    --> src/day16/main.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl<'a> DfsSolver<'a> {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn unmark(&mut self, node: usize) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     fn dfs2(&mut self, node: usize, mut depth: u32, snode: usize, sdepth: u32, is_elephant: bool) -> u32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve1` is never used
[INFO] [stdout]    --> src/day16/main.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn solve1(file: &File) -> std::io::Result<()> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve1` is never used
[INFO] [stdout]    --> src/day11/main.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn solve1(monkeys: &mut MonkeyTroop) -> std::io::Result<()> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/day5/main.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         for i in 0..command.mov {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `xmax` is never read
[INFO] [stdout]   --> src/day17/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct PointTransform {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 15 |     xmin: i64,
[INFO] [stdout] 16 |     xmax: i64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_multiple` is never used
[INFO] [stdout]    --> src/day5/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn move_multiple(stacks: &mut Vec<Vec<Cell>>, cnt: usize, from_idx: usize, to_idx: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge2` is never used
[INFO] [stdout]    --> src/day5/main.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn challenge2(filepath: &str) -> std::io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2dbe302dc448587c9830f4d756b7a912a2ca2100ad3f83797af3a3ee74572c00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dbe302dc448587c9830f4d756b7a912a2ca2100ad3f83797af3a3ee74572c00", kill_on_drop: false }`
[INFO] [stdout] 2dbe302dc448587c9830f4d756b7a912a2ca2100ad3f83797af3a3ee74572c00
