Skip to repository content396 lines · 14.0 KB · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T04:04:42.938Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
blocking_io_on_foreground.stderr
1error: blocking IO call on the GPUI foreground thread
2 --> $DIR/blocking_io_on_foreground.rs:18:13
3 |
4LL | let _ = std::fs::read_to_string("config.toml");
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `-D blocking-io-on-foreground` implied by `-D warnings`
8 = help: to override `-D warnings` add `#[allow(blocking_io_on_foreground)]`
9
10error: blocking IO call on the GPUI foreground thread
11 --> $DIR/blocking_io_on_foreground.rs:22:13
12 |
13LL | let _ = std::fs::write("out.txt", b"data");
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: blocking IO call on the GPUI foreground thread
17 --> $DIR/blocking_io_on_foreground.rs:26:13
18 |
19LL | let _ = std::fs::read("data.bin");
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^
21
22error: blocking IO call on the GPUI foreground thread
23 --> $DIR/blocking_io_on_foreground.rs:30:13
24 |
25LL | let _ = std::fs::metadata("file.txt");
26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27
28error: blocking IO call on the GPUI foreground thread
29 --> $DIR/blocking_io_on_foreground.rs:34:13
30 |
31LL | let _ = std::fs::create_dir_all("some/path");
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
34error: blocking IO call on the GPUI foreground thread
35 --> $DIR/blocking_io_on_foreground.rs:38:13
36 |
37LL | let _ = std::fs::remove_file("old.txt");
38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39
40error: blocking IO call on the GPUI foreground thread
41 --> $DIR/blocking_io_on_foreground.rs:42:13
42 |
43LL | let _ = std::fs::canonicalize("./relative");
44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45
46error: blocking IO call on the GPUI foreground thread
47 --> $DIR/blocking_io_on_foreground.rs:46:13
48 |
49LL | let _ = std::fs::read_dir("some/dir");
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51
52error: blocking IO call on the GPUI foreground thread
53 --> $DIR/blocking_io_on_foreground.rs:50:13
54 |
55LL | let _ = std::fs::read_link("some/link");
56 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
57
58error: blocking IO call on the GPUI foreground thread
59 --> $DIR/blocking_io_on_foreground.rs:54:13
60 |
61LL | let _ = std::fs::symlink_metadata("file.txt");
62 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
63
64error: blocking IO call on the GPUI foreground thread
65 --> $DIR/blocking_io_on_foreground.rs:58:23
66 |
67LL | if let Ok(meta) = std::fs::metadata("file.txt") {
68 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69
70error: blocking IO call on the GPUI foreground thread
71 --> $DIR/blocking_io_on_foreground.rs:59:17
72 |
73LL | let _ = std::fs::set_permissions("file.txt", meta.permissions());
74 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75
76error: blocking IO call on the GPUI foreground thread
77 --> $DIR/blocking_io_on_foreground.rs:64:13
78 |
79LL | let _ = std::fs::copy("a.txt", "b.txt");
80 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
82error: blocking IO call on the GPUI foreground thread
83 --> $DIR/blocking_io_on_foreground.rs:68:13
84 |
85LL | let _ = std::fs::rename("old.txt", "new.txt");
86 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87
88error: blocking IO call on the GPUI foreground thread
89 --> $DIR/blocking_io_on_foreground.rs:72:13
90 |
91LL | let _ = std::fs::hard_link("original", "link");
92 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93
94error: blocking IO call on the GPUI foreground thread
95 --> $DIR/blocking_io_on_foreground.rs:76:13
96 |
97LL | let _ = std::fs::create_dir("one_dir");
98 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99
100error: blocking IO call on the GPUI foreground thread
101 --> $DIR/blocking_io_on_foreground.rs:80:13
102 |
103LL | let _ = std::fs::remove_dir("empty_dir");
104 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
106error: blocking IO call on the GPUI foreground thread
107 --> $DIR/blocking_io_on_foreground.rs:84:13
108 |
109LL | let _ = std::fs::remove_dir_all("dir_tree");
110 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
111
112error: blocking IO call on the GPUI foreground thread
113 --> $DIR/blocking_io_on_foreground.rs:90:13
114 |
115LL | let _ = std::fs::File::open("data.bin");
116 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
117
118error: blocking IO call on the GPUI foreground thread
119 --> $DIR/blocking_io_on_foreground.rs:94:13
120 |
121LL | let _ = std::fs::File::create("out.bin");
122 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
123
124error: blocking IO call on the GPUI foreground thread
125 --> $DIR/blocking_io_on_foreground.rs:98:13
126 |
127LL | let _ = std::fs::File::create_new("new.bin");
128 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129
130error: blocking IO call on the GPUI foreground thread
131 --> $DIR/blocking_io_on_foreground.rs:104:20
132 |
133LL | if let Ok(f) = std::fs::File::open("x") {
134 | ^^^^^^^^^^^^^^^^^^^^^^^^
135
136error: blocking IO call on the GPUI foreground thread
137 --> $DIR/blocking_io_on_foreground.rs:105:17
138 |
139LL | let _ = f.sync_all();
140 | ^^^^^^^^^^^^
141
142error: blocking IO call on the GPUI foreground thread
143 --> $DIR/blocking_io_on_foreground.rs:110:20
144 |
145LL | if let Ok(f) = std::fs::File::open("x") {
146 | ^^^^^^^^^^^^^^^^^^^^^^^^
147
148error: blocking IO call on the GPUI foreground thread
149 --> $DIR/blocking_io_on_foreground.rs:111:17
150 |
151LL | let _ = f.sync_data();
152 | ^^^^^^^^^^^^^
153
154error: blocking IO call on the GPUI foreground thread
155 --> $DIR/blocking_io_on_foreground.rs:116:20
156 |
157LL | if let Ok(f) = std::fs::File::open("x") {
158 | ^^^^^^^^^^^^^^^^^^^^^^^^
159
160error: blocking IO call on the GPUI foreground thread
161 --> $DIR/blocking_io_on_foreground.rs:117:17
162 |
163LL | let _ = f.set_len(0);
164 | ^^^^^^^^^^^^
165
166error: blocking IO call on the GPUI foreground thread
167 --> $DIR/blocking_io_on_foreground.rs:122:20
168 |
169LL | if let Ok(f) = std::fs::File::open("x") {
170 | ^^^^^^^^^^^^^^^^^^^^^^^^
171
172error: blocking IO call on the GPUI foreground thread
173 --> $DIR/blocking_io_on_foreground.rs:123:17
174 |
175LL | let _ = f.metadata();
176 | ^^^^^^^^^^^^
177
178error: blocking IO call on the GPUI foreground thread
179 --> $DIR/blocking_io_on_foreground.rs:128:20
180 |
181LL | if let Ok(f) = std::fs::File::open("x") {
182 | ^^^^^^^^^^^^^^^^^^^^^^^^
183
184error: blocking IO call on the GPUI foreground thread
185 --> $DIR/blocking_io_on_foreground.rs:129:17
186 |
187LL | let _ = f.try_clone();
188 | ^^^^^^^^^^^^^
189
190error: blocking IO call on the GPUI foreground thread
191 --> $DIR/blocking_io_on_foreground.rs:136:5
192 |
193LL | std::thread::sleep(std::time::Duration::from_millis(100));
194 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
195
196error: blocking IO call on the GPUI foreground thread
197 --> $DIR/blocking_io_on_foreground.rs:142:13
198 |
199LL | let _ = std::path::Path::new("file.txt").metadata();
200 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201
202error: blocking IO call on the GPUI foreground thread
203 --> $DIR/blocking_io_on_foreground.rs:146:13
204 |
205LL | let _ = std::path::Path::new("link").symlink_metadata();
206 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207
208error: blocking IO call on the GPUI foreground thread
209 --> $DIR/blocking_io_on_foreground.rs:150:13
210 |
211LL | let _ = std::path::Path::new("link").read_link();
212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
213
214error: blocking IO call on the GPUI foreground thread
215 --> $DIR/blocking_io_on_foreground.rs:154:13
216 |
217LL | let _ = std::path::Path::new("dir").read_dir();
218 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
219
220error: blocking IO call on the GPUI foreground thread
221 --> $DIR/blocking_io_on_foreground.rs:158:13
222 |
223LL | let _ = std::path::Path::new("file.txt").exists();
224 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
225
226error: blocking IO call on the GPUI foreground thread
227 --> $DIR/blocking_io_on_foreground.rs:162:13
228 |
229LL | let _ = std::path::Path::new("file.txt").try_exists();
230 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
231
232error: blocking IO call on the GPUI foreground thread
233 --> $DIR/blocking_io_on_foreground.rs:166:13
234 |
235LL | let _ = std::path::Path::new("file.txt").is_file();
236 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
237
238error: blocking IO call on the GPUI foreground thread
239 --> $DIR/blocking_io_on_foreground.rs:170:13
240 |
241LL | let _ = std::path::Path::new("dir").is_dir();
242 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
243
244error: blocking IO call on the GPUI foreground thread
245 --> $DIR/blocking_io_on_foreground.rs:174:13
246 |
247LL | let _ = std::path::Path::new("link").is_symlink();
248 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
249
250error: blocking IO call on the GPUI foreground thread
251 --> $DIR/blocking_io_on_foreground.rs:178:13
252 |
253LL | let _ = std::path::Path::new("./relative").canonicalize();
254 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
255
256error: blocking IO call on the GPUI foreground thread
257 --> $DIR/blocking_io_on_foreground.rs:183:13
258 |
259LL | let _ = std::path::PathBuf::from("file.txt").exists();
260 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261
262error: blocking IO call on the GPUI foreground thread
263 --> $DIR/blocking_io_on_foreground.rs:189:13
264 |
265LL | let _ = std::net::TcpListener::bind("127.0.0.1:0");
266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
267
268error: blocking IO call on the GPUI foreground thread
269 --> $DIR/blocking_io_on_foreground.rs:193:13
270 |
271LL | let _ = std::net::TcpStream::connect("127.0.0.1:80");
272 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
273
274error: blocking IO call on the GPUI foreground thread
275 --> $DIR/blocking_io_on_foreground.rs:198:13
276 |
277LL | let _ = std::net::TcpStream::connect_timeout(&addr, std::time::Duration::from_secs(1));
278 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
279
280error: blocking IO call on the GPUI foreground thread
281 --> $DIR/blocking_io_on_foreground.rs:202:27
282 |
283LL | if let Ok(listener) = std::net::TcpListener::bind("127.0.0.1:0") {
284 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
285
286error: blocking IO call on the GPUI foreground thread
287 --> $DIR/blocking_io_on_foreground.rs:203:17
288 |
289LL | let _ = listener.accept();
290 | ^^^^^^^^^^^^^^^^^
291
292error: blocking IO call on the GPUI foreground thread
293 --> $DIR/blocking_io_on_foreground.rs:208:13
294 |
295LL | let _ = std::net::UdpSocket::bind("127.0.0.1:0");
296 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
297
298error: blocking IO call on the GPUI foreground thread
299 --> $DIR/blocking_io_on_foreground.rs:212:25
300 |
301LL | if let Ok(socket) = std::net::UdpSocket::bind("127.0.0.1:0") {
302 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
303
304error: blocking IO call on the GPUI foreground thread
305 --> $DIR/blocking_io_on_foreground.rs:214:17
306 |
307LL | let _ = socket.recv_from(&mut buf);
308 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
309
310error: blocking IO call on the GPUI foreground thread
311 --> $DIR/blocking_io_on_foreground.rs:221:13
312 |
313LL | let _ = std::process::Command::new("echo").output();
314 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
315
316error: blocking IO call on the GPUI foreground thread
317 --> $DIR/blocking_io_on_foreground.rs:225:13
318 |
319LL | let _ = std::process::Command::new("echo").status();
320 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
321
322error: blocking IO call on the GPUI foreground thread
323 --> $DIR/blocking_io_on_foreground.rs:229:13
324 |
325LL | let _ = std::process::Command::new("echo").spawn();
326 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
327
328error: blocking IO call on the GPUI foreground thread
329 --> $DIR/blocking_io_on_foreground.rs:233:28
330 |
331LL | if let Ok(mut child) = std::process::Command::new("echo").spawn() {
332 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
333
334error: blocking IO call on the GPUI foreground thread
335 --> $DIR/blocking_io_on_foreground.rs:234:17
336 |
337LL | let _ = child.wait();
338 | ^^^^^^^^^^^^
339
340error: blocking IO call on the GPUI foreground thread
341 --> $DIR/blocking_io_on_foreground.rs:239:24
342 |
343LL | if let Ok(child) = std::process::Command::new("echo").spawn() {
344 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
345
346error: blocking IO call on the GPUI foreground thread
347 --> $DIR/blocking_io_on_foreground.rs:240:17
348 |
349LL | let _ = child.wait_with_output();
350 | ^^^^^^^^^^^^^^^^^^^^^^^^
351
352error: blocking IO call on the GPUI foreground thread
353 --> $DIR/blocking_io_on_foreground.rs:248:13
354 |
355LL | let _ = m.lock();
356 | ^^^^^^^^
357
358error: blocking IO call on the GPUI foreground thread
359 --> $DIR/blocking_io_on_foreground.rs:253:13
360 |
361LL | let _ = rw.read();
362 | ^^^^^^^^^
363
364error: blocking IO call on the GPUI foreground thread
365 --> $DIR/blocking_io_on_foreground.rs:258:13
366 |
367LL | let _ = rw.write();
368 | ^^^^^^^^^^
369
370error: blocking IO call on the GPUI foreground thread
371 --> $DIR/blocking_io_on_foreground.rs:263:5
372 |
373LL | b.wait();
374 | ^^^^^^^^
375
376error: blocking IO call on the GPUI foreground thread
377 --> $DIR/blocking_io_on_foreground.rs:268:13
378 |
379LL | let _ = rx.recv();
380 | ^^^^^^^^^
381
382error: blocking IO call on the GPUI foreground thread
383 --> $DIR/blocking_io_on_foreground.rs:273:13
384 |
385LL | let _ = tx.send(42);
386 | ^^^^^^^^^^^
387
388error: blocking IO call on the GPUI foreground thread
389 --> $DIR/blocking_io_on_foreground.rs:282:17
390 |
391LL | let _ = std::fs::read_to_string("layout.toml");
392 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
393
394error: aborting due to 65 previous errors
395
396