[INFO] cloning repository https://github.com/UhmBrock/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UhmBrock/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUhmBrock%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUhmBrock%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64227776c5f01c5073d1f8bafe714ae919ad5e41 [INFO] checking UhmBrock/advent-of-code-2023 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUhmBrock%2Fadvent-of-code-2023" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/UhmBrock/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/UhmBrock/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/UhmBrock/advent-of-code-2023 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/UhmBrock/advent-of-code-2023 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/UhmBrock/advent-of-code-2023 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebe9ffe4fe821ac39bf83b68e122f99a76dbcd1f1a60165030553b14c3b82b9b [INFO] running `Command { std: "docker" "start" "-a" "ebe9ffe4fe821ac39bf83b68e122f99a76dbcd1f1a60165030553b14c3b82b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe9ffe4fe821ac39bf83b68e122f99a76dbcd1f1a60165030553b14c3b82b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe9ffe4fe821ac39bf83b68e122f99a76dbcd1f1a60165030553b14c3b82b9b", kill_on_drop: false }` [INFO] [stdout] ebe9ffe4fe821ac39bf83b68e122f99a76dbcd1f1a60165030553b14c3b82b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8398d7ce8689ffac95215ea339d7c16873a2875b76630872438a4cd6bdcad54 [INFO] running `Command { std: "docker" "start" "-a" "f8398d7ce8689ffac95215ea339d7c16873a2875b76630872438a4cd6bdcad54", kill_on_drop: false }` [INFO] [stderr] Checking AdventOfRust2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let schematic = EngineSchematic::from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let _schematic = EngineSchematic::from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(inputString: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 177 | | let mut schematic = Self::default(); [INFO] [stdout] 178 | | [INFO] [stdout] 179 | | for line in inputString.lines() { [INFO] [stdout] ... | [INFO] [stdout] 200 | | Ok(schematic) [INFO] [stdout] 201 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(schematic) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let schematic = EngineSchematic::from_str(inputString).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let schematic = EngineSchematic::from_str(inputString).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let schematic = EngineSchematic::from_str(inputString).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day4.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | return Ok(new_card); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day4.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let card = Card::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | return Ok(new_map); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:93:70 [INFO] [stdout] | [INFO] [stdout] 93 | let seed_to_soil_maps: Vec = seed_to_soil.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:94:82 [INFO] [stdout] | [INFO] [stdout] 94 | let soil_to_fertilizer_maps: Vec = soil_to_fertilizer.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:95:84 [INFO] [stdout] | [INFO] [stdout] 95 | let fertilizer_to_water_maps: Vec = fertilizer_to_water.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:96:74 [INFO] [stdout] | [INFO] [stdout] 96 | let water_to_light_maps: Vec = water_to_light.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:97:86 [INFO] [stdout] | [INFO] [stdout] 97 | let light_to_temperature_maps: Vec = light_to_temperature.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:98:92 [INFO] [stdout] | [INFO] [stdout] 98 | let temperature_to_humidity_maps: Vec = temperature_to_humidity.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:99:86 [INFO] [stdout] | [INFO] [stdout] 99 | let humidity_to_location_maps: Vec = humidity_to_location.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:155:68 [INFO] [stdout] | [INFO] [stdout] 155 | let seed_to_soil_maps: Vec = seed_to_soil.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:156:80 [INFO] [stdout] | [INFO] [stdout] 156 | let soil_to_fertilizer_maps: Vec = soil_to_fertilizer.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:157:82 [INFO] [stdout] | [INFO] [stdout] 157 | let fertilizer_to_water_maps: Vec = fertilizer_to_water.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:158:72 [INFO] [stdout] | [INFO] [stdout] 158 | let water_to_light_maps: Vec = water_to_light.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:159:84 [INFO] [stdout] | [INFO] [stdout] 159 | let light_to_temperature_maps: Vec = light_to_temperature.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:160:90 [INFO] [stdout] | [INFO] [stdout] 160 | let temperature_to_humidity_maps: Vec = temperature_to_humidity.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:161:84 [INFO] [stdout] | [INFO] [stdout] 161 | let humidity_to_location_maps: Vec = humidity_to_location.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | let card: Card = match s { [INFO] [stdout] 14 | | "A" => Card { label: s.to_string(), strength: 13 }, [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(card) [INFO] [stdout] 31 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(card) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 252 | | let mut parts = s.split_whitespace(); [INFO] [stdout] 253 | | [INFO] [stdout] 254 | | let hand = parts.next().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 269 | | }) [INFO] [stdout] 270 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:257:49 [INFO] [stdout] | [INFO] [stdout] 257 | let cards: Vec = hand.chars().map(|c| Card::from_str(&c.to_string()).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / Ok(Hand { [INFO] [stdout] 266 | | cards, [INFO] [stdout] 267 | | bid, [INFO] [stdout] 268 | | handType [INFO] [stdout] 269 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:281:16 [INFO] [stdout] | [INFO] [stdout] 281 | let hand = Hand::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | let hand = Hand::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 30 | | let set: Vec = s.chars().collect(); [INFO] [stdout] 31 | | Ok(Instructions { [INFO] [stdout] 32 | | set, [INFO] [stdout] 33 | | currentInstruction: 0 [INFO] [stdout] 34 | | }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / Ok(Instructions { [INFO] [stdout] 32 | | set, [INFO] [stdout] 33 | | currentInstruction: 0 [INFO] [stdout] 34 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 59 | | let key = s.chars().take(3).collect(); [INFO] [stdout] 60 | | let left = s.chars().skip(7).take(3).collect(); [INFO] [stdout] 61 | | let right = s.chars().skip(12).take(3).collect(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | }) [INFO] [stdout] 68 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok(Node { [INFO] [stdout] 64 | | key, [INFO] [stdout] 65 | | left, [INFO] [stdout] 66 | | right [INFO] [stdout] 67 | | }) [INFO] [stdout] | |________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let mut instructions = Instructions::from_str(lines.next().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | let node = Node::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let instructions = Instructions::from_str(lines.next().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let node = Node::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfRust2023` (bin "AdventOfRust2023" test) due to 39 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let schematic = EngineSchematic::from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let _schematic = EngineSchematic::from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(inputString: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 177 | | let mut schematic = Self::default(); [INFO] [stdout] 178 | | [INFO] [stdout] 179 | | for line in inputString.lines() { [INFO] [stdout] ... | [INFO] [stdout] 200 | | Ok(schematic) [INFO] [stdout] 201 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day3.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(schematic) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day4.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | return Ok(new_card); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day4.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let card = Card::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | return Ok(new_map); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:93:70 [INFO] [stdout] | [INFO] [stdout] 93 | let seed_to_soil_maps: Vec = seed_to_soil.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:94:82 [INFO] [stdout] | [INFO] [stdout] 94 | let soil_to_fertilizer_maps: Vec = soil_to_fertilizer.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:95:84 [INFO] [stdout] | [INFO] [stdout] 95 | let fertilizer_to_water_maps: Vec = fertilizer_to_water.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:96:74 [INFO] [stdout] | [INFO] [stdout] 96 | let water_to_light_maps: Vec = water_to_light.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:97:86 [INFO] [stdout] | [INFO] [stdout] 97 | let light_to_temperature_maps: Vec = light_to_temperature.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:98:92 [INFO] [stdout] | [INFO] [stdout] 98 | let temperature_to_humidity_maps: Vec = temperature_to_humidity.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:99:86 [INFO] [stdout] | [INFO] [stdout] 99 | let humidity_to_location_maps: Vec = humidity_to_location.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:155:68 [INFO] [stdout] | [INFO] [stdout] 155 | let seed_to_soil_maps: Vec = seed_to_soil.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:156:80 [INFO] [stdout] | [INFO] [stdout] 156 | let soil_to_fertilizer_maps: Vec = soil_to_fertilizer.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:157:82 [INFO] [stdout] | [INFO] [stdout] 157 | let fertilizer_to_water_maps: Vec = fertilizer_to_water.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:158:72 [INFO] [stdout] | [INFO] [stdout] 158 | let water_to_light_maps: Vec = water_to_light.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:159:84 [INFO] [stdout] | [INFO] [stdout] 159 | let light_to_temperature_maps: Vec = light_to_temperature.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:160:90 [INFO] [stdout] | [INFO] [stdout] 160 | let temperature_to_humidity_maps: Vec = temperature_to_humidity.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day5.rs:161:84 [INFO] [stdout] | [INFO] [stdout] 161 | let humidity_to_location_maps: Vec = humidity_to_location.lines().map(|str| Map::from_str(str).unwrap() ).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | let card: Card = match s { [INFO] [stdout] 14 | | "A" => Card { label: s.to_string(), strength: 13 }, [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(card) [INFO] [stdout] 31 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(card) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 252 | | let mut parts = s.split_whitespace(); [INFO] [stdout] 253 | | [INFO] [stdout] 254 | | let hand = parts.next().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 269 | | }) [INFO] [stdout] 270 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day7.rs:257:49 [INFO] [stdout] | [INFO] [stdout] 257 | let cards: Vec = hand.chars().map(|c| Card::from_str(&c.to_string()).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / Ok(Hand { [INFO] [stdout] 266 | | cards, [INFO] [stdout] 267 | | bid, [INFO] [stdout] 268 | | handType [INFO] [stdout] 269 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:281:16 [INFO] [stdout] | [INFO] [stdout] 281 | let hand = Hand::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/day7.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | let hand = Hand::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 30 | | let set: Vec = s.chars().collect(); [INFO] [stdout] 31 | | Ok(Instructions { [INFO] [stdout] 32 | | set, [INFO] [stdout] 33 | | currentInstruction: 0 [INFO] [stdout] 34 | | }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / Ok(Instructions { [INFO] [stdout] 32 | | set, [INFO] [stdout] 33 | | currentInstruction: 0 [INFO] [stdout] 34 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 59 | | let key = s.chars().take(3).collect(); [INFO] [stdout] 60 | | let left = s.chars().skip(7).take(3).collect(); [INFO] [stdout] 61 | | let right = s.chars().skip(12).take(3).collect(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | }) [INFO] [stdout] 68 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok(Node { [INFO] [stdout] 64 | | key, [INFO] [stdout] 65 | | left, [INFO] [stdout] 66 | | right [INFO] [stdout] 67 | | }) [INFO] [stdout] | |________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | let mut instructions = Instructions::from_str(lines.next().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | let node = Node::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let instructions = Instructions::from_str(lines.next().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day8.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let node = Node::from_str(line).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `AdventOfRust2023` (bin "AdventOfRust2023") due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "f8398d7ce8689ffac95215ea339d7c16873a2875b76630872438a4cd6bdcad54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8398d7ce8689ffac95215ea339d7c16873a2875b76630872438a4cd6bdcad54", kill_on_drop: false }` [INFO] [stdout] f8398d7ce8689ffac95215ea339d7c16873a2875b76630872438a4cd6bdcad54