Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: expected region for .. #125634

Closed
matthiaskrgr opened this issue May 27, 2024 · 4 comments · Fixed by #126884
Closed

ICE: expected region for .. #125634

matthiaskrgr opened this issue May 27, 2024 · 4 comments · Fixed by #126884
Labels
A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@matthiaskrgr
Copy link
Member

auto-reduced (treereduce-rust):

pub trait Trait {}

pub trait Foo {}

pub struct FooImpl<'a, 'b, A: Trait>();

impl<'a, 'b, T> Foo for FooImpl<'a, 'b, T>
where
    T: Trait,
{
    fn foo(&mut self) {
        self.enter_scope(|ctx| {
            BarImpl(ctx);
        });
    }
}

impl<'a, 'b, T> FooImpl<'a, 'b, T> {
    fn enter_scope(&mut self, _scope: impl FnOnce(&mut Self)) {}
}

pub struct BarImpl<'a, 'b, T: Trait>(&'b mut FooImpl<'a, 'b, T>);

original:

use std::marker::PhantomData;

pub trait Trait {}

pub trait Foo {
    type Trait: Trait;
    type Bar: Bar;
    fn foo(&mut self);
}

pub struct FooImpl<'a, 'b, A: Trait>(BarTrait<T>);

impl<'a, 'b, T> Foo for FooImpl<'a, 'b, T>
where
    T: Trait,
{
    type Trait = T;
    type Bar = BarImpl<'a, 'b, T>;

    fn foo(&mut self) {
        self.enter_scope(|ctx| {
            BarImpl(ctx);
        });
    }
}

impl<'a, 'b, T> FooImpl<'a, 'b, T>
where
    T: Trait,
{
    fn enter_scope(&mut self, _scope: impl FnOnce(&mut Self)) {}
}
pub trait Bar {
    type Foo: Foo;
}

pub struct BarImpl<'a, 'b, T: Trait>(&'b mut FooImpl<'a, 'b, T>);

impl<'a, 'b, T> Bar for BarImpl<'a, 'b, T>
where
    T: Trait,
{
    type Foo = FooImpl<'a, 'b, T>;
}

Version information

rustc 1.80.0-nightly (f6e4703e9 2024-05-27)
binary: rustc
commit-hash: f6e4703e91eedcc5e33ad2cf3f6c0d034782f245
commit-date: 2024-05-27
host: x86_64-unknown-linux-gnu
release: 1.80.0-nightly
LLVM version: 18.1.6

Command:
/home/matthias/.rustup/toolchains/master/bin/rustc

Program output

error[E0407]: method `foo` is not a member of trait `Foo`
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:11:5
   |
11 | /     fn foo(&mut self) {
12 | |         self.enter_scope(|ctx| {
13 | |             BarImpl(ctx);
14 | |         });
15 | |     }
   | |_____^ not a member of trait `Foo`

error[E0601]: `main` function not found in crate `mvce`
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:22:66
   |
22 | pub struct BarImpl<'a, 'b, T: Trait>(&'b mut FooImpl<'a, 'b, T>);
   |                                                                  ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs`

error[E0392]: lifetime parameter `'a` is never used
 --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:5:20
  |
5 | pub struct FooImpl<'a, 'b, A: Trait>();
  |                    ^^ unused lifetime parameter
  |
  = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: lifetime parameter `'b` is never used
 --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:5:24
  |
5 | pub struct FooImpl<'a, 'b, A: Trait>();
  |                        ^^ unused lifetime parameter
  |
  = help: consider removing `'b`, referring to it in a field, or using a marker such as `PhantomData`

error[E0392]: type parameter `A` is never used
 --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:5:28
  |
5 | pub struct FooImpl<'a, 'b, A: Trait>();
  |                            ^ unused type parameter
  |
  = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`

error[E0277]: the trait bound `T: Trait` is not satisfied
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:18:17
   |
18 | impl<'a, 'b, T> FooImpl<'a, 'b, T> {
   |                 ^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T`
   |
note: required by a bound in `FooImpl`
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:5:31
   |
5  | pub struct FooImpl<'a, 'b, A: Trait>();
   |                               ^^^^^ required by this bound in `FooImpl`
help: consider restricting type parameter `T`
   |
18 | impl<'a, 'b, T: Trait> FooImpl<'a, 'b, T> {
   |               +++++++

error[E0277]: the trait bound `T: Trait` is not satisfied
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:19:25
   |
19 |     fn enter_scope(&mut self, _scope: impl FnOnce(&mut Self)) {}
   |                         ^^^^ the trait `Trait` is not implemented for `T`
   |
note: required by a bound in `FooImpl`
  --> /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:5:31
   |
5  | pub struct FooImpl<'a, 'b, A: Trait>();
   |                               ^^^^^ required by this bound in `FooImpl`
help: consider restricting type parameter `T`
   |
18 | impl<'a, 'b, T: Trait> FooImpl<'a, 'b, T> {
   |               +++++++

thread 'rustc' panicked at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/compiler/rustc_type_ir/src/binder.rs:767:9:
expected region for `'a/#0` ('a/#0/0) but found Type(&'{erased} mut FooImpl<'{erased}, '{erased}, T/#2>) when instantiating args=[&'{erased} mut FooImpl<'{erased}, '{erased}, T/#2>, '?27, ?2t, Closure(DefId(0:15 ~ mvce[be9b]::{impl#0}::foo::{closure#0}), ['{erased}, '{erased}, T/#2, i32, Binder(fn((&ReLateParam(DefId(0:15 ~ mvce[be9b]::{impl#0}::foo::{closure#0}), BrAnon) mut FooImpl<'{erased}, '{erased}, T/#2>,)), []), ()])]
stack backtrace:
   0:     0x7d9da1f2f155 - std::backtrace_rs::backtrace::libunwind::trace::h5b7cf4bba7cac765
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1:     0x7d9da1f2f155 - std::backtrace_rs::backtrace::trace_unsynchronized::h93d323f41bd15d1a
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7d9da1f2f155 - std::sys_common::backtrace::_print_fmt::h3327b2f571b0be87
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7d9da1f2f155 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7601f667b7cd036b
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7d9da1f7e35b - core::fmt::rt::Argument::fmt::h6068c660b6aa14dd
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/core/src/fmt/rt.rs:165:63
   5:     0x7d9da1f7e35b - core::fmt::write::h8c83b3d9ccbd9ab0
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/core/src/fmt/mod.rs:1168:21
   6:     0x7d9da1f23edf - std::io::Write::write_fmt::hfb2780d9da85c05d
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/io/mod.rs:1835:15
   7:     0x7d9da1f2ef2e - std::sys_common::backtrace::_print::h80d192fe8bc7b210
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7d9da1f2ef2e - std::sys_common::backtrace::print::h97add2d0adf881c5
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7d9da1f31959 - std::panicking::default_hook::{{closure}}::h3bbae185248f1032
  10:     0x7d9da1f316fa - std::panicking::default_hook::h96b25b039d746565
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/panicking.rs:298:9
  11:     0x7d9d9e76f7ef - std[af357a8947fa518]::panicking::update_hook::<alloc[b9a9309cf11c9fbb]::boxed::Box<rustc_driver_impl[dce87f3633bd6d3]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7d9da1f3208b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3d83d6b97897f1f2
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/alloc/src/boxed.rs:2077:9
  13:     0x7d9da1f3208b - std::panicking::rust_panic_with_hook::h90a1236ac52f9cb8
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/panicking.rs:799:13
  14:     0x7d9da1f31e04 - std::panicking::begin_panic_handler::{{closure}}::he243a5a4218c0c12
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/panicking.rs:664:13
  15:     0x7d9da1f2f619 - std::sys_common::backtrace::__rust_end_short_backtrace::h5456a2cc5922b392
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7d9da1f31b37 - rust_begin_unwind
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/panicking.rs:652:5
  17:     0x7d9da1f7a8f3 - core::panicking::panic_fmt::h9de1aab48df80296
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/core/src/panicking.rs:72:14
  18:     0x7d9d9ec080a5 - <rustc_type_ir[69ca3d0c615e5edb]::binder::ArgFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt>>::region_param_expected
  19:     0x7d9d9fc2b514 - <rustc_type_ir[69ca3d0c615e5edb]::binder::ArgFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt> as rustc_type_ir[69ca3d0c615e5edb]::fold::TypeFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt>>::fold_ty
  20:     0x7d9d9fc289a9 - <rustc_type_ir[69ca3d0c615e5edb]::binder::ArgFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt> as rustc_type_ir[69ca3d0c615e5edb]::fold::TypeFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt>>::fold_ty
  21:     0x7d9d9fc29356 - <rustc_type_ir[69ca3d0c615e5edb]::binder::ArgFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt> as rustc_type_ir[69ca3d0c615e5edb]::fold::TypeFolder<rustc_middle[7c70eefbce8d2529]::ty::context::TyCtxt>>::fold_ty
  22:     0x7d9d9fc24ee8 - <rustc_middle[7c70eefbce8d2529]::ty::generics::GenericPredicates>::instantiate_into
  23:     0x7d9d9c773eb4 - <rustc_middle[7c70eefbce8d2529]::ty::generics::GenericPredicates>::instantiate
  24:     0x7d9d9e56f22d - <rustc_borrowck[2500609bed9f9c52]::MirBorrowckCtxt>::report_general_error
  25:     0x7d9d9e56c1d1 - <rustc_borrowck[2500609bed9f9c52]::MirBorrowckCtxt>::report_region_error
  26:     0x7d9da0abcfff - rustc_borrowck[2500609bed9f9c52]::do_mir_borrowck
  27:     0x7d9da0a8747e - rustc_query_impl[943312b0e79324d1]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[943312b0e79324d1]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 8usize]>>
  28:     0x7d9d9fd92eee - rustc_query_system[a59b298ec6d15034]::query::plumbing::try_execute_query::<rustc_query_impl[943312b0e79324d1]::DynamicConfig<rustc_query_system[a59b298ec6d15034]::query::caches::VecCache<rustc_span[6885e0588e8c2141]::def_id::LocalDefId, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[943312b0e79324d1]::plumbing::QueryCtxt, false>
  29:     0x7d9d9fd9294d - rustc_query_impl[943312b0e79324d1]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
  30:     0x7d9d9fef60a0 - rustc_middle[7c70eefbce8d2529]::query::plumbing::query_get_at::<rustc_query_system[a59b298ec6d15034]::query::caches::VecCache<rustc_span[6885e0588e8c2141]::def_id::LocalDefId, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 8usize]>>>
  31:     0x7d9d9fef610e - <rustc_borrowck[2500609bed9f9c52]::type_check::TypeChecker>::prove_closure_bounds
  32:     0x7d9d9ff281ce - <rustc_borrowck[2500609bed9f9c52]::type_check::TypeChecker>::typeck_mir
  33:     0x7d9d9d0ed647 - rustc_borrowck[2500609bed9f9c52]::type_check::type_check
  34:     0x7d9d9d0a5bb2 - rustc_borrowck[2500609bed9f9c52]::nll::compute_regions
  35:     0x7d9da0a94ea5 - rustc_borrowck[2500609bed9f9c52]::do_mir_borrowck
  36:     0x7d9da0a8747e - rustc_query_impl[943312b0e79324d1]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[943312b0e79324d1]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 8usize]>>
  37:     0x7d9d9fd92eee - rustc_query_system[a59b298ec6d15034]::query::plumbing::try_execute_query::<rustc_query_impl[943312b0e79324d1]::DynamicConfig<rustc_query_system[a59b298ec6d15034]::query::caches::VecCache<rustc_span[6885e0588e8c2141]::def_id::LocalDefId, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[943312b0e79324d1]::plumbing::QueryCtxt, false>
  38:     0x7d9d9fd9294d - rustc_query_impl[943312b0e79324d1]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
  39:     0x7d9da05790c4 - rustc_interface[e5ccd3756d67c002]::passes::analysis
  40:     0x7d9da057825b - rustc_query_impl[943312b0e79324d1]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[943312b0e79324d1]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 1usize]>>
  41:     0x7d9da092b125 - rustc_query_system[a59b298ec6d15034]::query::plumbing::try_execute_query::<rustc_query_impl[943312b0e79324d1]::DynamicConfig<rustc_query_system[a59b298ec6d15034]::query::caches::SingleCache<rustc_middle[7c70eefbce8d2529]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[943312b0e79324d1]::plumbing::QueryCtxt, false>
  42:     0x7d9da092ae8f - rustc_query_impl[943312b0e79324d1]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  43:     0x7d9da0785b4e - rustc_interface[e5ccd3756d67c002]::interface::run_compiler::<core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>, rustc_driver_impl[dce87f3633bd6d3]::run_compiler::{closure#0}>::{closure#1}
  44:     0x7d9da0770367 - std[af357a8947fa518]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[e5ccd3756d67c002]::util::run_in_thread_with_globals<rustc_interface[e5ccd3756d67c002]::util::run_in_thread_pool_with_globals<rustc_interface[e5ccd3756d67c002]::interface::run_compiler<core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>, rustc_driver_impl[dce87f3633bd6d3]::run_compiler::{closure#0}>::{closure#1}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>::{closure#0}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>
  45:     0x7d9da077012a - <<std[af357a8947fa518]::thread::Builder>::spawn_unchecked_<rustc_interface[e5ccd3756d67c002]::util::run_in_thread_with_globals<rustc_interface[e5ccd3756d67c002]::util::run_in_thread_pool_with_globals<rustc_interface[e5ccd3756d67c002]::interface::run_compiler<core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>, rustc_driver_impl[dce87f3633bd6d3]::run_compiler::{closure#0}>::{closure#1}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>::{closure#0}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[bfd5ce68dc337bd2]::result::Result<(), rustc_span[6885e0588e8c2141]::ErrorGuaranteed>>::{closure#2} as core[bfd5ce68dc337bd2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  46:     0x7d9da1f3beeb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he367ea009ea8ba63
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/alloc/src/boxed.rs:2063:9
  47:     0x7d9da1f3beeb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0de3b38223e24e0c
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/alloc/src/boxed.rs:2063:9
  48:     0x7d9da1f3beeb - std::sys::pal::unix::thread::Thread::new::thread_start::h470ec391a583e39e
                               at /rustc/f6e4703e91eedcc5e33ad2cf3f6c0d034782f245/library/std/src/sys/pal/unix/thread.rs:108:17
  49:     0x7d9d9b4aa1cf - <unknown>
  50:     0x7d9d9b52b6ec - <unknown>
  51:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

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

note: please make sure that you have updated to the latest nightly

note: rustc 1.80.0-nightly (f6e4703e9 2024-05-27) running on x86_64-unknown-linux-gnu

query stack during panic:
#0 [mir_borrowck] borrow-checking `<impl at /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:7:1: 9:14>::foo::{closure#0}`
#1 [mir_borrowck] borrow-checking `<impl at /tmp/icemaker_global_tempdir.KlSl3E2oW0vz/rustc_testrunner_tmpdir_reporting.P1izYYvalAKk/mvce.rs:7:1: 9:14>::foo`
end of query stack
error: aborting due to 7 previous errors

Some errors have detailed explanations: E0277, E0392, E0407, E0601.
For more information about an error, try `rustc --explain E0277`.

@matthiaskrgr matthiaskrgr added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels May 27, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label May 27, 2024
@theemathas
Copy link
Contributor

theemathas commented May 28, 2024

ICEs on nightly and beta, but not on stable.

Minimized further:

struct Thing;

// Invariant in 'a, Covariant in 'b
struct TwoThings<'a, 'b>(*mut &'a (), &'b mut ());

impl Thing {
    fn enter_scope<'a>(self, _scope: impl for<'b> FnOnce(TwoThings<'a, 'b>)) {}
}

fn foo() {
    Thing.enter_scope(|ctx| {
        SameLifetime(ctx);
    });
}

struct SameLifetime<'a>(TwoThings<'a, 'a>);
Program output
   Compiling playground v0.0.1 (/playground)
thread 'rustc' panicked at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/compiler/rustc_type_ir/src/binder.rs:767:9:
expected region for `'a/#0` ('a/#0/0) but found Type(Thing) when instantiating args=[Thing, Closure(DefId(0:16 ~ playground[c67e]::foo::{closure#0}), [i32, Binder(fn((TwoThings<'{erased}, ReLateParam(DefId(0:16 ~ playground[c67e]::foo::{closure#0}), BrAnon)>,)), []), ()])]
stack backtrace:
   0:     0x7f60db533155 - std::backtrace_rs::backtrace::libunwind::trace::h2e84716758cca558
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1:     0x7f60db533155 - std::backtrace_rs::backtrace::trace_unsynchronized::hb3ed557fca7242cc
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f60db533155 - std::sys_common::backtrace::_print_fmt::hb0f10f91238a0096
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7f60db533155 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h852f5b172565b456
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f60db58235b - core::fmt::rt::Argument::fmt::hd416313f4ba36756
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/core/src/fmt/rt.rs:165:63
   5:     0x7f60db58235b - core::fmt::write::h0fe66311516c17da
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/core/src/fmt/mod.rs:1168:21
   6:     0x7f60db527edf - std::io::Write::write_fmt::had3091ab7db0ae31
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/io/mod.rs:1835:15
   7:     0x7f60db532f2e - std::sys_common::backtrace::_print::hc0dd4fd46c6c496b
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f60db532f2e - std::sys_common::backtrace::print::h1bf67ced2e688658
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f60db535959 - std::panicking::default_hook::{{closure}}::h1ecb85d4a200d366
  10:     0x7f60db5356fa - std::panicking::default_hook::h36cf8995acb7e516
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/panicking.rs:298:9
  11:     0x7f60de7182ff - std[d95a2c7d06309c9c]::panicking::update_hook::<alloc[4f333868965f9f2f]::boxed::Box<rustc_driver_impl[639cf1cd1f0d24bb]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f60db53608b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h706bc9e55d581e3a
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/alloc/src/boxed.rs:2077:9
  13:     0x7f60db53608b - std::panicking::rust_panic_with_hook::h632bd0ea3dc19d0a
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/panicking.rs:799:13
  14:     0x7f60db535e04 - std::panicking::begin_panic_handler::{{closure}}::hd420ffa4c99569f8
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/panicking.rs:664:13
  15:     0x7f60db533619 - std::sys_common::backtrace::__rust_end_short_backtrace::h71b0be4d0a4a1270
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f60db535b37 - rust_begin_unwind
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/panicking.rs:652:5
  17:     0x7f60db57e8f3 - core::panicking::panic_fmt::h35d62e7c1359f628
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/core/src/panicking.rs:72:14
  18:     0x7f60debbcd95 - <rustc_type_ir[1607d7b93e38b5f7]::binder::ArgFolder<rustc_middle[f4eb52d5f8141bbb]::ty::context::TyCtxt>>::region_param_expected
  19:     0x7f60dfbd2b1a - <rustc_type_ir[1607d7b93e38b5f7]::binder::ArgFolder<rustc_middle[f4eb52d5f8141bbb]::ty::context::TyCtxt> as rustc_type_ir[1607d7b93e38b5f7]::fold::TypeFolder<rustc_middle[f4eb52d5f8141bbb]::ty::context::TyCtxt>>::fold_ty
  20:     0x7f60dfbd0696 - <rustc_type_ir[1607d7b93e38b5f7]::binder::ArgFolder<rustc_middle[f4eb52d5f8141bbb]::ty::context::TyCtxt> as rustc_type_ir[1607d7b93e38b5f7]::fold::TypeFolder<rustc_middle[f4eb52d5f8141bbb]::ty::context::TyCtxt>>::fold_ty
  21:     0x7f60dfbcc053 - <rustc_middle[f4eb52d5f8141bbb]::ty::generics::GenericPredicates>::instantiate_into
  22:     0x7f60dc71c624 - <rustc_middle[f4eb52d5f8141bbb]::ty::generics::GenericPredicates>::instantiate
  23:     0x7f60de5165dd - <rustc_borrowck[92c716c545d2887a]::MirBorrowckCtxt>::report_general_error
  24:     0x7f60de513581 - <rustc_borrowck[92c716c545d2887a]::MirBorrowckCtxt>::report_region_error
  25:     0x7f60e0a898f9 - rustc_borrowck[92c716c545d2887a]::do_mir_borrowck
  26:     0x7f60e0a53d7e - rustc_query_impl[39defd766caf5695]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[39defd766caf5695]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 8usize]>>
  27:     0x7f60dfd30b2e - rustc_query_system[af6f3db3eb0517aa]::query::plumbing::try_execute_query::<rustc_query_impl[39defd766caf5695]::DynamicConfig<rustc_query_system[af6f3db3eb0517aa]::query::caches::VecCache<rustc_span[6897b8fb942bba37]::def_id::LocalDefId, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[39defd766caf5695]::plumbing::QueryCtxt, false>
  28:     0x7f60dfd3058d - rustc_query_impl[39defd766caf5695]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
  29:     0x7f60dfea27e0 - rustc_middle[f4eb52d5f8141bbb]::query::plumbing::query_get_at::<rustc_query_system[af6f3db3eb0517aa]::query::caches::VecCache<rustc_span[6897b8fb942bba37]::def_id::LocalDefId, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 8usize]>>>
  30:     0x7f60dfea284e - <rustc_borrowck[92c716c545d2887a]::type_check::TypeChecker>::prove_closure_bounds
  31:     0x7f60dfed5077 - <rustc_borrowck[92c716c545d2887a]::type_check::TypeChecker>::typeck_mir
  32:     0x7f60dd2c3737 - rustc_borrowck[92c716c545d2887a]::type_check::type_check
  33:     0x7f60dd271882 - rustc_borrowck[92c716c545d2887a]::nll::compute_regions
  34:     0x7f60e0a617a2 - rustc_borrowck[92c716c545d2887a]::do_mir_borrowck
  35:     0x7f60e0a53d7e - rustc_query_impl[39defd766caf5695]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[39defd766caf5695]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 8usize]>>
  36:     0x7f60dfd30b2e - rustc_query_system[af6f3db3eb0517aa]::query::plumbing::try_execute_query::<rustc_query_impl[39defd766caf5695]::DynamicConfig<rustc_query_system[af6f3db3eb0517aa]::query::caches::VecCache<rustc_span[6897b8fb942bba37]::def_id::LocalDefId, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[39defd766caf5695]::plumbing::QueryCtxt, false>
  37:     0x7f60dfd3058d - rustc_query_impl[39defd766caf5695]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
  38:     0x7f60e05d8304 - rustc_interface[95b5883725526a6a]::passes::analysis
  39:     0x7f60e05d749b - rustc_query_impl[39defd766caf5695]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[39defd766caf5695]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 1usize]>>
  40:     0x7f60e090c125 - rustc_query_system[af6f3db3eb0517aa]::query::plumbing::try_execute_query::<rustc_query_impl[39defd766caf5695]::DynamicConfig<rustc_query_system[af6f3db3eb0517aa]::query::caches::SingleCache<rustc_middle[f4eb52d5f8141bbb]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[39defd766caf5695]::plumbing::QueryCtxt, false>
  41:     0x7f60e090be8f - rustc_query_impl[39defd766caf5695]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  42:     0x7f60e072494e - rustc_interface[95b5883725526a6a]::interface::run_compiler::<core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>, rustc_driver_impl[639cf1cd1f0d24bb]::run_compiler::{closure#0}>::{closure#1}
  43:     0x7f60e0710ae7 - std[d95a2c7d06309c9c]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[95b5883725526a6a]::util::run_in_thread_with_globals<rustc_interface[95b5883725526a6a]::util::run_in_thread_pool_with_globals<rustc_interface[95b5883725526a6a]::interface::run_compiler<core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>, rustc_driver_impl[639cf1cd1f0d24bb]::run_compiler::{closure#0}>::{closure#1}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>::{closure#0}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>
  44:     0x7f60e07108aa - <<std[d95a2c7d06309c9c]::thread::Builder>::spawn_unchecked_<rustc_interface[95b5883725526a6a]::util::run_in_thread_with_globals<rustc_interface[95b5883725526a6a]::util::run_in_thread_pool_with_globals<rustc_interface[95b5883725526a6a]::interface::run_compiler<core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>, rustc_driver_impl[639cf1cd1f0d24bb]::run_compiler::{closure#0}>::{closure#1}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>::{closure#0}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[d48e893a67888ba4]::result::Result<(), rustc_span[6897b8fb942bba37]::ErrorGuaranteed>>::{closure#2} as core[d48e893a67888ba4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  45:     0x7f60db53feeb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3e75214001d556a9
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/alloc/src/boxed.rs:2063:9
  46:     0x7f60db53feeb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h20b9dbfb989fe76c
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/alloc/src/boxed.rs:2063:9
  47:     0x7f60db53feeb - std::sys::pal::unix::thread::Thread::new::thread_start::h7c7dbdc729c9eeaa
                               at /rustc/84b40fc908c3adc7e0e470b3fbaa264df0e122b8/library/std/src/sys/pal/unix/thread.rs:108:17
  48:     0x7f60db44e609 - start_thread
  49:     0x7f60db371353 - clone
  50:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

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

note: please make sure that you have updated to the latest nightly

note: please attach the file at `/playground/rustc-ice-2024-05-28T05_06_57-53.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [mir_borrowck] borrow-checking `foo::{closure#0}`
#1 [mir_borrowck] borrow-checking `foo`
end of query stack
note: no errors encountered even though delayed bugs were created

note: those delayed bugs will now be shown as internal compiler errors

error: internal compiler error: RegionError { fr_origin: FreeRegion, longer_fr: '?2, shorter_fr: '?1, is_reported: true }
  |
  = note: delayed at compiler/rustc_borrowck/src/region_infer/mod.rs:1607:31 - disabled backtrace

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

note: please make sure that you have updated to the latest nightly

note: please attach the file at `/playground/rustc-ice-2024-05-28T05_06_57-53.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
thread 'rustc' panicked at library/core/src/panicking.rs:227:5:
panic in a destructor during cleanup

error: the compiler unexpectedly panicked. this is a bug.

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

note: please make sure that you have updated to the latest nightly

note: please attach the file at `/playground/rustc-ice-2024-05-28T05_06_57-53.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
thread caused non-unwinding panic. aborting.
error: could not compile `playground` (lib)

Caused by:
  process didn't exit successfully: `/playground/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name playground --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=92dab5f2bbb6e5fd -C extra-filename=-92dab5f2bbb6e5fd --out-dir /playground/target/debug/deps -L dependency=/playground/target/debug/deps --extern addr2line=/playground/target/debug/deps/libaddr2line-4c1054d9dd2e7a86.rmeta --extern adler=/playground/target/debug/deps/libadler-3f09a6a29672e991.rmeta --extern ahash=/playground/target/debug/deps/libahash-97bcc6cef9f3c0b6.rmeta --extern aho_corasick=/playground/target/debug/deps/libaho_corasick-cf15d2c8c0219be3.rmeta --extern aligned_vec=/playground/target/debug/deps/libaligned_vec-4040c93a23c712d8.rmeta --extern allocator_api2=/playground/target/debug/deps/liballocator_api2-e718a8c7e3ab25b4.rmeta --extern ansi_term=/playground/target/debug/deps/libansi_term-05a0059bfefa5637.rmeta --extern anstream=/playground/target/debug/deps/libanstream-1f727eaff7f9de2c.rmeta --extern anstyle=/playground/target/debug/deps/libanstyle-4da20decc70f290d.rmeta --extern anstyle_parse=/playground/target/debug/deps/libanstyle_parse-10b8405c4196e859.rmeta --extern anstyle_query=/playground/target/debug/deps/libanstyle_query-1453c50ba2bb035e.rmeta --extern anyhow=/playground/target/debug/deps/libanyhow-828b49648a0ec004.rmeta --extern approx=/playground/target/debug/deps/libapprox-e643372df5564005.rmeta --extern arc_swap=/playground/target/debug/deps/libarc_swap-63595da798af843e.rmeta --extern arg_enum_proc_macro=/playground/target/debug/deps/libarg_enum_proc_macro-811ab72c71ad2874.so --extern arrayvec=/playground/target/debug/deps/libarrayvec-5f1d48869ec4397d.rmeta --extern async_trait=/playground/target/debug/deps/libasync_trait-c07c68a83b671bae.so --extern atomic=/playground/target/debug/deps/libatomic-d97888090da54f0e.rmeta --extern atomic_waker=/playground/target/debug/deps/libatomic_waker-f4f217246ab9f6f1.rmeta --extern autocfg=/playground/target/debug/deps/libautocfg-6bb9b259b056a0b7.rmeta --extern av1_grain=/playground/target/debug/deps/libav1_grain-6ce7ebf1110f0fed.rmeta --extern avif_serialize=/playground/target/debug/deps/libavif_serialize-cdf2ba44285ef02f.rmeta --extern backtrace=/playground/target/debug/deps/libbacktrace-65b24561f7a7490c.rmeta --extern base64_0_21_7=/playground/target/debug/deps/libbase64-1a1618cb3c338812.rmeta --extern base64=/playground/target/debug/deps/libbase64-ee0043206bfc53cf.rmeta --extern bit_set=/playground/target/debug/deps/libbit_set-8b78f1ed1a1d5a90.rmeta --extern bit_vec=/playground/target/debug/deps/libbit_vec-2d247e0a8ee0b1fd.rmeta --extern bit_field=/playground/target/debug/deps/libbit_field-59fcd3c19a5466e2.rmeta --extern bitflags_1_3_2=/playground/target/debug/deps/libbitflags-ad1920bfb419c0bc.rmeta --extern bitflags=/playground/target/debug/deps/libbitflags-430257a4b6c39fc3.rmeta --extern bitstream_io=/playground/target/debug/deps/libbitstream_io-8800c7915ee89e1f.rmeta --extern block_buffer=/playground/target/debug/deps/libblock_buffer-c754ec799ba3f0c0.rmeta --extern built=/playground/target/debug/deps/libbuilt-f435d1226c625116.rmeta --extern bumpalo=/playground/target/debug/deps/libbumpalo-a18e1280621168b7.rmeta --extern bytemuck=/playground/target/debug/deps/libbytemuck-f73704ab5677bcb8.rmeta --extern bytemuck_derive=/playground/target/debug/deps/libbytemuck_derive-75c007ac4ca74c83.so --extern byteorder=/playground/target/debug/deps/libbyteorder-e159530ef32e7331.rmeta --extern byteorder_lite=/playground/target/debug/deps/libbyteorder_lite-ac418e53dea7797e.rmeta --extern bytes_0_4_12=/playground/target/debug/deps/libbytes-066926fadd2b31f5.rmeta --extern bytes=/playground/target/debug/deps/libbytes-bbad9f7cf1ca8122.rmeta --extern cc=/playground/target/debug/deps/libcc-5b1ef68906d898e7.rmeta --extern cfg_if=/playground/target/debug/deps/libcfg_if-59fd35abb8bea8be.rmeta --extern cfg_aliases=/playground/target/debug/deps/libcfg_aliases-c32965476c42ec69.rmeta --extern chrono=/playground/target/debug/deps/libchrono-96bfd18b51e3781f.rmeta --extern clap=/playground/target/debug/deps/libclap-661ea974eafef6f8.rmeta --extern clap_builder=/playground/target/debug/deps/libclap_builder-da8e998158e58d23.rmeta --extern clap_derive=/playground/target/debug/deps/libclap_derive-b0d8f1d566430a8f.so --extern clap_lex=/playground/target/debug/deps/libclap_lex-0a3438fb7a9e265b.rmeta --extern color_quant=/playground/target/debug/deps/libcolor_quant-e7403b9c068f2d68.rmeta --extern colorchoice=/playground/target/debug/deps/libcolorchoice-d78a623bbfdfad05.rmeta --extern const_default=/playground/target/debug/deps/libconst_default-8efd432a44ffdd2e.rmeta --extern cookie=/playground/target/debug/deps/libcookie-37cb8a7ba699c86e.rmeta --extern cookie_store=/playground/target/debug/deps/libcookie_store-60a961828c031082.rmeta --extern cpufeatures=/playground/target/debug/deps/libcpufeatures-1eb599c05b5e5fec.rmeta --extern crc32fast=/playground/target/debug/deps/libcrc32fast-529b5b94aea41cde.rmeta --extern crossbeam=/playground/target/debug/deps/libcrossbeam-65e35073ea1e99c3.rmeta --extern crossbeam_channel=/playground/target/debug/deps/libcrossbeam_channel-55344e4a07623b8f.rmeta --extern crossbeam_deque=/playground/target/debug/deps/libcrossbeam_deque-c336f8b8dce477aa.rmeta --extern crossbeam_epoch=/playground/target/debug/deps/libcrossbeam_epoch-944a52cf02e5b9d2.rmeta --extern crossbeam_queue=/playground/target/debug/deps/libcrossbeam_queue-ea6ea8de998ecb33.rmeta --extern crossbeam_utils=/playground/target/debug/deps/libcrossbeam_utils-69cc502790cce516.rmeta --extern crypto_common=/playground/target/debug/deps/libcrypto_common-c20512af34db6713.rmeta --extern csv=/playground/target/debug/deps/libcsv-2eb74d177b296040.rmeta --extern csv_core=/playground/target/debug/deps/libcsv_core-1509dc74cdd8e3a4.rmeta --extern data_encoding=/playground/target/debug/deps/libdata_encoding-76212c157d552f2c.rmeta --extern deranged=/playground/target/debug/deps/libderanged-33479523b78ca0be.rmeta --extern derivative=/playground/target/debug/deps/libderivative-740a947384b17ca3.so --extern destructure_traitobject=/playground/target/debug/deps/libdestructure_traitobject-b080bf825f241b55.rmeta --extern digest=/playground/target/debug/deps/libdigest-dbda06513231578c.rmeta --extern either=/playground/target/debug/deps/libeither-70770f4649d435bb.rmeta --extern encoding_rs=/playground/target/debug/deps/libencoding_rs-0bebf02fa985070a.rmeta --extern env_filter=/playground/target/debug/deps/libenv_filter-a0c94fc29b9f9b4b.rmeta --extern env_logger=/playground/target/debug/deps/libenv_logger-41ed162fda894d0f.rmeta --extern equivalent=/playground/target/debug/deps/libequivalent-412bfd857fdec5e5.rmeta --extern errno=/playground/target/debug/deps/liberrno-c5016c25efed3aaa.rmeta --extern error_chain=/playground/target/debug/deps/liberror_chain-11af2f4c4df8bc4c.rmeta --extern exr=/playground/target/debug/deps/libexr-f2abcbc96f4f9144.rmeta --extern fallible_iterator_0_2_0=/playground/target/debug/deps/libfallible_iterator-4efe1a6224a45962.rmeta --extern fallible_iterator=/playground/target/debug/deps/libfallible_iterator-2e43403b7663c233.rmeta --extern fallible_streaming_iterator=/playground/target/debug/deps/libfallible_streaming_iterator-710dfcc86a75e434.rmeta --extern faster_hex=/playground/target/debug/deps/libfaster_hex-10f70e2d0dd4561c.rmeta --extern fastrand=/playground/target/debug/deps/libfastrand-7bbd8164197e7d95.rmeta --extern fdeflate=/playground/target/debug/deps/libfdeflate-c477868a74044a8c.rmeta --extern filetime=/playground/target/debug/deps/libfiletime-dfd6f5cd93a2df31.rmeta --extern finl_unicode=/playground/target/debug/deps/libfinl_unicode-874dfffcf7889dc0.rmeta --extern fixedbitset=/playground/target/debug/deps/libfixedbitset-56fdcb6d3120aa1c.rmeta --extern flate2=/playground/target/debug/deps/libflate2-d33db3c232b9ab19.rmeta --extern flume=/playground/target/debug/deps/libflume-f5642555f57872cf.rmeta --extern fnv=/playground/target/debug/deps/libfnv-b87f391f84df4168.rmeta --extern foreign_types=/playground/target/debug/deps/libforeign_types-bf1014ffc62f0ae0.rmeta --extern foreign_types_shared=/playground/target/debug/deps/libforeign_types_shared-e8820102b4a82b58.rmeta --extern form_urlencoded=/playground/target/debug/deps/libform_urlencoded-1bdd9f06d2adc69d.rmeta --extern futf=/playground/target/debug/deps/libfutf-2ea1554fefb2e49e.rmeta --extern futures_0_1_31=/playground/target/debug/deps/libfutures-12ad2a82a5d3e695.rmeta --extern futures=/playground/target/debug/deps/libfutures-d1a1e4239675fef5.rmeta --extern futures_channel=/playground/target/debug/deps/libfutures_channel-eb73a55562a413ee.rmeta --extern futures_core=/playground/target/debug/deps/libfutures_core-ad0c125cdf24786b.rmeta --extern futures_executor=/playground/target/debug/deps/libfutures_executor-a534acfccec7819a.rmeta --extern futures_io=/playground/target/debug/deps/libfutures_io-db8e49ccde7de409.rmeta --extern futures_macro=/playground/target/debug/deps/libfutures_macro-a8223d0dc5018357.so --extern futures_sink=/playground/target/debug/deps/libfutures_sink-98d00ecf507f01a6.rmeta --extern futures_task=/playground/target/debug/deps/libfutures_task-664a35a0924d0bf1.rmeta --extern futures_util=/playground/target/debug/deps/libfutures_util-0edb5eb574dec25a.rmeta --extern generic_array_0_14_7=/playground/target/debug/deps/libgeneric_array-3e20fa87d178dde2.rmeta --extern generic_array=/playground/target/debug/deps/libgeneric_array-82508cc4bf14a3c3.rmeta --extern getrandom=/playground/target/debug/deps/libgetrandom-58311385c2de8434.rmeta --extern gif=/playground/target/debug/deps/libgif-7b41a0d630389527.rmeta --extern gimli=/playground/target/debug/deps/libgimli-41245e7be5476f28.rmeta --extern glob=/playground/target/debug/deps/libglob-1e2a4b0324293862.rmeta --extern h2=/playground/target/debug/deps/libh2-29d2217c086f93d2.rmeta --extern half=/playground/target/debug/deps/libhalf-84a67054715a6c20.rmeta --extern hashbrown_0_12_3=/playground/target/debug/deps/libhashbrown-0114bddb4ace02ff.rmeta --extern hashbrown=/playground/target/debug/deps/libhashbrown-62e397057054dba5.rmeta --extern hashlink=/playground/target/debug/deps/libhashlink-24dfe2c4a9c55297.rmeta --extern hdrhistogram=/playground/target/debug/deps/libhdrhistogram-ba98c786e4aa4427.rmeta --extern heck=/playground/target/debug/deps/libheck-3726cb74edb52c42.rmeta --extern hmac=/playground/target/debug/deps/libhmac-bb35b556ae1a0750.rmeta --extern html5ever=/playground/target/debug/deps/libhtml5ever-021aaaa25093dbc3.rmeta --extern http=/playground/target/debug/deps/libhttp-8a2e8136da744a30.rmeta --extern http_body=/playground/target/debug/deps/libhttp_body-50106726f45de449.rmeta --extern http_body_util=/playground/target/debug/deps/libhttp_body_util-575beee291b101c3.rmeta --extern httparse=/playground/target/debug/deps/libhttparse-9ca89fed19e6a4ab.rmeta --extern httpdate=/playground/target/debug/deps/libhttpdate-c240583034884b92.rmeta --extern humantime=/playground/target/debug/deps/libhumantime-dfd0f3ccc342d605.rmeta --extern hyper=/playground/target/debug/deps/libhyper-60d14d5335160b41.rmeta --extern hyper_tls=/playground/target/debug/deps/libhyper_tls-7a9bcc45b7f0b627.rmeta --extern hyper_util=/playground/target/debug/deps/libhyper_util-92587dc2718d82a8.rmeta --extern iana_time_zone=/playground/target/debug/deps/libiana_time_zone-eb18dd6f45b53480.rmeta --extern idna_0_3_0=/playground/target/debug/deps/libidna-fcb78dae081e343f.rmeta --extern idna=/playground/target/debug/deps/libidna-d4de1a28b6c8706b.rmeta --extern image=/playground/target/debug/deps/libimage-cc2d91e3af6b94ba.rmeta --extern image_webp=/playground/target/debug/deps/libimage_webp-83c648d315677758.rmeta --extern imgref=/playground/target/debug/deps/libimgref-14c3f6543a9943d6.rmeta --extern indexmap_1_9_3=/playground/target/debug/deps/libindexmap-85ae8981fb4aa4ae.rmeta --extern indexmap=/playground/target/debug/deps/libindexmap-5595862210673e55.rmeta --extern iovec=/playground/target/debug/deps/libiovec-f29f4bffadbf36d4.rmeta --extern ipnet=/playground/target/debug/deps/libipnet-010cf52d3a0b10b5.rmeta --extern is_terminal_polyfill=/playground/target/debug/deps/libis_terminal_polyfill-ea27aea67db3eb6f.rmeta --extern itertools_0_12_1=/playground/target/debug/deps/libitertools-98c028e05c44de67.rmeta --extern itertools=/playground/target/debug/deps/libitertools-13d69655cde99ac5.rmeta --extern itoa=/playground/target/debug/deps/libitoa-95d99ed1b7c2d8bb.rmeta --extern jobserver=/playground/target/debug/deps/libjobserver-747e2e9e53b811ef.rmeta --extern jpeg_decoder=/playground/target/debug/deps/libjpeg_decoder-283d39bcc5f09e65.rmeta --extern lazy_static=/playground/target/debug/deps/liblazy_static-a5f0aebdd3d55e16.rmeta --extern lebe=/playground/target/debug/deps/liblebe-72f2d477d6c93f20.rmeta --extern libc=/playground/target/debug/deps/liblibc-84098293a3db4db1.rmeta --extern libm=/playground/target/debug/deps/liblibm-fc897264656bf591.rmeta --extern libsqlite3_sys=/playground/target/debug/deps/liblibsqlite3_sys-276022553c125058.rmeta --extern linux_raw_sys=/playground/target/debug/deps/liblinux_raw_sys-816df20e9cde720c.rmeta --extern lock_api=/playground/target/debug/deps/liblock_api-b59bd11b4670fced.rmeta --extern log=/playground/target/debug/deps/liblog-db50cfe0c58b3180.rmeta --extern log_mdc=/playground/target/debug/deps/liblog_mdc-a4c23800e3e739b2.rmeta --extern log4rs=/playground/target/debug/deps/liblog4rs-f84ca98eb18144d2.rmeta --extern loop9=/playground/target/debug/deps/libloop9-c79e3e985fed7500.rmeta --extern mac=/playground/target/debug/deps/libmac-dcc37a52a3bec462.rmeta --extern markup5ever=/playground/target/debug/deps/libmarkup5ever-d3f5c59aa51c290f.rmeta --extern markup5ever_rcdom=/playground/target/debug/deps/libmarkup5ever_rcdom-c1b1aac8a49a16c2.rmeta --extern matrixmultiply=/playground/target/debug/deps/libmatrixmultiply-b074512a3bba9c05.rmeta --extern maybe_rayon=/playground/target/debug/deps/libmaybe_rayon-c39612c02419eadb.rmeta --extern md5=/playground/target/debug/deps/libmd5-918897c391f837a0.rmeta --extern memchr=/playground/target/debug/deps/libmemchr-91741b0190459fe4.rmeta --extern memmap=/playground/target/debug/deps/libmemmap-ab1c7e70e14f6b32.rmeta --extern memoffset=/playground/target/debug/deps/libmemoffset-d83615ea4abf52ed.rmeta --extern mime=/playground/target/debug/deps/libmime-09780aa9afc6dfb4.rmeta --extern mime_guess=/playground/target/debug/deps/libmime_guess-45aaba32cb0c0807.rmeta --extern minimal_lexical=/playground/target/debug/deps/libminimal_lexical-c9457124796fd7df.rmeta --extern miniz_oxide=/playground/target/debug/deps/libminiz_oxide-fb1df282b097bc1c.rmeta --extern mio=/playground/target/debug/deps/libmio-2eda27b3eefefc49.rmeta --extern nalgebra=/playground/target/debug/deps/libnalgebra-71d5e4c593b80862.rmeta --extern nalgebra_macros=/playground/target/debug/deps/libnalgebra_macros-555305ed7dae6e49.so --extern native_tls=/playground/target/debug/deps/libnative_tls-b646b46f7c681049.rmeta --extern ndarray=/playground/target/debug/deps/libndarray-657ecdecfbf2a3e2.rmeta --extern debug_unreachable=/playground/target/debug/deps/libdebug_unreachable-840d25d29f858f82.rmeta --extern nix=/playground/target/debug/deps/libnix-172acfb44662e98a.rmeta --extern nom=/playground/target/debug/deps/libnom-1d5492b997315379.rmeta --extern noop_proc_macro=/playground/target/debug/deps/libnoop_proc_macro-ba5a81767f96b27f.so --extern num=/playground/target/debug/deps/libnum-920794263ebdaa0f.rmeta --extern num_bigint=/playground/target/debug/deps/libnum_bigint-192c3b4ae4cf19c6.rmeta --extern num_complex=/playground/target/debug/deps/libnum_complex-545dee1357934238.rmeta --extern num_conv=/playground/target/debug/deps/libnum_conv-8c9cbc0ac81ba02b.rmeta --extern num_derive=/playground/target/debug/deps/libnum_derive-30bc3037cf190d73.so --extern num_integer=/playground/target/debug/deps/libnum_integer-2f216d53c50de2ab.rmeta --extern num_iter=/playground/target/debug/deps/libnum_iter-ec1fa1899d3f7f56.rmeta --extern num_rational=/playground/target/debug/deps/libnum_rational-970f691e8d638e61.rmeta --extern num_traits=/playground/target/debug/deps/libnum_traits-84f3f6b9b23121cd.rmeta --extern num_cpus=/playground/target/debug/deps/libnum_cpus-7c510fb394b3994b.rmeta --extern object=/playground/target/debug/deps/libobject-97c0c1d06c305014.rmeta --extern once_cell=/playground/target/debug/deps/libonce_cell-65f5ef3666d1308c.rmeta --extern openssl=/playground/target/debug/deps/libopenssl-ef7dda9fbb44f7c9.rmeta --extern openssl_macros=/playground/target/debug/deps/libopenssl_macros-88e358df5aa24f3f.so --extern openssl_probe=/playground/target/debug/deps/libopenssl_probe-53373f83cce4ce19.rmeta --extern openssl_sys=/playground/target/debug/deps/libopenssl_sys-0c7d4108c50354f2.rmeta --extern ordered_float=/playground/target/debug/deps/libordered_float-491182317ba16251.rmeta --extern parking_lot=/playground/target/debug/deps/libparking_lot-045942b26ded9c60.rmeta --extern parking_lot_core=/playground/target/debug/deps/libparking_lot_core-c538a0624b5564e3.rmeta --extern paste=/playground/target/debug/deps/libpaste-d57b4cb5f13d84ef.so --extern percent_encoding=/playground/target/debug/deps/libpercent_encoding-98dc5239e671d89b.rmeta --extern petgraph=/playground/target/debug/deps/libpetgraph-c902a0a33b2a5e87.rmeta --extern phf_0_10_1=/playground/target/debug/deps/libphf-923a40d94bee4ab8.rmeta --extern phf=/playground/target/debug/deps/libphf-f47549fdd29f3fe9.rmeta --extern phf_codegen=/playground/target/debug/deps/libphf_codegen-68069175269b3b70.rmeta --extern phf_generator_0_10_0=/playground/target/debug/deps/libphf_generator-2a14f1716a1fb2ba.rmeta --extern phf_generator=/playground/target/debug/deps/libphf_generator-3ad9f17e6974409b.rmeta --extern phf_macros=/playground/target/debug/deps/libphf_macros-4a601edc0f8792c0.so --extern phf_shared_0_10_0=/playground/target/debug/deps/libphf_shared-445484f4dfe00074.rmeta --extern phf_shared=/playground/target/debug/deps/libphf_shared-9d6e97eaab9eb05a.rmeta --extern pin_project=/playground/target/debug/deps/libpin_project-3a7e3cbd904d0c1a.rmeta --extern pin_project_internal=/playground/target/debug/deps/libpin_project_internal-c268d70cc70679f2.so --extern pin_project_lite=/playground/target/debug/deps/libpin_project_lite-b42455a34bfaf72b.rmeta --extern pin_utils=/playground/target/debug/deps/libpin_utils-a8b22815580c0df9.rmeta --extern pkg_config=/playground/target/debug/deps/libpkg_config-c3aec8bc08b9ea08.rmeta --extern png=/playground/target/debug/deps/libpng-0a8f980e583081dd.rmeta --extern postgres=/playground/target/debug/deps/libpostgres-699dc2d8e65d6eec.rmeta --extern postgres_protocol=/playground/target/debug/deps/libpostgres_protocol-c9c1d9eb87d325a4.rmeta --extern postgres_types=/playground/target/debug/deps/libpostgres_types-7799b2f458e2cad3.rmeta --extern powerfmt=/playground/target/debug/deps/libpowerfmt-20ed33c5eea869c6.rmeta --extern ppv_lite86=/playground/target/debug/deps/libppv_lite86-a0f9008c52b93a12.rmeta --extern precomputed_hash=/playground/target/debug/deps/libprecomputed_hash-c8fddb01a9c4ef67.rmeta --extern proc_macro2=/playground/target/debug/deps/libproc_macro2-9cc1ac16f533224e.rmeta --extern profiling=/playground/target/debug/deps/libprofiling-1bc4a1382d464b6b.rmeta --extern profiling_procmacros=/playground/target/debug/deps/libprofiling_procmacros-fe90e74ba4513f63.so --extern psl_types=/playground/target/debug/deps/libpsl_types-4612b0340e7c1853.rmeta --extern publicsuffix=/playground/target/debug/deps/libpublicsuffix-f4f915e815c12e5d.rmeta --extern qoi=/playground/target/debug/deps/libqoi-1b39ca0b08362226.rmeta --extern quick_error=/playground/target/debug/deps/libquick_error-5674c48264a045c4.rmeta --extern quote=/playground/target/debug/deps/libquote-c0c8f76b987075e8.rmeta --extern rand=/playground/target/debug/deps/librand-167ed60209a202c9.rmeta --extern rand_chacha=/playground/target/debug/deps/librand_chacha-18f7a93a51bc4bef.rmeta --extern rand_core=/playground/target/debug/deps/librand_core-9f4c80e815480512.rmeta --extern rand_distr=/playground/target/debug/deps/librand_distr-5c2466e43a29f461.rmeta --extern rav1e=/playground/target/debug/deps/librav1e-692bac532c40ca32.rmeta --extern ravif=/playground/target/debug/deps/libravif-4b2b8245462b0119.rmeta --extern rawpointer=/playground/target/debug/deps/librawpointer-fa8d476f47f0aa20.rmeta --extern rayon=/playground/target/debug/deps/librayon-8bef6ae100d10e38.rmeta --extern rayon_core=/playground/target/debug/deps/librayon_core-3297163aefeb37aa.rmeta --extern regex=/playground/target/debug/deps/libregex-8889d4949abd6cc9.rmeta --extern regex_automata=/playground/target/debug/deps/libregex_automata-c86d2e0ccf634f91.rmeta --extern regex_syntax=/playground/target/debug/deps/libregex_syntax-d4ba98c4e534d062.rmeta --extern reqwest=/playground/target/debug/deps/libreqwest-7fd18b92277411b0.rmeta --extern rgb=/playground/target/debug/deps/librgb-69fb75d8f807d2c4.rmeta --extern ring=/playground/target/debug/deps/libring-2eae7cd23181ccc0.rmeta --extern rusqlite=/playground/target/debug/deps/librusqlite-50145b31159caceb.rmeta --extern rustc_demangle=/playground/target/debug/deps/librustc_demangle-8333a634c483b8d5.rmeta --extern rustc_version=/playground/target/debug/deps/librustc_version-c0c12e1b691af98a.rmeta --extern rustix=/playground/target/debug/deps/librustix-243a08ce85215e4a.rmeta --extern rustls_pemfile=/playground/target/debug/deps/librustls_pemfile-3c72f611f55075d8.rmeta --extern rustls_pki_types=/playground/target/debug/deps/librustls_pki_types-0f032554e93b131c.rmeta --extern ryu=/playground/target/debug/deps/libryu-551d2ebce9ae8853.rmeta --extern safe_arch=/playground/target/debug/deps/libsafe_arch-d9b47509fcc1090c.rmeta --extern same_file=/playground/target/debug/deps/libsame_file-cfa39741801edcf0.rmeta --extern scopeguard=/playground/target/debug/deps/libscopeguard-340b0cc7f24af35e.rmeta --extern select=/playground/target/debug/deps/libselect-bb27d6453453a90f.rmeta --extern semver=/playground/target/debug/deps/libsemver-e4f77a7cd9313504.rmeta --extern serde=/playground/target/debug/deps/libserde-ec7c5cd46094e69f.rmeta --extern serde_value=/playground/target/debug/deps/libserde_value-ece0f57f87831dd3.rmeta --extern serde_derive=/playground/target/debug/deps/libserde_derive-fd3ae039d03580c5.so --extern serde_json=/playground/target/debug/deps/libserde_json-588a30b9fe71bae1.rmeta --extern serde_spanned=/playground/target/debug/deps/libserde_spanned-0f45f58bc36f0a52.rmeta --extern serde_urlencoded=/playground/target/debug/deps/libserde_urlencoded-34bfd6a780832278.rmeta --extern serde_yaml=/playground/target/debug/deps/libserde_yaml-129fa69416c9ff1d.rmeta --extern sha1_smol=/playground/target/debug/deps/libsha1_smol-7185c7bff8ed7763.rmeta --extern sha2=/playground/target/debug/deps/libsha2-84089227dbfc49bf.rmeta --extern signal_hook_registry=/playground/target/debug/deps/libsignal_hook_registry-cae926640c4433a1.rmeta --extern simba=/playground/target/debug/deps/libsimba-2d7e92c36f22b5ce.rmeta --extern simd_adler32=/playground/target/debug/deps/libsimd_adler32-0b28677c728d9f9e.rmeta --extern simd_helpers=/playground/target/debug/deps/libsimd_helpers-6b3636b34d8bfec1.so --extern siphasher=/playground/target/debug/deps/libsiphasher-4ec58c711bad9322.rmeta --extern slab=/playground/target/debug/deps/libslab-99b8f32ed89c38a0.rmeta --extern smallvec=/playground/target/debug/deps/libsmallvec-76c61ed7b2259cd2.rmeta --extern smawk=/playground/target/debug/deps/libsmawk-ec60103fa6298aea.rmeta --extern socket2=/playground/target/debug/deps/libsocket2-20438234db6b4569.rmeta --extern spin=/playground/target/debug/deps/libspin-bdce7c0ddc2ccd06.rmeta --extern sptr=/playground/target/debug/deps/libsptr-4523619adaafff8b.rmeta --extern string_cache=/playground/target/debug/deps/libstring_cache-3357ed40d695c2b5.rmeta --extern string_cache_codegen=/playground/target/debug/deps/libstring_cache_codegen-6b23b39995a90080.rmeta --extern stringprep=/playground/target/debug/deps/libstringprep-9409cb5685e6953e.rmeta --extern strsim=/playground/target/debug/deps/libstrsim-57e723e1d275d2a2.rmeta --extern subtle=/playground/target/debug/deps/libsubtle-a8e37e451bde043b.rmeta --extern syn_1_0_109=/playground/target/debug/deps/libsyn-9e68123405edfdc6.rmeta --extern syn=/playground/target/debug/deps/libsyn-b998de0543161e93.rmeta --extern sync_wrapper=/playground/target/debug/deps/libsync_wrapper-52c0f6477ba57e87.rmeta --extern tar=/playground/target/debug/deps/libtar-fa73162f502479b3.rmeta --extern tempfile=/playground/target/debug/deps/libtempfile-79f073b6ffec346c.rmeta --extern tendril=/playground/target/debug/deps/libtendril-1b90e8f5dbe3aed1.rmeta --extern termcolor=/playground/target/debug/deps/libtermcolor-ce7befebf7a1e656.rmeta --extern terminal_size=/playground/target/debug/deps/libterminal_size-aa3dadf6b8e6684c.rmeta --extern textwrap=/playground/target/debug/deps/libtextwrap-6f7724ec50f61844.rmeta --extern thiserror=/playground/target/debug/deps/libthiserror-fbd8130e449c28f7.rmeta --extern thiserror_impl=/playground/target/debug/deps/libthiserror_impl-a84545a36b0ff53b.so --extern thread_id=/playground/target/debug/deps/libthread_id-431d9c7cfbd870dc.rmeta --extern threadpool=/playground/target/debug/deps/libthreadpool-a79b4745786bebdb.rmeta --extern tiff=/playground/target/debug/deps/libtiff-92a544ae49dcf4a1.rmeta --extern time=/playground/target/debug/deps/libtime-40d5e75495f212b9.rmeta --extern time_core=/playground/target/debug/deps/libtime_core-c9eb71dd38667470.rmeta --extern time_macros=/playground/target/debug/deps/libtime_macros-e3b8ffedc7d8ef8e.so --extern tinyvec=/playground/target/debug/deps/libtinyvec-c1ffe49fa3f2305f.rmeta --extern tinyvec_macros=/playground/target/debug/deps/libtinyvec_macros-38d91b622583a154.rmeta --extern tokio=/playground/target/debug/deps/libtokio-c8060094a2c517ea.rmeta --extern tokio_io=/playground/target/debug/deps/libtokio_io-718612e800a66204.rmeta --extern tokio_macros=/playground/target/debug/deps/libtokio_macros-ed7040d007cd2301.so --extern tokio_native_tls=/playground/target/debug/deps/libtokio_native_tls-3953e0b442dabe1b.rmeta --extern tokio_postgres=/playground/target/debug/deps/libtokio_postgres-faa0bd94fdbe8ca5.rmeta --extern tokio_util=/playground/target/debug/deps/libtokio_util-95a422f25054513b.rmeta --extern toml=/playground/target/debug/deps/libtoml-0e6ead6b8a5252bb.rmeta --extern toml_datetime=/playground/target/debug/deps/libtoml_datetime-d3991aaf2cd16697.rmeta --extern toml_edit=/playground/target/debug/deps/libtoml_edit-484ced6f7fa1d23d.rmeta --extern tower=/playground/target/debug/deps/libtower-e54d72ce1e740fb5.rmeta --extern tower_layer=/playground/target/debug/deps/libtower_layer-e726ec216a4dfe57.rmeta --extern tower_service=/playground/target/debug/deps/libtower_service-5cb9df45492719bf.rmeta --extern tracing=/playground/target/debug/deps/libtracing-c22ad453567474e6.rmeta --extern tracing_attributes=/playground/target/debug/deps/libtracing_attributes-47f4467d0babb5a7.so --extern tracing_core=/playground/target/debug/deps/libtracing_core-b7ad1c092cf677e0.rmeta --extern try_lock=/playground/target/debug/deps/libtry_lock-f73a7627d08d7047.rmeta --extern typemap_ors=/playground/target/debug/deps/libtypemap_ors-51c7ee1f9b2a5399.rmeta --extern typenum=/playground/target/debug/deps/libtypenum-603f08e78de3ce4b.rmeta --extern unicase=/playground/target/debug/deps/libunicase-b6ea89d4077abd59.rmeta --extern unicode_bidi=/playground/target/debug/deps/libunicode_bidi-388c3c2a5ddbd10a.rmeta --extern unicode_ident=/playground/target/debug/deps/libunicode_ident-abb48cb62cc6884d.rmeta --extern unicode_linebreak=/playground/target/debug/deps/libunicode_linebreak-5c3df320b96ec9cc.rmeta --extern unicode_normalization=/playground/target/debug/deps/libunicode_normalization-e9207adae922e4f4.rmeta --extern unicode_segmentation=/playground/target/debug/deps/libunicode_segmentation-905e91fceba8556c.rmeta --extern unicode_width=/playground/target/debug/deps/libunicode_width-d009f1f895a6b792.rmeta --extern unicode_xid=/playground/target/debug/deps/libunicode_xid-5fa6ab10671f1c52.rmeta --extern unsafe_any_ors=/playground/target/debug/deps/libunsafe_any_ors-4cd5a6568ea186a8.rmeta --extern unsafe_libyaml=/playground/target/debug/deps/libunsafe_libyaml-c1f60569d89702bc.rmeta --extern untrusted=/playground/target/debug/deps/libuntrusted-f32fc85046cdf3b5.rmeta --extern url=/playground/target/debug/deps/liburl-dcc1402de0b47dfc.rmeta --extern utf8=/playground/target/debug/deps/libutf8-fe4a0f906b99069f.rmeta --extern utf8parse=/playground/target/debug/deps/libutf8parse-e69e6984c166d08c.rmeta --extern uuid=/playground/target/debug/deps/libuuid-dda52e2cd2d4580e.rmeta --extern v_frame=/playground/target/debug/deps/libv_frame-ab39cb50c5cb042c.rmeta --extern vcpkg=/playground/target/debug/deps/libvcpkg-0c42e146e111ef9b.rmeta --extern version_check=/playground/target/debug/deps/libversion_check-bd0b536bd1cbf42e.rmeta --extern walkdir=/playground/target/debug/deps/libwalkdir-48fb32db35972a24.rmeta --extern want=/playground/target/debug/deps/libwant-ea61a245047a353e.rmeta --extern wasm_bindgen=/playground/target/debug/deps/libwasm_bindgen-439559a1e37c1014.rmeta --extern wasm_bindgen_backend=/playground/target/debug/deps/libwasm_bindgen_backend-cf2b32b9d26c3a4a.rmeta --extern wasm_bindgen_macro=/playground/target/debug/deps/libwasm_bindgen_macro-e7a2ffe28db3ce68.so --extern wasm_bindgen_macro_support=/playground/target/debug/deps/libwasm_bindgen_macro_support-c882022bd141466f.rmeta --extern wasm_bindgen_shared=/playground/target/debug/deps/libwasm_bindgen_shared-9d7ec8305a8170e7.rmeta --extern weezl=/playground/target/debug/deps/libweezl-ef83fd076c0c214d.rmeta --extern whoami=/playground/target/debug/deps/libwhoami-f5b3f319ed731c86.rmeta --extern wide=/playground/target/debug/deps/libwide-f908c4f6ca91fed8.rmeta --extern winnow=/playground/target/debug/deps/libwinnow-dd5cd8a896faf9b8.rmeta --extern xattr=/playground/target/debug/deps/libxattr-e8d8116934cfcdb0.rmeta --extern xml5ever=/playground/target/debug/deps/libxml5ever-c2f9181175212a06.rmeta --extern zerocopy=/playground/target/debug/deps/libzerocopy-3687c8316e56b03d.rmeta --extern zerocopy_derive=/playground/target/debug/deps/libzerocopy_derive-8285286752c17f1a.so --extern zeroize=/playground/target/debug/deps/libzeroize-b40930bc9d4eb879.rmeta --extern zune_core=/playground/target/debug/deps/libzune_core-067fe4b09cd8c8fd.rmeta --extern zune_inflate=/playground/target/debug/deps/libzune_inflate-26f56dc0fa212a11.rmeta --extern zune_jpeg=/playground/target/debug/deps/libzune_jpeg-1336e7c50f75a5bf.rlib -L native=/playground/target/debug/build/libsqlite3-sys-c0f3825bde6ed3c8/out -L native=/playground/target/debug/build/ring-248bb1d3f7d55af2/out` (signal: 6, SIGABRT: process abort signal)

@lqd
Copy link
Member

lqd commented May 28, 2024

The ICE is another one from #122213, cc @estebank

@lqd lqd added this to the 1.79.0 milestone May 28, 2024
@lqd lqd added A-diagnostics Area: Messages for errors, warnings, and lints S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels May 28, 2024
@matthiaskrgr matthiaskrgr added the E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. label Jun 8, 2024
@theemathas
Copy link
Contributor

theemathas commented Jun 14, 2024

Still reproduces on 1.81.0-nightly (2024-06-13 f158600)

@rustbot -E-needs-test

@matthiaskrgr matthiaskrgr removed the E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. label Jun 14, 2024
@estebank
Copy link
Contributor

I'll look into it later today.

estebank added a commit to estebank/rust that referenced this issue Jun 24, 2024
Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix rust-lang#125634, fix rust-lang#124563.
compiler-errors added a commit to compiler-errors/rust that referenced this issue Jun 25, 2024
Do not ICE when suggesting dereferencing closure arg

Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix rust-lang#125634, fix rust-lang#124563.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Jun 25, 2024
Do not ICE when suggesting dereferencing closure arg

Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix rust-lang#125634, fix rust-lang#124563.
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Jun 25, 2024
Do not ICE when suggesting dereferencing closure arg

Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix rust-lang#125634, fix rust-lang#124563.
@bors bors closed this as completed in a2298a6 Jun 26, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Jun 26, 2024
Rollup merge of rust-lang#126884 - estebank:issue-125634, r=Nadrieril

Do not ICE when suggesting dereferencing closure arg

Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix rust-lang#125634, fix rust-lang#124563.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants