raps 0.3.0

Command-line interface for Autodesk Platform Services (APS)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
    Checking raps v0.2.0 (/home/runner/work/raps/raps)
error: value assigned to `auth_code` is never read
   --> src/api/auth.rs:297:45
    |
297 |         let mut auth_code: Option<String> = None;
    |                                             ^^^^
    |
    = help: maybe it is overwritten before being read?
    = note: `-D unused-assignments` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_assignments)]`

error: variable does not need to be mutable
   --> src/commands/generate.rs:244:9
    |
244 |     let mut rng = rand::thread_rng();
    |         ----^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `-D unused-mut` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_mut)]`

error: unused variable: `rng`
   --> src/commands/generate.rs:244:9
    |
244 |     let mut rng = rand::thread_rng();
    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
    |
    = note: `-D unused-variables` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_variables)]`

error: unused variable: `elements_per_storey`
   --> src/commands/generate.rs:479:9
    |
479 |     let elements_per_storey = settings.elements / storey_count;
    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements_per_storey`

error: fields `given_name`, `family_name`, and `picture` are never read
  --> src/api/auth.rs:25:9
   |
19 | pub struct UserInfo {
   |            -------- fields in this struct
...
25 |     pub given_name: Option<String>,
   |         ^^^^^^^^^^
26 |     /// Last name
27 |     pub family_name: Option<String>,
   |         ^^^^^^^^^^^
...
37 |     pub picture: Option<String>,
   |         ^^^^^^^
   |
   = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

error: field `folder_type` is never read
  --> src/api/data_management.rs:54:9
   |
52 | pub struct Folder {
   |            ------ field in this struct
53 |     #[serde(rename = "type")]
54 |     pub folder_type: String,
   |         ^^^^^^^^^^^
   |
   = note: `Folder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: fields `create_time` and `last_modified_time` are never read
  --> src/api/data_management.rs:65:9
   |
60 | pub struct FolderAttributes {
   |            ---------------- fields in this struct
...
65 |     pub create_time: Option<String>,
   |         ^^^^^^^^^^^
66 |     #[serde(rename = "lastModifiedTime")]
67 |     pub last_modified_time: Option<String>,
   |         ^^^^^^^^^^^^^^^^^^
   |
   = note: `FolderAttributes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: fields `version_type` and `id` are never read
   --> src/api/data_management.rs:102:9
    |
100 | pub struct Version {
    |            ------- fields in this struct
101 |     #[serde(rename = "type")]
102 |     pub version_type: String,
    |         ^^^^^^^^^^^^
103 |     pub id: String,
    |         ^^
    |
    = note: `Version` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: enum `FolderContent` is never used
   --> src/api/data_management.rs:123:10
    |
123 | pub enum FolderContent {
    |          ^^^^^^^^^^^^^

error: fields `included` and `links` are never read
   --> src/api/data_management.rs:133:9
    |
130 | pub struct JsonApiResponse<T> {
    |            --------------- fields in this struct
...
133 |     pub included: Vec<serde_json::Value>,
    |         ^^^^^^^^
134 |     pub links: Option<JsonApiLinks>,
    |         ^^^^^
    |
    = note: `JsonApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `self_link` and `next` are never read
   --> src/api/data_management.rs:140:9
    |
138 | pub struct JsonApiLinks {
    |            ------------ fields in this struct
139 |     #[serde(rename = "self")]
140 |     pub self_link: Option<JsonApiLink>,
    |         ^^^^^^^^^
141 |     pub next: Option<JsonApiLink>,
    |         ^^^^
    |
    = note: `JsonApiLinks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `0` is never read
   --> src/api/data_management.rs:147:12
    |
147 |     Simple(String),
    |     ------ ^^^^^^
    |     |
    |     field in this variant
    |
    = note: `JsonApiLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
147 -     Simple(String),
147 +     Simple(()),
    |

error: field `href` is never read
   --> src/api/data_management.rs:148:15
    |
148 |     Complex { href: String },
    |     -------   ^^^^
    |     |
    |     field in this variant
    |
    = note: `JsonApiLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `manifest_type` and `urn` are never read
   --> src/api/derivative.rs:163:9
    |
161 | pub struct Manifest {
    |            -------- fields in this struct
162 |     #[serde(rename = "type")]
163 |     pub manifest_type: String,
    |         ^^^^^^^^^^^^^
...
168 |     pub urn: String,
    |         ^^^
    |
    = note: `Manifest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `has_thumbnail` is never read
   --> src/api/derivative.rs:178:9
    |
176 | pub struct Derivative {
    |            ---------- field in this struct
177 |     pub name: Option<String>,
178 |     pub has_thumbnail: Option<String>,
    |         ^^^^^^^^^^^^^
    |
    = note: `Derivative` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `child_type`, `status`, and `children` are never read
   --> src/api/derivative.rs:191:9
    |
188 | pub struct DerivativeChild {
    |            --------------- fields in this struct
...
191 |     pub child_type: String,
    |         ^^^^^^^^^^
...
194 |     pub status: Option<String>,
    |         ^^^^^^
195 |     #[serde(default)]
196 |     pub children: Vec<DerivativeChild>,
    |         ^^^^^^^^
    |
    = note: `DerivativeChild` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: method `delete_manifest` is never used
   --> src/api/derivative.rs:304:18
    |
206 | impl DerivativeClient {
    | --------------------- method in this implementation
...
304 |     pub async fn delete_manifest(&self, urn: &str) -> Result<()> {
    |                  ^^^^^^^^^^^^^^^

error: fields `description` and `product_version` are never read
  --> src/api/design_automation.rs:16:9
   |
14 | pub struct Engine {
   |            ------ fields in this struct
15 |     pub id: String,
16 |     pub description: Option<String>,
   |         ^^^^^^^^^^^
17 |     pub product_version: Option<String>,
   |         ^^^^^^^^^^^^^^^
   |
   = note: `Engine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: struct `AppBundle` is never constructed
  --> src/api/design_automation.rs:23:12
   |
23 | pub struct AppBundle {
   |            ^^^^^^^^^

error: fields `description` and `package` are never read
  --> src/api/design_automation.rs:36:9
   |
33 | pub struct AppBundleDetails {
   |            ---------------- fields in this struct
...
36 |     pub description: Option<String>,
   |         ^^^^^^^^^^^
37 |     pub version: i32,
38 |     pub package: Option<String>,
   |         ^^^^^^^
   |
   = note: `AppBundleDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: field `form_data` is never read
  --> src/api/design_automation.rs:46:9
   |
44 | pub struct UploadParameters {
   |            ---------------- field in this struct
45 |     pub endpoint_url: String,
46 |     pub form_data: std::collections::HashMap<String, String>,
   |         ^^^^^^^^^
   |
   = note: `UploadParameters` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: struct `Activity` is never constructed
  --> src/api/design_automation.rs:52:12
   |
52 | pub struct Activity {
   |            ^^^^^^^^

error: fields `id` and `stats` are never read
  --> src/api/design_automation.rs:65:9
   |
64 | pub struct WorkItem {
   |            -------- fields in this struct
65 |     pub id: String,
   |         ^^
...
69 |     pub stats: Option<WorkItemStats>,
   |         ^^^^^
   |
   = note: `WorkItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: multiple fields are never read
  --> src/api/design_automation.rs:75:9
   |
74 | pub struct WorkItemStats {
   |            ------------- fields in this struct
75 |     pub time_queued: Option<String>,
   |         ^^^^^^^^^^^
76 |     pub time_download_started: Option<String>,
   |         ^^^^^^^^^^^^^^^^^^^^^
77 |     pub time_instruction_started: Option<String>,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^
78 |     pub time_instruction_ended: Option<String>,
   |         ^^^^^^^^^^^^^^^^^^^^^^
79 |     pub time_upload_ended: Option<String>,
   |         ^^^^^^^^^^^^^^^^^
80 |     pub time_finished: Option<String>,
   |         ^^^^^^^^^^^^^
81 |     pub bytes_downloaded: Option<i64>,
   |         ^^^^^^^^^^^^^^^^
82 |     pub bytes_uploaded: Option<i64>,
   |         ^^^^^^^^^^^^^^
   |
   = note: `WorkItemStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: struct `CreateActivityRequest` is never constructed
  --> src/api/design_automation.rs:97:12
   |
97 | pub struct CreateActivityRequest {
   |            ^^^^^^^^^^^^^^^^^^^^^

error: struct `ActivityParameter` is never constructed
   --> src/api/design_automation.rs:108:12
    |
108 | pub struct ActivityParameter {
    |            ^^^^^^^^^^^^^^^^^

error: struct `CreateWorkItemRequest` is never constructed
   --> src/api/design_automation.rs:120:12
    |
120 | pub struct CreateWorkItemRequest {
    |            ^^^^^^^^^^^^^^^^^^^^^

error: struct `WorkItemArgument` is never constructed
   --> src/api/design_automation.rs:127:12
    |
127 | pub struct WorkItemArgument {
    |            ^^^^^^^^^^^^^^^^

error: field `pagination_token` is never read
   --> src/api/design_automation.rs:140:9
    |
138 | pub struct PaginatedResponse<T> {
    |            ----------------- field in this struct
139 |     pub data: Vec<T>,
140 |     pub pagination_token: Option<String>,
    |         ^^^^^^^^^^^^^^^^
    |
    = note: `PaginatedResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: methods `nickname`, `create_activity`, and `create_workitem` are never used
   --> src/api/design_automation.rs:161:8
    |
150 | impl DesignAutomationClient {
    | --------------------------- methods in this implementation
...
161 |     fn nickname(&self) -> &str {
    |        ^^^^^^^^
...
309 |     pub async fn create_activity(&self, request: CreateActivityRequest) -> Result<Activity> {
    |                  ^^^^^^^^^^^^^^^
...
360 |     pub async fn create_workitem(
    |                  ^^^^^^^^^^^^^^^

error: multiple fields are never read
  --> src/api/issues.rs:18:9
   |
15 | pub struct Issue {
   |            ----- fields in this struct
...
18 |     pub container_id: Option<String>,
   |         ^^^^^^^^^^^^
...
21 |     pub description: Option<String>,
   |         ^^^^^^^^^^^
22 |     pub status: String,
23 |     pub issue_type_id: Option<String>,
   |         ^^^^^^^^^^^^^
24 |     pub issue_subtype_id: Option<String>,
   |         ^^^^^^^^^^^^^^^^
25 |     pub assigned_to: Option<String>,
26 |     pub assigned_to_type: Option<String>,
   |         ^^^^^^^^^^^^^^^^
27 |     pub due_date: Option<String>,
   |         ^^^^^^^^
28 |     pub created_at: Option<String>,
   |         ^^^^^^^^^^
29 |     pub updated_at: Option<String>,
   |         ^^^^^^^^^^
30 |     pub created_by: Option<String>,
   |         ^^^^^^^^^^
31 |     pub closed_at: Option<String>,
   |         ^^^^^^^^^
32 |     pub closed_by: Option<String>,
   |         ^^^^^^^^^
   |
   = note: `Issue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: field `id` is never read
  --> src/api/issues.rs:48:9
   |
47 | pub struct IssueSubType {
   |            ------------ field in this struct
48 |     pub id: String,
   |         ^^
   |
   = note: `IssueSubType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: field `pagination` is never read
  --> src/api/issues.rs:57:9
   |
55 | pub struct IssuesResponse {
   |            -------------- field in this struct
56 |     pub results: Vec<Issue>,
57 |     pub pagination: Option<Pagination>,
   |         ^^^^^^^^^^
   |
   = note: `IssuesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `limit`, `offset`, and `total_results` are never read
  --> src/api/issues.rs:63:9
   |
62 | pub struct Pagination {
   |            ---------- fields in this struct
63 |     pub limit: i32,
   |         ^^^^^
64 |     pub offset: i32,
   |         ^^^^^^
65 |     pub total_results: i32,
   |         ^^^^^^^^^^^^^
   |
   = note: `Pagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `upload_expiration` is never read
   --> src/api/oss.rs:146:9
    |
140 | pub struct SignedS3UploadResponse {
    |            ---------------------- field in this struct
...
146 |     pub upload_expiration: Option<String>,
    |         ^^^^^^^^^^^^^^^^^
    |
    = note: `SignedS3UploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `bucket_key`, `object_key`, `location`, and `content_type` are never read
   --> src/api/oss.rs:153:9
    |
152 | pub struct ObjectInfo {
    |            ---------- fields in this struct
153 |     pub bucket_key: String,
    |         ^^^^^^^^^^
154 |     pub object_key: String,
    |         ^^^^^^^^^^
...
160 |     pub location: Option<String>,
    |         ^^^^^^^^
...
163 |     pub content_type: Option<String>,
    |         ^^^^^^^^^^^^
    |
    = note: `ObjectInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `bucket_key` and `object_id` are never read
   --> src/api/oss.rs:177:9
    |
176 | pub struct ObjectItem {
    |            ---------- fields in this struct
177 |     pub bucket_key: String,
    |         ^^^^^^^^^^
178 |     pub object_key: String,
179 |     pub object_id: String,
    |         ^^^^^^^^^
    |
    = note: `ObjectItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `name`, `scene_type`, `convert_format`, `status`, `progress`, and `progress_msg` are never read
  --> src/api/reality_capture.rs:20:9
   |
17 | pub struct Photoscene {
   |            ---------- fields in this struct
...
20 |     pub name: Option<String>,
   |         ^^^^
21 |     #[serde(rename = "scenetype")]
22 |     pub scene_type: Option<String>,
   |         ^^^^^^^^^^
23 |     #[serde(rename = "convertformat")]
24 |     pub convert_format: Option<String>,
   |         ^^^^^^^^^^^^^^
25 |     pub status: Option<String>,
   |         ^^^^^^
26 |     pub progress: Option<String>,
   |         ^^^^^^^^
27 |     #[serde(rename = "progressmsg")]
28 |     pub progress_msg: Option<String>,
   |         ^^^^^^^^^^^^
   |
   = note: `Photoscene` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: fields `usage` and `resource` are never read
  --> src/api/reality_capture.rs:43:9
   |
41 | pub struct UploadResponse {
   |            -------------- fields in this struct
42 |     pub files: Option<UploadFiles>,
43 |     pub usage: Option<String>,
   |         ^^^^^
44 |     pub resource: Option<String>,
   |         ^^^^^^^^
   |
   = note: `UploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `filename`, `fileid`, `filesize`, and `msg` are never read
  --> src/api/reality_capture.rs:55:9
   |
54 | pub struct UploadedFile {
   |            ------------ fields in this struct
55 |     pub filename: String,
   |         ^^^^^^^^
56 |     pub fileid: String,
   |         ^^^^^^
57 |     pub filesize: Option<String>,
   |         ^^^^^^^^
58 |     pub msg: Option<String>,
   |         ^^^
   |
   = note: `UploadedFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `photoscene_id` is never read
  --> src/api/reality_capture.rs:72:9
   |
70 | pub struct PhotosceneProgress {
   |            ------------------ field in this struct
71 |     #[serde(rename = "photosceneid")]
72 |     pub photoscene_id: String,
   |         ^^^^^^^^^^^^^
   |
   = note: `PhotosceneProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `progress_msg` is never read
  --> src/api/reality_capture.rs:93:9
   |
88 | pub struct PhotosceneResult {
   |            ---------------- field in this struct
...
93 |     pub progress_msg: Option<String>,
   |         ^^^^^^^^^^^^
   |
   = note: `PhotosceneResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: multiple fields are never read
  --> src/api/webhooks.rs:35:9
   |
33 | pub struct Webhook {
   |            ------- fields in this struct
34 |     pub hook_id: String,
35 |     pub tenant: Option<String>,
   |         ^^^^^^
36 |     pub callback_url: String,
37 |     pub created_by: Option<String>,
   |         ^^^^^^^^^^
38 |     pub event: String,
39 |     pub created_date: Option<String>,
   |         ^^^^^^^^^^^^
40 |     pub last_updated_date: Option<String>,
   |         ^^^^^^^^^^^^^^^^^
41 |     pub system: String,
   |         ^^^^^^
42 |     pub creator_type: Option<String>,
   |         ^^^^^^^^^^^^
43 |     pub status: String,
44 |     pub scope: Option<WebhookScope>,
   |         ^^^^^
45 |     pub hook_attribute: Option<serde_json::Value>,
   |         ^^^^^^^^^^^^^^
46 |     pub urn: Option<String>,
   |         ^^^
47 |     pub auto_reactivate_hook: Option<bool>,
   |         ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `Webhook` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: fields `folder` and `workflow` are never read
  --> src/api/webhooks.rs:53:9
   |
52 | pub struct WebhookScope {
   |            ------------ fields in this struct
53 |     pub folder: Option<String>,
   |         ^^^^^^
54 |     pub workflow: Option<String>,
   |         ^^^^^^^^
   |
   = note: `WebhookScope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

error: field `links` is never read
  --> src/api/webhooks.rs:88:9
   |
86 | pub struct WebhooksResponse {
   |            ---------------- field in this struct
87 |     pub data: Vec<Webhook>,
88 |     pub links: Option<WebhooksLinks>,
   |         ^^^^^
   |
   = note: `WebhooksResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `next` is never read
  --> src/api/webhooks.rs:93:9
   |
92 | pub struct WebhooksLinks {
   |            ------------- field in this struct
93 |     pub next: Option<String>,
   |         ^^^^
   |
   = note: `WebhooksLinks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: methods `list_webhooks` and `available_events` are never used
   --> src/api/webhooks.rs:114:18
    |
103 | impl WebhooksClient {
    | ------------------- methods in this implementation
...
114 |     pub async fn list_webhooks(&self, system: &str, event: &str) -> Result<Vec<Webhook>> {
    |                  ^^^^^^^^^^^^^
...
254 |     pub fn available_events(&self) -> &[(&str, &str)] {
    |            ^^^^^^^^^^^^^^^^

error: name `EMEA` contains a capitalized acronym
  --> src/api/oss.rs:57:5
   |
57 |     EMEA,
   |     ^^^^ help: consider making the acronym lowercase, except the initial letter: `Emea`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#upper_case_acronyms
   = note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::upper_case_acronyms)]`

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:240:13
    |
240 |     output: &PathBuf,
    |             ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg
    = note: `-D clippy::ptr-arg` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:318:25
    |
318 | fn generate_dxf(output: &PathBuf, index: u32) -> anyhow::Result<u64> {
    |                         ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:379:25
    |
379 | fn generate_stl(output: &PathBuf, index: u32) -> anyhow::Result<u64> {
    |                         ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:410:13
    |
410 |     output: &PathBuf,
    |             ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:502:13
    |
502 |     output: &PathBuf,
    |             ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg

error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
   --> src/commands/generate.rs:565:13
    |
565 |     output: &PathBuf,
    |             ^^^^^^^^ help: change this to: `&Path`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ptr_arg

error: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
   --> src/commands/hub.rs:115:9
    |
115 |         ext_type.split(':').last().unwrap_or("Unknown").to_string()
    |         ^^^^^^^^^^^^^^^^^^^^------
    |                             |
    |                             help: try: `next_back()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#double_ended_iterator_last
    = note: `-D clippy::double-ended-iterator-last` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::double_ended_iterator_last)]`

error: could not compile `raps` (bin "raps") due to 55 previous errors
Error: Process completed with exit code 101.