[
https://issues.apache.org/jira/browse/AVRO-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Tzvetanov Grigorov resolved AVRO-3170.
---------------------------------------------
Resolution: Not A Problem
Indeed, `rustup update` updated Rust to 1.53.0 and now all is good!
> 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)