advent of code 2023 edition
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
40 KiB

{"message":"unused import: `ndarray_linalg::Solve`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":52,"byte_end":73,"line_start":3,"line_end":3,"column_start":5,"column_end":26,"is_primary":true,"text":[{"text":"use ndarray_linalg::Solve;","highlight_start":5,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":48,"byte_end":74,"line_start":3,"line_end":3,"column_start":1,"column_end":27,"is_primary":true,"text":[{"text":"use ndarray_linalg::Solve;","highlight_start":1,"highlight_end":27}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `ndarray_linalg::Solve`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:3:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m3\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0muse ndarray_linalg::Solve;\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_imports)]` on by default\u001b[0m\n\n"}
{"message":"unused import: `ndarray_linalg`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":29,"byte_end":43,"line_start":2,"line_end":2,"column_start":5,"column_end":19,"is_primary":true,"text":[{"text":"use ndarray_linalg::*;","highlight_start":5,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `ndarray_linalg`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:2:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0muse ndarray_linalg::*;\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"message":"variable does not need to be mutable","code":{"code":"unused_mut","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":2399,"byte_end":2404,"line_start":79,"line_end":79,"column_start":9,"column_end":14,"is_primary":true,"text":[{"text":" let mut a: Array2<f64> = array![","highlight_start":9,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_mut)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove this `mut`","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":2399,"byte_end":2403,"line_start":79,"line_end":79,"column_start":9,"column_end":13,"is_primary":true,"text":[{"text":" let mut a: Array2<f64> = array![","highlight_start":9,"highlight_end":13}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variable does not need to be mutable\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:79:9\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m79\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let mut a: Array2<f64> = array![\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----\u001b[0m\u001b[0m\u001b[1m\u001b[33m^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mhelp: remove this `mut`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_mut)]` on by default\u001b[0m\n\n"}
{"message":"struct `Point` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":251,"byte_end":256,"line_start":13,"line_end":13,"column_start":8,"column_end":13,"is_primary":true,"text":[{"text":"struct Point { x: f64, y: f64, z: f64 }","highlight_start":8,"highlight_end":13}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: struct `Point` is never constructed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:13:8\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m13\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mstruct Point { x: f64, y: f64, z: f64 }\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(dead_code)]` on by default\u001b[0m\n\n"}
{"message":"function `row_zx` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":4476,"byte_end":4482,"line_start":149,"line_end":149,"column_start":4,"column_end":10,"is_primary":true,"text":[{"text":"fn row_zx(p1: &Part, p2: &Part) -> [i64;6] {","highlight_start":4,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: function `row_zx` is never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:149:4\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m149\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mfn row_zx(p1: &Part, p2: &Part) -> [i64;6] {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^\u001b[0m\n\n"}
{"message":"function `b_zx` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":4896,"byte_end":4900,"line_start":166,"line_end":166,"column_start":4,"column_end":8,"is_primary":true,"text":[{"text":"fn b_zx(p1: &Part, p2: &Part) -> i64 {","highlight_start":4,"highlight_end":8}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: function `b_zx` is never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:166:4\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m166\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mfn b_zx(p1: &Part, p2: &Part) -> i64 {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^\u001b[0m\n\n"}
{"message":"linking with `cc` failed: exit status: 1","code":null,"level":"error","spans":[],"children":[{"message":"env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL=\"C\" PATH=\"/Users/shoofle/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin:/Users/shoofle/.asdf/shims:/usr/local/opt/asdf/libexec/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/shoofle/.cargo/bin\" VSLANG=\"1033\" ZERO_AR_DATE=\"1\" \"cc\" \"-arch\" \"x86_64\" \"-m64\" \"/var/folders/30/nhcxskyn4csg0_80f4mrx7tm0000gn/T/rustcufBr8j/symbols.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.15mu1ltf469s4y4t.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.18np7ingiw5wbehb.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1a1a0wg945qxw78h.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1abljjg54a8nipa4.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1aivzb9i55iy2z2y.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1aubmen8u7e4iz2l.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1f4q8hs8dhtg7bd7.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1h4lzfxewsj24knl.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1hibw16c10bff4od.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1iclvk41w65vykic.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1mlsxdrs83ode884.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1n6lmho8ux1z9xms.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1onejwixs993iotk.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1oqopgoebrznam7s.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1quawwl22kvbv6g9.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1rhtgbgkvllh7o8p.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1wo9rafyqc1mqtcm.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.1x0r1pb0j7vfxr00.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.200k7z1arm4jj9it.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.23hr8b97fcys78af.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.262lhfayqpn0eojk.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.27yvl9kf70wfjgov.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.28i9x9gzj2u8a8sz.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.29wl9k7gx43nzacc.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.2am7f427i9uaho06.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.2ebbblxumeviappl.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.2fi0skub5gwvw37k.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.2fpyhwvbzy5eb9c7.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.2nd1ofdlj2uxxsqy.rcgu.o\" \"/Users/shoofle/Projects/aoc_2023/day24/target/debug/deps/day24-2c41ce2d3092f33d.
{"message":"aborting due to previous error; 6 warnings emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to previous error; 6 warnings emitted\u001b[0m\n\n"}