fix: mysql bug #63
ci.yml
on: push
clippy_check
17s
rustfmt
6s
Matrix: build
Annotations
8 errors and 32 warnings
rustfmt
Process completed with exit code 1.
|
build (x86_64-apple-darwin, macos-latest, false)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
The job was canceled because "x86_64-apple-darwin_macos" failed.
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
The operation was canceled.
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
The job was canceled because "x86_64-apple-darwin_macos" failed.
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
The operation was canceled.
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
The job was canceled because "x86_64-apple-darwin_macos" failed.
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
The operation was canceled.
|
rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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 `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/
|
the borrowed expression implements the required traits:
src/main.rs#L344
warning: the borrowed expression implements the required traits
--> src/main.rs:344:39
|
344 | let f = BufReader::new(File::open(&path).unwrap());
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/main.rs#L227
warning: the borrowed expression implements the required traits
--> src/main.rs:227:34
|
227 | let tcp = TcpStream::connect(&ssh_host_port).unwrap_or_else(|err| {
| ^^^^^^^^^^^^^^ help: change this to: `ssh_host_port`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
unneeded `return` statement:
src/main.rs#L38
warning: unneeded `return` statement
--> src/main.rs:38:9
|
38 | return "22".to_string();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
38 - return "22".to_string();
38 + "22".to_string()
|
|
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
build (x86_64-apple-darwin, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (x86_64-apple-darwin, macos-latest, false)
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/
|
build (x86_64-apple-darwin, macos-latest, false)
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/
|
build (x86_64-apple-darwin, macos-latest, false)
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/
|
build (x86_64-apple-darwin, macos-latest, false)
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/
|
build (x86_64-apple-darwin, macos-latest, false)
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/
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-gnu, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
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/
|
build (x86_64-unknown-linux-musl, ubuntu-latest, true)
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/
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
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/
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
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/
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
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/
|
build (x86_64-pc-windows-gnu, windows-latest, false, .exe)
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/
|
the borrowed expression implements the required traits:
src/main.rs#L344
warning: the borrowed expression implements the required traits
--> src/main.rs:344:39
|
344 | let f = BufReader::new(File::open(&path).unwrap());
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
src/main.rs#L227
warning: the borrowed expression implements the required traits
--> src/main.rs:227:34
|
227 | let tcp = TcpStream::connect(&ssh_host_port).unwrap_or_else(|err| {
| ^^^^^^^^^^^^^^ help: change this to: `ssh_host_port`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
unneeded `return` statement:
src/main.rs#L38
warning: unneeded `return` statement
--> src/main.rs:38:9
|
38 | return "22".to_string();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
38 - return "22".to_string();
38 + "22".to_string()
|
|