[INFO] fetching crate nncombinator 0.3.2... [INFO] checking nncombinator-0.3.2 against try#c3491e21996dc67a8e37d9e5e74ed156563e9854 for pr-101345 [INFO] extracting crate nncombinator 0.3.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate nncombinator 0.3.2 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 crates.io crate nncombinator 0.3.2 [INFO] finished tweaking crates.io crate nncombinator 0.3.2 [INFO] tweaked toml for crates.io crate nncombinator 0.3.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3491e21996dc67a8e37d9e5e74ed156563e9854" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 12674966dbb6a55e18fbd1cd583cf58938085d9898deb87c4ed65a971fa87bc7 [INFO] running `Command { std: "docker" "start" "-a" "12674966dbb6a55e18fbd1cd583cf58938085d9898deb87c4ed65a971fa87bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12674966dbb6a55e18fbd1cd583cf58938085d9898deb87c4ed65a971fa87bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12674966dbb6a55e18fbd1cd583cf58938085d9898deb87c4ed65a971fa87bc7", kill_on_drop: false }` [INFO] [stdout] 12674966dbb6a55e18fbd1cd583cf58938085d9898deb87c4ed65a971fa87bc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 411aaf845df40dfb606ce9d06eb7a3b92de17886701210bbfdf8a71b8d9f9a71 [INFO] running `Command { std: "docker" "start" "-a" "411aaf845df40dfb606ce9d06eb7a3b92de17886701210bbfdf8a71b8d9f9a71", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling rcudnn-sys v0.5.0 [INFO] [stderr] Compiling rcublas-sys v0.5.0 [INFO] [stderr] Compiling nncombinator v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cuda-runtime-sys v0.3.0-alpha.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Checking rcudnn v1.8.0 [INFO] [stderr] Checking rcublas v0.6.0 [INFO] [stdout] warning: unused import: `KernelArgs` [INFO] [stdout] --> src/activation.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cuda::{CudaPtr, DataTypeInfo, Kernel, KernelArgs, Memory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/device.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cudnn`, `TensorDescriptor` [INFO] [stdout] --> src/device.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use rcudnn::{Cudnn, TensorDescriptor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcudnn::utils::DataType` [INFO] [stdout] --> src/device.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rcudnn::utils::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/activation.rs:260:53 [INFO] [stdout] | [INFO] [stdout] 260 | fn is_canonical_link>(&self, l: &L) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/activation.rs:347:53 [INFO] [stdout] | [INFO] [stdout] 347 | fn is_canonical_link>(&self, l: &L) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/activation.rs:433:53 [INFO] [stdout] | [INFO] [stdout] 433 | fn is_canonical_link>(&self, l: &L) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/device.rs:363:63 [INFO] [stdout] | [INFO] [stdout] 363 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loss` [INFO] [stdout] --> src/device.rs:363:83 [INFO] [stdout] | [INFO] [stdout] 363 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/device.rs:363:106 [INFO] [stdout] | [INFO] [stdout] 363 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/device.rs:363:126 [INFO] [stdout] | [INFO] [stdout] 363 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/device.rs:497:63 [INFO] [stdout] | [INFO] [stdout] 497 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loss` [INFO] [stdout] --> src/device.rs:497:83 [INFO] [stdout] | [INFO] [stdout] 497 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_loss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/device.rs:497:106 [INFO] [stdout] | [INFO] [stdout] 497 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation` [INFO] [stdout] --> src/device.rs:497:126 [INFO] [stdout] | [INFO] [stdout] 497 | fn batch_loss_linear_by_activaton(&self, o:&Vec>, loss:&Vec>, u:&Vec>, activation:&A) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layer.rs:374:29 [INFO] [stdout] | [INFO] [stdout] 374 | fn batch_forward(&self, input: Self::BatchInput) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layer.rs:414:31 [INFO] [stdout] | [INFO] [stdout] 414 | fn batch_pre_train(&self, input: Self::BatchInput) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layer.rs:1108:29 [INFO] [stdout] | [INFO] [stdout] 1108 | fn batch_forward(&self, input: Self::BatchInput) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layer.rs:1144:31 [INFO] [stdout] | [INFO] [stdout] 1144 | fn batch_pre_train(&self, input: Self::BatchInput) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layer.rs:1213:72 [INFO] [stdout] | [INFO] [stdout] 1213 | ...: LossFunction>(&mut self, input: Self::BatchLossInput, stack: Self::BatchOutStack, optimizer: &mut OP, lossf: &L) -> Result<(), Tr... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/layer.rs:1213:101 [INFO] [stdout] | [INFO] [stdout] 1213 | ... input: Self::BatchLossInput, stack: Self::BatchOutStack, optimizer: &mut OP, lossf: &L) -> Result<(), TrainingError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optimizer` [INFO] [stdout] --> src/layer.rs:1213:129 [INFO] [stdout] | [INFO] [stdout] 1213 | ...ack: Self::BatchOutStack, optimizer: &mut OP, lossf: &L) -> Result<(), TrainingError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lossf` [INFO] [stdout] --> src/layer.rs:1213:149 [INFO] [stdout] | [INFO] [stdout] 1213 | ...OutStack, optimizer: &mut OP, lossf: &L) -> Result<(), TrainingError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lossf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/activation.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | let mut alpha = CudaPtr::try_from(alpha)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/activation.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let mut sum = CudaPtr::try_from(sum)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `swish_forward_double` is never used [INFO] [stdout] --> src/cuda/kernel/activation.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn swish_forward_double(input_output: *mut f64, len: size_t, units_len: size_t) -> c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `softmax_preprocessing_double` is never used [INFO] [stdout] --> src/cuda/kernel/activation.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn softmax_preprocessing_double(input: *const f64, len: size_t, batch_len: size_t, alpha: *mut f64, sum: *mut f64) -> c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [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:574 ~ nncombinator[7f51]::arr::{impl#41}::iter), local_id: 18 }, kind: OpaqueDef(ItemId { def_id: DefId(0:576 ~ nncombinator[7f51]::arr::{impl#41}::iter::{opaque#0}) }, [Lifetime(Lifetime { hir_id: HirId { owner: DefId(0:574 ~ nncombinator[7f51]::arr::{impl#41}::iter), local_id: 14 }, span: src/arr.rs:480:53: 480:63 (#0), name: Param(DefId(0:575 ~ nncombinator[7f51]::arr::{impl#41}::iter::'a), Plain('_#0)) }), Type(Ty { hir_id: HirId { owner: DefId(0:574 ~ nncombinator[7f51]::arr::{impl#41}::iter), local_id: 15 }, kind: Path(Resolved(None, Path { span: src/arr.rs:463:6: 463:7 (#0), res: Def(TyParam, DefId(0:570 ~ nncombinator[7f51]::arr::{impl#41}::T)), segments: [PathSegment { ident: T#0, hir_id: None, res: None, args: None, infer_args: true }] })), span: src/arr.rs:463:6: 463:7 (#0) }), Const(ConstArg { value: AnonConst { hir_id: HirId { owner: DefId(0:574 ~ nncombinator[7f51]::arr::{impl#41}::iter), local_id: 16 }, body: BodyId { hir_id: HirId { owner: DefId(0:574 ~ nncombinator[7f51]::arr::{impl#41}::iter), local_id: 17 } } }, span: src/arr.rs:463:8: 463:21 (#0) })]), span: src/arr.rs:480:34: 480:64 (#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/arr.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | impl DiffArr where T: Debug { [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/arr.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | impl DiffArr where T: Debug { [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] [stderr] thread 'rustc' panicked at 'Box', compiler/rustc_errors/src/lib.rs:1499:13 [INFO] [stdout] error: internal compiler error: broken MIR in DefId(0:4295 ~ nncombinator[7f51]::arr::{impl#41}::iter::{constant#0}) ("return type"): bad type [type error] [INFO] [stdout] --> src/arr.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | impl DiffArr where T: Debug { [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] stack backtrace: [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:4295 ~ nncombinator[7f51]::arr::{impl#41}::iter::{constant#0}) (LocalDecl { mutability: Mut, local_info: None, internal: false, is_block_tail: None, ty: [type error], user_ty: None, source_info: SourceInfo { span: src/arr.rs:463:8: 463:21 (#0), scope: scope[0] } }): bad type [type error] [INFO] [stdout] --> src/arr.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | impl DiffArr where T: Debug { [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: 0x7f21e5e35340 - 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: 0x7f21e5e35340 - 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: 0x7f21e5e35340 - std::sys_common::backtrace::_print_fmt::h91ed71259c388db3 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x7f21e5e35340 - ::fmt::hde15bb8cbf7665da [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x7f21e5e900fe - core::fmt::write::h9761a5598d7cc269 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/core/src/fmt/mod.rs:1202:17 [INFO] [stderr] 5: 0x7f21e5e25d15 - std::io::Write::write_fmt::h26becaaa3f318825 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/io/mod.rs:1679:15 [INFO] [stderr] 6: 0x7f21e5e37fd3 - std::sys_common::backtrace::_print::hc10fefd61e366dd2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x7f21e5e37fd3 - std::sys_common::backtrace::print::hd8c846072a354bbf [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x7f21e5e37fd3 - std::panicking::default_hook::{{closure}}::haa135eeb0555cd8c [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x7f21e5e37cbf - std::panicking::default_hook::h962e5f45e4e85804 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x7f21e86d0244 - rustc_driver[37844947c1c4e730]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f21e5e3880d - std::panicking::rust_panic_with_hook::h26097f8ccbe406f2 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/std/src/panicking.rs:702:17 [INFO] [stderr] 12: 0x7f21e97bff41 - std[17c996d5f6362125]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 13: 0x7f21e97bfa76 - std[17c996d5f6362125]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 14: 0x7f21e97bf736 - std[17c996d5f6362125]::panicking::begin_panic:: [INFO] [stderr] 15: 0x7f21e97c1fd6 - std[17c996d5f6362125]::panic::panic_any:: [INFO] [stderr] 16: 0x7f21e8196ef8 - ::drop [INFO] [stderr] 17: 0x7f21e7501198 - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 18: 0x7f21e74f2aa8 - as core[fae64f17691dff84]::ops::drop::Drop>::drop [INFO] [stderr] 19: 0x7f21e74f1e5d - core[fae64f17691dff84]::ptr::drop_in_place:: [INFO] [stderr] 20: 0x7f21e74f15d9 - 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: 0x7f21e74f0e12 - rustc_interface[5b9d04fc58ee7720]::interface::create_compiler_and_run::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}> [INFO] [stderr] 22: 0x7f21e74efa61 - >::set::, rustc_driver[37844947c1c4e730]::run_compiler::{closure#1}>::{closure#0}, core[fae64f17691dff84]::result::Result<(), rustc_errors[ffc9f8ad040f737d]::ErrorGuaranteed>> [INFO] [stderr] 23: 0x7f21e74ef74f - 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: 0x7f21e84ee629 - <::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: 0x7f21e5e42663 - as core::ops::function::FnOnce>::call_once::hbcba3d5baddb20d1 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 26: 0x7f21e5e42663 - as core::ops::function::FnOnce>::call_once::hcb40027853eebed4 [INFO] [stderr] at /rustc/c3491e21996dc67a8e37d9e5e74ed156563e9854/library/alloc/src/boxed.rs:1940:9 [INFO] [stderr] 27: 0x7f21e5e42663 - 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: 0x7f21e5cf2609 - start_thread [INFO] [stderr] 29: 0x7f21e5c15133 - 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 lib -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 `nncombinator`; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "411aaf845df40dfb606ce9d06eb7a3b92de17886701210bbfdf8a71b8d9f9a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411aaf845df40dfb606ce9d06eb7a3b92de17886701210bbfdf8a71b8d9f9a71", kill_on_drop: false }` [INFO] [stdout] 411aaf845df40dfb606ce9d06eb7a3b92de17886701210bbfdf8a71b8d9f9a71