Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dignifiedquire/e704f95ef5a305dfd209e4ffdead3fd4 to your computer and use it in GitHub Desktop.
Save dignifiedquire/e704f95ef5a305dfd209e4ffdead3fd4 to your computer and use it in GitHub Desktop.
RUST_BACKTRACE=1 cargo test
Compiling deltachat v1.33.0 (/Users/dignifiedquire/opensource/deltachat/deltachat-core-rust)
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
--> src/sql/mod.rs:135:10
|
135 | ) -> Result<T>
| ^^^^^^^^^
|
note: hidden type `impl core::future::future::Future` captures the scope of call-site for function at 138:5
--> src/sql/mod.rs:138:5
|
138 | / {
139 | | let lock = self.xpool.read().await;
140 | | let xpool = lock
141 | | .as_ref()
... |
154 | | }
155 | | }
| |_____^
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
--> src/sql/mod.rs:135:10
|
135 | ) -> Result<T>
| ^^^^^^^^^
|
note: hidden type `impl core::future::future::Future` captures the scope of call-site for function at 138:5
--> src/sql/mod.rs:138:5
|
138 | / {
139 | | let lock = self.xpool.read().await;
140 | | let xpool = lock
141 | | .as_ref()
... |
154 | | }
155 | | }
| |_____^
error: internal compiler error: src/librustc_mir/borrow_check/universal_regions.rs:754: cannot convert `ReEmpty(U0)` to a region vid
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:875:9
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: <unknown>
18: <unknown>
19: <unknown>
20: <unknown>
21: <unknown>
22: <unknown>
23: <unknown>
24: <unknown>
25: <unknown>
26: <unknown>
27: <unknown>
28: <unknown>
29: <unknown>
30: <unknown>
31: <unknown>
32: <unknown>
33: <unknown>
34: <unknown>
35: <unknown>
36: <unknown>
37: <unknown>
38: <unknown>
39: <unknown>
40: <unknown>
41: <unknown>
42: <unknown>
43: <unknown>
44: <unknown>
45: <unknown>
46: <unknown>
47: <unknown>
48: <unknown>
49: <unknown>
50: <unknown>
51: <unknown>
52: <unknown>
53: <unknown>
54: <unknown>
55: <unknown>
56: <unknown>
57: <unknown>
58: <unknown>
59: <unknown>
60: <unknown>
61: <unknown>
62: <unknown>
63: <unknown>
64: <unknown>
65: <unknown>
66: <unknown>
67: <unknown>
68: <unknown>
69: <unknown>
70: <unknown>
71: <unknown>
72: <unknown>
73: <unknown>
74: <unknown>
75: <unknown>
76: <unknown>
77: <unknown>
78: <unknown>
79: <unknown>
80: <unknown>
81: <unknown>
82: <unknown>
83: <unknown>
84: <unknown>
85: <unknown>
86: <unknown>
87: <unknown>
88: <unknown>
89: <unknown>
90: <unknown>
91: <unknown>
92: <unknown>
93: <unknown>
94: <unknown>
95: <unknown>
96: <unknown>
97: <unknown>
98: <unknown>
99: <unknown>
100: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.43.1 (8d69840ab 2020-05-04) running on x86_64-apple-darwin
note: compiler flags: -C debuginfo=2 -C incremental --crate-type lib
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `imap::Imap::fetch_many_msgs::{{closure}}#0`
#1 [type_of] processing `imap::Imap::fetch_many_msgs::{{opaque}}#0`
#2 [evaluate_obligation] evaluating trait selection obligation `{context::Context, async_std::sync::channel::Sender<()>, scheduler::ImapConnectionHandlers, impl core::future::future::Future, ()}: std::marker::Send`
#3 [typeck_tables_of] type-checking `scheduler::Scheduler::start`
#4 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0700`.
error: could not compile `deltachat`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: internal compiler error: src/librustc_mir/borrow_check/universal_regions.rs:754: cannot convert `ReEmpty(U0)` to a region vid
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:875:9
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: <unknown>
18: <unknown>
19: <unknown>
20: <unknown>
21: <unknown>
22: <unknown>
23: <unknown>
24: <unknown>
25: <unknown>
26: <unknown>
27: <unknown>
28: <unknown>
29: <unknown>
30: <unknown>
31: <unknown>
32: <unknown>
33: <unknown>
34: <unknown>
35: <unknown>
36: <unknown>
37: <unknown>
38: <unknown>
39: <unknown>
40: <unknown>
41: <unknown>
42: <unknown>
43: <unknown>
44: <unknown>
45: <unknown>
46: <unknown>
47: <unknown>
48: <unknown>
49: <unknown>
50: <unknown>
51: <unknown>
52: <unknown>
53: <unknown>
54: <unknown>
55: <unknown>
56: <unknown>
57: <unknown>
58: <unknown>
59: <unknown>
60: <unknown>
61: <unknown>
62: <unknown>
63: <unknown>
64: <unknown>
65: <unknown>
66: <unknown>
67: <unknown>
68: <unknown>
69: <unknown>
70: <unknown>
71: <unknown>
72: <unknown>
73: <unknown>
74: <unknown>
75: <unknown>
76: <unknown>
77: <unknown>
78: <unknown>
79: <unknown>
80: <unknown>
81: <unknown>
82: <unknown>
83: <unknown>
84: <unknown>
85: <unknown>
86: <unknown>
87: <unknown>
88: <unknown>
89: <unknown>
90: <unknown>
91: <unknown>
92: <unknown>
93: <unknown>
94: <unknown>
95: <unknown>
96: <unknown>
97: <unknown>
98: <unknown>
99: <unknown>
100: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.43.1 (8d69840ab 2020-05-04) running on x86_64-apple-darwin
note: compiler flags: -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `imap::Imap::fetch_many_msgs::{{closure}}#0`
#1 [type_of] processing `imap::Imap::fetch_many_msgs::{{opaque}}#0`
#2 [evaluate_obligation] evaluating trait selection obligation `{context::Context, async_std::sync::channel::Sender<()>, scheduler::ImapConnectionHandlers, impl core::future::future::Future, ()}: std::marker::Send`
#3 [typeck_tables_of] type-checking `scheduler::Scheduler::start`
#4 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0700`.
error: could not compile `deltachat`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment