Update varchar.rs to avoid UB #701
Annotations
1 error and 25 warnings
Run cargo test on rsfbclient
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
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/
|
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Run cargo test on rsfbclient:
rsfbclient-core/src/ibase.rs#L11
unused imports: `marker::PhantomData` and `slice::Iter`
|
Run cargo test on rsfbclient:
rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
|
Run cargo test on rsfbclient:
rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
|
Run cargo test on rsfbclient:
rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
|
Run cargo test on rsfbclient:
rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
|
Run cargo test on rsfbclient
`rsfbclient-core` (lib) generated 5 warnings (run `cargo fix --lib -p rsfbclient-core` to apply 1 suggestion)
|
Run cargo test on rsfbclient:
rsfbclient-native/src/xsqlda.rs#L7
unused import: `rsfbclient_core::ibase::XSQLVAR`
|
Run cargo test on rsfbclient:
rsfbclient-native/src/varchar.rs#L38
unused variable: `len`
|
Run cargo test on rsfbclient
`rsfbclient-native` (lib) generated 3 warnings (run `cargo fix --lib -p rsfbclient-native` to apply 2 suggestions)
|
Run cargo test on rsfbclient:
src/tests/params.rs#L287
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
|
Run cargo build:
rsfbclient-core/src/ibase.rs#L11
unused imports: `marker::PhantomData` and `slice::Iter`
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
|
Run cargo build:
rsfbclient-native/src/xsqlda.rs#L3
unused import: `Index`
|
Run cargo build:
rsfbclient-native/src/xsqlda.rs#L7
unused import: `rsfbclient_core::ibase::XSQLVAR`
|
Run cargo build:
rsfbclient-native/src/varchar.rs#L38
unused variable: `len`
|
Run cargo build
`rsfbclient-core` (lib) generated 5 warnings (run `cargo fix --lib -p rsfbclient-core` to apply 1 suggestion)
|
Loading