Expected type i32 but got i64 at func_0.