BigFloat natural logarithm #153
proxy-compare.yml
on: pull_request
Proxy compare - newly generated vs present in file tree
1m 45s
Annotations
4 errors and 3 warnings
[clippy] contracts/feature-tests/big-float-features/src/big_float_operators.rs#L90:
contracts/feature-tests/big-float-features/src/big_float_operators.rs#L90
error[E0308]: mismatched types
--> contracts/feature-tests/big-float-features/src/big_float_operators.rs:90:9
|
89 | fn ln_big_float_ref(&self, a: &BigFloat) -> BigFloat {
| -------- expected `multiversx_sc::types::BigFloat<<Self as multiversx_sc::contract_base::ContractBase>::Api>` because of return type
90 | a.ln()
| ^^^^^^ expected `BigFloat<<... as ContractBase>::Api>`, found `Option<BigFloat<...>>`
|
= note: expected struct `multiversx_sc::types::BigFloat<_>`
found enum `core::option::Option<multiversx_sc::types::BigFloat<_>>`
help: consider using `Option::expect` to unwrap the `core::option::Option<multiversx_sc::types::BigFloat<<Self as multiversx_sc::contract_base::ContractBase>::Api>>` value, panicking if the value is an `Option::None`
|
90 | a.ln().expect("REASON")
| +++++++++++++++++
|
[clippy] contracts/feature-tests/big-float-features/src/big_float_operators.rs#L90:
contracts/feature-tests/big-float-features/src/big_float_operators.rs#L90
error[E0308]: mismatched types
--> contracts/feature-tests/big-float-features/src/big_float_operators.rs:90:9
|
89 | fn ln_big_float_ref(&self, a: &BigFloat) -> BigFloat {
| -------- expected `multiversx_sc::types::BigFloat<<Self as multiversx_sc::contract_base::ContractBase>::Api>` because of return type
90 | a.ln()
| ^^^^^^ expected `BigFloat<<... as ContractBase>::Api>`, found `Option<BigFloat<...>>`
|
= note: expected struct `multiversx_sc::types::BigFloat<_>`
found enum `core::option::Option<multiversx_sc::types::BigFloat<_>>`
help: consider using `Option::expect` to unwrap the `core::option::Option<multiversx_sc::types::BigFloat<<Self as multiversx_sc::contract_base::ContractBase>::Api>>` value, panicking if the value is an `Option::None`
|
90 | a.ln().expect("REASON")
| +++++++++++++++++
|
|
Proxy compare - newly generated vs present in file tree
Process completed with exit code 101.
|
Proxy compare - newly generated vs present in file tree
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Proxy compare - newly generated vs present in file tree
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'cache-workspaces', 'cache-on-failure', 'matcher', 'rustflags']
|
Proxy compare - newly generated vs present in file tree
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'cache-workspaces', 'cache-on-failure', 'matcher', 'rustflags']
|