You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/25 14:34:01 UTC

[jira] [Updated] (ARROW-11375) [Rust] CI fails due to deprecation warning in clippy

     [ https://issues.apache.org/jira/browse/ARROW-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-11375:
-----------------------------------
    Labels: pull-request-available  (was: )

> [Rust] CI fails due to deprecation warning in clippy
> ----------------------------------------------------
>
>                 Key: ARROW-11375
>                 URL: https://issues.apache.org/jira/browse/ARROW-11375
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Andrew Lamb
>            Assignee: Jorge Leitão
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Rust clippy lint test on CI started failing with this error:
> {code}
>    Compiling arrow-flight v3.0.0-SNAPSHOT (/__w/arrow/arrow/rust/arrow-flight)
> error: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead.
>   --> arrow/benches/builder.rs:39:9
>    |
> 39 |         Benchmark::new("bench_primitive", move |b| {
>    |         ^^^^^^^^^^^^^^
>    |
>    = note: `-D deprecated` implied by `-D warnings`
> error: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead.
>   --> arrow/benches/builder.rs:62:9
>    |
> 62 |         Benchmark::new("bench_bool", move |b| {
>    |         ^^^^^^^^^^^^^^
> error: use of deprecated associated function `criterion::Criterion::<M>::bench`: Please use BenchmarkGroups instead.
>   --> arrow/benches/builder.rs:37:7
>    |
> 37 |     c.bench(
>    |       ^^^^^
> error: use of deprecated associated function `criterion::Criterion::<M>::bench`: Please use BenchmarkGroups instead.
>   --> arrow/benches/builder.rs:60:7
>    |
> 60 |     c.bench(
>    |       ^^^^^
> {code}
> It appears related to the latest release of criterion: https://crates.io/crates/criterion/0.3.4 (On Jan 24 2021)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)