Skip to content

chore(deps): update rust crate mockito to v1 #7154

chore(deps): update rust crate mockito to v1

chore(deps): update rust crate mockito to v1 #7154

Triggered via push January 6, 2025 12:14
Status Success
Total duration 12m 42s
Artifacts

audit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 3 warnings
module `mock` is private: core/tauri/src/updater/core.rs#L1774
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1774:25 | 1774 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1682
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1682:25 | 1682 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1550
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1550:23 | 1550 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1530
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1530:23 | 1530 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1504
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1504:23 | 1504 | let _m = mockito::mock("GET", "/darwin-aarch64/10.0.0") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1477
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1477:23 | 1477 | let _m = mockito::mock("GET", "/windows-x86_64/1.0.0") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1432
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1432:23 | 1432 | let _m = mockito::mock("GET", "/darwin-aarch64/1.0.0") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1406
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1406:23 | 1406 | let _m = mockito::mock("GET", "/darwin-aarch64/1.0.0") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1387
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1387:23 | 1387 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1361
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1361:23 | 1361 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1342
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1342:23 | 1342 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
module `mock` is private: core/tauri/src/updater/core.rs#L1323
error[E0603]: module `mock` is private --> core/tauri/src/updater/core.rs:1323:23 | 1323 | let _m = mockito::mock("GET", "/") | ^^^^ private module | note: the module `mock` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mockito-1.6.1/src/lib.rs:742:1 | 742 | mod mock; | ^^^^^^^^
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1782
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1782:23 | 1782 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1774
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1774:16 | 1774 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1690
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1690:23 | 1690 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1682
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1682:16 | 1682 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1558
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1558:58 | 1558 | .urls(&["http://badurl.www.tld/1".into(), mockito::server_url()]) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1550
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1550:14 | 1550 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1539
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1539:21 | 1539 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1530
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1530:14 | 1530 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1519
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1519:18 | 1519 | mockito::server_url() | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1504
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1504:14 | 1504 | let _m = mockito::mock("GET", "/darwin-aarch64/10.0.0") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1493
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1493:18 | 1493 | mockito::server_url() | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1477
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1477:14 | 1477 | let _m = mockito::mock("GET", "/windows-x86_64/1.0.0") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1464
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1464:18 | 1464 | mockito::server_url() | ^^^^^^^^^^ not found in `mockito`
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1448
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1448:20 | 1448 | mockito::server_url() | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1432
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1432:14 | 1432 | let _m = mockito::mock("GET", "/darwin-aarch64/1.0.0") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1421
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1421:18 | 1421 | mockito::server_url() | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1406
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1406:14 | 1406 | let _m = mockito::mock("GET", "/darwin-aarch64/1.0.0") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1396
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1396:21 | 1396 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1387
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1387:14 | 1387 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1371
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1371:21 | 1371 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1361
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1361:14 | 1361 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1351
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1351:21 | 1351 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1342
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1342:14 | 1342 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
cannot find function `server_url` in crate `mockito`: core/tauri/src/updater/core.rs#L1332
error[E0425]: cannot find function `server_url` in crate `mockito` --> core/tauri/src/updater/core.rs:1332:21 | 1332 | .url(mockito::server_url()) | ^^^^^^^^^^ not found in `mockito`
expected function, found module `mockito::mock`: core/tauri/src/updater/core.rs#L1323
error[E0423]: expected function, found module `mockito::mock` --> core/tauri/src/updater/core.rs:1323:14 | 1323 | let _m = mockito::mock("GET", "/") | ^^^^^^^^^^^^^ not a function
audit-rust
14 warnings found!
audit-rust
Unknown warning kind unsound found, please, file a bug
audit-rust
Unknown warning kind unsound found, please, file a bug