[INFO] cloning repository https://github.com/ianbrault/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ianbrault/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianbrault%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianbrault%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 535cd6db5263c59c2ac87c1157295ed22e03f019 [INFO] checking ianbrault/aoc2021 against try#c3491e21996dc67a8e37d9e5e74ed156563e9854 for pr-101345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianbrault%2Faoc2021" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ianbrault/aoc2021 on toolchain c3491e21996dc67a8e37d9e5e74ed156563e9854 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ianbrault/aoc2021 [INFO] finished tweaking git repo https://github.com/ianbrault/aoc2021 [INFO] tweaked toml for git repo https://github.com/ianbrault/aoc2021 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ianbrault/aoc2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f16af14094f4bd0808a18886ffaef39b2d286eefba87eb7c7d9edfd0fce6fa1 [INFO] running `Command { std: "docker" "start" "-a" "3f16af14094f4bd0808a18886ffaef39b2d286eefba87eb7c7d9edfd0fce6fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f16af14094f4bd0808a18886ffaef39b2d286eefba87eb7c7d9edfd0fce6fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f16af14094f4bd0808a18886ffaef39b2d286eefba87eb7c7d9edfd0fce6fa1", kill_on_drop: false }` [INFO] [stdout] 3f16af14094f4bd0808a18886ffaef39b2d286eefba87eb7c7d9edfd0fce6fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5686cb837661c508d884acae57704db1310962bf1a146d1e247881728cfbea8 [INFO] running `Command { std: "docker" "start" "-a" "e5686cb837661c508d884acae57704db1310962bf1a146d1e247881728cfbea8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: internal compiler error: no errors encountered even though `delay_span_bug` issued [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:1499:13 [INFO] [stderr] stack backtrace: [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 49 }, kind: OpaqueDef(ItemId { def_id: DefId(0:1242 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 43 }, span: src/types/mod.rs:211:76: 211:78 (#0), name: Param(DefId(0:2019 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 44 }, kind: Path(Resolved(None, Path { span: src/types/mod.rs:101:6: 101:7 (#0), res: Def(TyParam, DefId(0:1219 ~ aoc2021[ce49]::types::{impl#9}::T)), segments: [PathSegment { ident: T#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/types/mod.rs:101:6: 101:7 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 45 }, body: BodyId { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 46 } } }, span: src/types/mod.rs:101:9: 101:23 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 47 }, body: BodyId { hir_id: HirId { owner: DefId(0:1241 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices), local_id: 48 } } }, span: src/types/mod.rs:101:25: 101:39 (#0) })]), span: src/types/mod.rs:211:40: 211:80 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/check/coercion.rs:176:49 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: `InferCtxt` incorrectly tainted by errors [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_infer/src/infer/mod.rs:1265:27 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_build/src/build/mod.rs:759:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:2025 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices::{constant#1}) ("return type"): bad type [type error] [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:765:20 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:2025 ~ aoc2021[ce49]::types::{impl#9}::iter_with_indices::{constant#1}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/types/mod.rs:101:25: 101:39 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7f3b73472340 - std::backtrace_rs::backtrace::libunwind::trace::h6176bf60b78d74d6 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7f3b73472340 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d22932bd33ba306 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f3b73472340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f3b73472340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f3b734cd0fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f3b73462d15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f3b73474fd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f3b73474fd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f3b73474fd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f3b73474cbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f3b75d0d244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f3b7347580d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f3b76dfcf41 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f3b76dfca76 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f3b76dfc736 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f3b76dfefd6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 16: 0x7f3b757d3ef8 - ::drop [INFO] [stderr] 17: 0x7f3b74b3e198 - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 18: 0x7f3b74b2faa8 - as core[fae64f17691dff84]::ops::drop::Drop>::drop [INFO] [stderr] 19: 0x7f3b74b2ee5d - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 20: 0x7f3b74b2e5d9 - rustc_span[b6ed302232182e4]::with_source_map::, rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 21: 0x7f3b74b2de12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] 22: 0x7f3b74b2ca61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 23: 0x7f3b74b2c74f - std[17c996d5f6362125]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 24: 0x7f3b75b2b629 - <::spawn_unchecked_, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#1} as core[fae64f17691dff84]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 25: 0x7f3b7347f663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 26: 0x7f3b7347f663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 27: 0x7f3b7347f663 - std::sys::unix::thread::Thread::new::thread_start::habdd10d71164d0ca [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 28: 0x7f3b7332f609 - start_thread [INFO] [stderr] 29: 0x7f3b73252133 - clone [INFO] [stderr] 30: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (c3491e219 2022-09-03) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `aoc2021` [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: internal compiler error: no errors encountered even though `delay_span_bug` issued [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected const parent in type_of(): Ty(Ty { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 49 }, kind: OpaqueDef(ItemId { def_id: DefId(0:1231 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 43 }, span: src/types/mod.rs:211:76: 211:78 (#0), name: Param(DefId(0:1949 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices::'_), Fresh) }), Type(Ty { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 44 }, kind: Path(Resolved(None, Path { span: src/types/mod.rs:101:6: 101:7 (#0), res: Def(TyParam, DefId(0:1208 ~ aoc2021[41e4]::types::{impl#9}::T)), segments: [PathSegment { ident: T#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/types/mod.rs:101:6: 101:7 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 45 }, body: BodyId { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 46 } } }, span: src/types/mod.rs:101:9: 101:23 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 47 }, body: BodyId { hir_id: HirId { owner: DefId(0:1230 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices), local_id: 48 } } }, span: src/types/mod.rs:101:25: 101:39 (#0) })]), span: src/types/mod.rs:211:40: 211:80 (#0) }) [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/collect/type_of.rs:479:23 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_typeck/src/check/coercion.rs:176:49 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: `InferCtxt` incorrectly tainted by errors [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_infer/src/infer/mod.rs:1265:27 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_build/src/build/mod.rs:759:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: mir_const_qualif: MIR had errors [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_mir_transform/src/lib.rs:190:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: PromoteTemps: MIR had errors [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_const_eval/src/transform/promote_consts.rs:52:22 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:1955 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices::{constant#1}) ("return type"): bad type [type error] [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: TyKind::Error constructed but no error reported [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:765:20 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:1955 ~ aoc2021[41e4]::types::{impl#9}::iter_with_indices::{constant#1}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/types/mod.rs:101:25: 101:39 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/types/mod.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | impl Array2D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: delayed at compiler/rustc_borrowck/src/type_check/mod.rs:510:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:1499:13 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f90c01ee340 - std::backtrace_rs::backtrace::libunwind::trace::h6176bf60b78d74d6 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 1: 0x7f90c01ee340 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d22932bd33ba306 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f90c01ee340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f90c01ee340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f90c02490fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f90c01ded15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f90c01f0fd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f90c01f0fd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f90c01f0fd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f90c01f0cbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f90c2a89244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f90c01f180d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f90c3b78f41 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f90c3b78a76 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f90c3b78736 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f90c3b7afd6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 16: 0x7f90c254fef8 - ::drop [INFO] [stderr] 17: 0x7f90c18ba198 - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 18: 0x7f90c18abaa8 - as core[fae64f17691dff84]::ops::drop::Drop>::drop [INFO] [stderr] 19: 0x7f90c18aae5d - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 20: 0x7f90c18aa5d9 - rustc_span[b6ed302232182e4]::with_source_map::, rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 21: 0x7f90c18a9e12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] 22: 0x7f90c18a8a61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 23: 0x7f90c18a874f - std[17c996d5f6362125]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 24: 0x7f90c28a7629 - <::spawn_unchecked_, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>>::{closure#1} as core[fae64f17691dff84]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 25: 0x7f90c01fb663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 26: 0x7f90c01fb663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 27: 0x7f90c01fb663 - std::sys::unix::thread::Thread::new::thread_start::habdd10d71164d0ca [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 28: 0x7f90c00ab609 - start_thread [INFO] [stderr] 29: 0x7f90bffce133 - clone [INFO] [stderr] 30: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.65.0-nightly (c3491e219 2022-09-03) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `aoc2021` [INFO] running `Command { std: "docker" "inspect" "e5686cb837661c508d884acae57704db1310962bf1a146d1e247881728cfbea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5686cb837661c508d884acae57704db1310962bf1a146d1e247881728cfbea8", kill_on_drop: false }` [INFO] [stdout] e5686cb837661c508d884acae57704db1310962bf1a146d1e247881728cfbea8