Skip to content

Build errors #390

@darkterminal

Description

@darkterminal
cargo build --release

PHP Version 8.4

cargo build --release                          
   Compiling ext-php-rs v0.13.1 (https://github.com/davidcole1340/ext-php-rs.git?branch=master#a77adcde)
error[E0560]: struct `_zend_function_entry` has no field named `doc_comment`
  --> /home/yes/iam/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/builders/function.rs:59:17
   |
59 |                 doc_comment: ptr::null(),
   |                 ^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0560]: struct `_zend_function_entry` has no field named `frameless_function_infos`
  --> /home/darkterminal/fs-museum/DARK-STATION/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/builders/function.rs:61:17
   |
61 |                 frameless_function_infos: ptr::null(),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0560]: struct `_zend_function_entry` has no field named `doc_comment`
  --> /home/yes/iam/DARK-STATION/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/builders/function.rs:87:17
   |
87 |                 doc_comment: ptr::null(),
   |                 ^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0560]: struct `_zend_function_entry` has no field named `frameless_function_infos`
  --> /home/yes/iam/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/builders/function.rs:89:17
   |
89 |                 frameless_function_infos: ptr::null(),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0560]: struct `_zend_function_entry` has no field named `doc_comment`
  --> /home/yes/iam/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/zend/function.rs:42:13
   |
42 |             doc_comment: ptr::null(),
   |             ^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0560]: struct `_zend_function_entry` has no field named `frameless_function_infos`
  --> /home/yes/iam/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/zend/function.rs:44:13
   |
44 |             frameless_function_infos: ptr::null(),
   |             ^^^^^^^^^^^^^^^^^^^^^^^^ `_zend_function_entry` does not have this field
   |
   = note: all struct fields are already assigned

error[E0308]: mismatched types
   --> /home/yes/iam/.cargo/git/checkouts/ext-php-rs-0adfd3c26f55092c/a77adcd/src/zend/handlers.rs:244:36
    |
244 | ...                   if zend_is_true(&mut zv) {
    |                          ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `i32`

Some errors have detailed explanations: E0308, E0560.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `ext-php-rs` (lib) due to 7 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions