Hi, I've been tasked with making a parser that translates from sieve rules to the one we use.
I wanted to do a get-together with your library, but it doesn't compile, both on stable and on nightly.
Here's the output of cargo b:
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/sieve-rs-0.2.0/src/runtime/actions/action_mime.rs:157:13
|
157 | generate_message_id_header(&mut header_value).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- an argument of type `&str` is missing
|
note: function defined here
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mail-builder-0.2.5/src/headers/message_id.rs:83:8
|
83 | pub fn generate_message_id_header(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
157 | generate_message_id_header(&mut header_value, /* &str */).unwrap();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/sieve-rs-0.2.0/src/runtime/actions/action_mime.rs:322:13
|
322 | generate_message_id_header(&mut header_value).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- an argument of type `&str` is missing
|
note: function defined here
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mail-builder-0.2.5/src/headers/message_id.rs:83:8
|
83 | pub fn generate_message_id_header(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
322 | generate_message_id_header(&mut header_value, /* &str */).unwrap();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/sieve-rs-0.2.0/src/runtime/actions/action_notify.rs:167:17
|
167 | generate_message_id_header(&mut message).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- an argument of type `&str` is missing
|
note: function defined here
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mail-builder-0.2.5/src/headers/message_id.rs:83:8
|
83 | pub fn generate_message_id_header(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
167 | generate_message_id_header(&mut message, /* &str */).unwrap();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/sieve-rs-0.2.0/src/runtime/actions/action_vacation.rs:308:9
|
308 | generate_message_id_header(&mut message).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- an argument of type `&str` is missing
|
note: function defined here
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mail-builder-0.2.5/src/headers/message_id.rs:83:8
|
83 | pub fn generate_message_id_header(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
308 | generate_message_id_header(&mut message, /* &str */).unwrap();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active rustc version is rustc 1.68.0-nightly (333ee6c46 2023-01-18)
Hi, I've been tasked with making a parser that translates from sieve rules to the one we use. I wanted to do a get-together with your library, but it doesn't compile, both on stable and on nightly.
Here's the output of cargo b: