You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2021/07/07 07:32:00 UTC
[jira] [Commented] (AVRO-3170) Rust: test failures in Rabin
[ https://issues.apache.org/jira/browse/AVRO-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376373#comment-17376373 ]
Ismaël Mejía commented on AVRO-3170:
------------------------------------
This seems also probably related to the rust version, can you update to the latest and confirm if it is fixed.
> Rust: test failures in Rabin
> ----------------------------
>
> Key: AVRO-3170
> URL: https://issues.apache.org/jira/browse/AVRO-3170
> Project: Apache Avro
> Issue Type: Bug
> Components: rust
> Reporter: Martin Tzvetanov Grigorov
> Priority: Minor
>
> Running `cargo test` has two failures:
>
> {code:java}
> test src/rabin.rs - rabin::Rabin (line 44) ... FAILED
> test src/lib.rs - (line 637) ... ok
> test src/rabin.rs - rabin::Rabin (line 63) ... FAILED
> test src/lib.rs - (line 705) ... ok
> test src/reader.rs - reader::Reader (line 193) ... ok
> test src/lib.rs - (line 416) ... ok
> test src/lib.rs - (line 718) ... ok
> test src/lib.rs - (line 524) ... ok
> test src/lib.rs - (line 78) ... ok
> test src/lib.rs - (line 461) ... okfailures:---- src/rabin.rs - rabin::Rabin (line 44) stdout ----
> error[E0658]: procedural macros cannot be expanded to expressions
> --> src/rabin.rs:58:24
> |
> 17 | assert_eq!(result[..], hex!("60335ba6d0415528"));
> | ^^^^^^^^^^^^^^^^^^^^^^^^
> |
> = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more informationerror: aborting due to previous errorFor more information about this error, try `rustc --explain E0658`.
> Couldn't compile the test.
> ---- src/rabin.rs - rabin::Rabin (line 63) stdout ----
> error[E0658]: procedural macros cannot be expanded to expressions
> --> src/rabin.rs:74:24
> |
> 14 | assert_eq!(result[..], hex!("60335ba6d0415528"));
> | ^^^^^^^^^^^^^^^^^^^^^^^^
> |
> = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more informationerror: aborting due to previous errorFor more information about this error, try `rustc --explain E0658`.
> Couldn't compile the test.failures:
> src/rabin.rs - rabin::Rabin (line 44)
> src/rabin.rs - rabin::Rabin (line 63)test result: FAILED. 18 passed; 2 failed; 0 ignored; 0 measured; 0 filtered outerror: test failed, to rerun pass '--doc'
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)