Hi guys build of this predicate
predicate;
use std::{
inputs::input_owner,
logging::log,
};
const RECEIVER_CONFIG: b256 = 0x5d99ee966b42cd8fc7bdd1364b389153a9e78b42b7d4a691470674e817888d4e;
fn main() -> bool {
const RECEIVER = Address::from(RECEIVER_CONFIG);
log::<Address>(input_owner(0).unwrap());
log::<Address>(input_owner(1).unwrap());
true
}
Gives me this error
^^/p/f/l/s/p/o/vGx8NIeAtmcrErOEa3Z4rIORovU1i0 >>> forc build (1) (*master+78) 01:54:15
WARNING! unused manifest key: project.target
WARNING! unused manifest key: project.target
WARNING! unused manifest key: project.target
WARNING! unused manifest key: project.target
WARNING! unused manifest key: project.target
WARNING! unused manifest key: project.target
WARNING! unused manifest key: constants
WARNING! unused manifest key: constants
Compiling library core (/Users/alexey/.forc/git/checkouts/std-9be0d6062747ea7/607ac50176db8bef936f91bacf435d0ea37d041e/sway-lib-core)
Compiling library std (git+https://github.com/fuellabs/sway?tag=v0.37.0#607ac50176db8bef936f91bacf435d0ea37d041e)
Compiling predicate swap-predicate (/Users/alexey/projects/fuel/limit_orders/services/predicate-orders-builder/orders/vGx8NIeAtmcrErOEa3Z4rIORovU1i0)
error
--> /Users/alexey/.forc/git/checkouts/std-9be0d6062747ea7/607ac50176db8bef936f91bacf435d0ea37d041e/sway-lib-std/src/logging.sw:8:5
|
6 |
7 | pub fn log<T>(value: T) {
8 | __log::<T>(value);
| ^^^^^^^^^^^^^^^^^ Internal compiler error: Unable to determine ID for log instance.
Please file an issue on the repository and include the code that triggered this error.
9 | }
|
____
Aborting due to 1 error.
Error: Failed to compile swap-predicate