feat(api): create centipede_api package #57
Annotations
14 errors and 18 warnings
failed to resolve: use of undeclared crate or module `config`:
packages/centipeded/src/main.rs#L41
error[E0433]: failed to resolve: use of undeclared crate or module `config`
--> packages/centipeded/src/main.rs:41:17
|
41 | let config: config::Centipede = toml::from_str(
| ^^^^^^ use of undeclared crate or module `config`
|
failed to resolve: use of undeclared crate or module `toml`:
packages/centipeded/src/main.rs#L41
error[E0433]: failed to resolve: use of undeclared crate or module `toml`
--> packages/centipeded/src/main.rs:41:37
|
41 | let config: config::Centipede = toml::from_str(
| ^^^^ use of undeclared crate or module `toml`
|
failed to resolve: use of undeclared crate or module `num_cpus`:
packages/centipeded/src/main.rs#L27
error[E0433]: failed to resolve: use of undeclared crate or module `num_cpus`
--> packages/centipeded/src/main.rs:27:43
|
27 | #[clap(long, short, default_value_t = num_cpus::get())]
| ^^^^^^^^ use of undeclared crate or module `num_cpus`
|
failed to resolve: use of undeclared crate or module `tokio`:
packages/centipeded/src/main.rs#L106
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> packages/centipeded/src/main.rs:106:5
|
106 | tokio::runtime::Builder::new_current_thread()
| ^^^^^ use of undeclared crate or module `tokio`
|
help: consider importing one of these structs
|
1 + use crate::thread::Builder;
|
1 + use std::thread::Builder;
|
help: if you import `Builder`, refer to it directly
|
106 - tokio::runtime::Builder::new_current_thread()
106 + Builder::new_current_thread()
|
|
failed to resolve: use of undeclared crate or module `ed25519_dalek`:
packages/centipeded/src/main.rs#L57
error[E0433]: failed to resolve: use of undeclared crate or module `ed25519_dalek`
--> packages/centipeded/src/main.rs:57:26
|
57 | let public_key = ed25519_dalek::VerifyingKey::from_bytes(&peer.public_key)
| ^^^^^^^^^^^^^ use of undeclared crate or module `ed25519_dalek`
|
failed to resolve: use of undeclared crate or module `ed25519_dalek`:
packages/centipeded/src/main.rs#L53
error[E0433]: failed to resolve: use of undeclared crate or module `ed25519_dalek`
--> packages/centipeded/src/main.rs:53:9
|
53 | ed25519_dalek::SigningKey::from_bytes(&config.private_key),
| ^^^^^^^^^^^^^ use of undeclared crate or module `ed25519_dalek`
|
Lint
Clippy had exited with the 101 exit code
|
Test:
packages/centipeded/src/main.rs#L53
failed to resolve: use of undeclared crate or module `ed25519_dalek`
|
Test:
packages/centipeded/src/main.rs#L57
failed to resolve: use of undeclared crate or module `ed25519_dalek`
|
Test:
packages/centipeded/src/main.rs#L106
failed to resolve: use of undeclared crate or module `tokio`
|
Test:
packages/centipeded/src/main.rs#L27
failed to resolve: use of undeclared crate or module `num_cpus`
|
Test:
packages/centipeded/src/main.rs#L41
failed to resolve: use of undeclared crate or module `toml`
|
Test:
packages/centipeded/src/main.rs#L41
failed to resolve: use of undeclared crate or module `config`
|
Test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|