Skip to content

fix: update to latest delta-rs release #81

fix: update to latest delta-rs release

fix: update to latest delta-rs release #81

Triggered via push May 2, 2024 05:52
Status Failure
Total duration 3m 43s
Artifacts

rust.yml

on: push
Rust formatting
5s
Rust formatting
Matrix: Clippy
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
mismatched types: examples/demo.rs#L192
error[E0308]: mismatched types --> examples/demo.rs:192:46 | 192 | let _ = self.register_store(url, store.clone()); | -------------- ^^^^^^^^^^^^^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | | | arguments to this method are incorrect | = note: expected struct `std::sync::Arc<(dyn object_store::ObjectStore + 'static)>` found struct `std::sync::Arc<dyn object_store::ObjectStore>` = note: perhaps two different versions of crate `object_store` are being used? note: method defined here --> /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/datafusion-execution-37.1.0/src/object_store.rs:126:8 | 126 | fn register_store( | ^^^^^^^^^^^^^^
`?` couldn't convert the error to `datafusion::error::DataFusionError`: examples/demo.rs#L168
error[E0277]: `?` couldn't convert the error to `datafusion::error::DataFusionError` --> examples/demo.rs:168:17 | 168 | .build()?; | ^ the trait `std::convert::From<object_store::Error>` is not implemented for `datafusion::error::DataFusionError`, which is required by `std::result::Result<std::sync::Arc<dyn object_store::ObjectStore>, datafusion::error::DataFusionError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, object_store::Error>>` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait = help: the following other types implement trait `std::convert::From<T>`: <datafusion::error::DataFusionError as std::convert::From<datafusion_catalogprovider_glue::error::GlueError>> <datafusion::error::DataFusionError as std::convert::From<std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>> <datafusion::error::DataFusionError as std::convert::From<datafusion::arrow::error::ArrowError>> <datafusion::error::DataFusionError as std::convert::From<datafusion::sql::unparser::ast::BuilderError>> <datafusion::error::DataFusionError as std::convert::From<apache_avro::error::Error>> <datafusion::error::DataFusionError as std::convert::From<std::io::Error>> <datafusion::error::DataFusionError as std::convert::From<datafusion::parquet::errors::ParquetError>> <datafusion::error::DataFusionError as std::convert::From<object_store::path::Error>> and 6 others = note: required for `std::result::Result<std::sync::Arc<dyn object_store::ObjectStore>, datafusion::error::DataFusionError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, object_store::Error>>`
method `get_store` has an incompatible type for trait: examples/demo.rs#L186
error[E0053]: method `get_store` has an incompatible type for trait --> examples/demo.rs:186:5 | 186 | fn get_store(&self, url: &Url) -> Result<Arc<dyn ObjectStore>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | = note: expected signature `fn(&DemoS3ObjectStoreProvider, &url::Url) -> std::result::Result<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>, _>` found signature `fn(&DemoS3ObjectStoreProvider, &url::Url) -> std::result::Result<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>, _>` = note: perhaps two different versions of crate `object_store` are being used?
method `register_store` has an incompatible type for trait: examples/demo.rs#L175
error[E0053]: method `register_store` has an incompatible type for trait --> examples/demo.rs:175:5 | 175 | / fn register_store( 176 | | &self, 177 | | url: &Url, 178 | | store: Arc<dyn ObjectStore>, 179 | | ) -> Option<Arc<dyn ObjectStore>> { | |_____________________________________^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | = note: expected signature `fn(&DemoS3ObjectStoreProvider, &url::Url, std::sync::Arc<(dyn object_store::ObjectStore + 'static)>) -> std::option::Option<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>>` found signature `fn(&DemoS3ObjectStoreProvider, &url::Url, std::sync::Arc<(dyn object_store::ObjectStore + 'static)>) -> std::option::Option<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>>` = note: perhaps two different versions of crate `object_store` are being used?
mismatched types: examples/demo.rs#L192
error[E0308]: mismatched types --> examples/demo.rs:192:46 | 192 | let _ = self.register_store(url, store.clone()); | -------------- ^^^^^^^^^^^^^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | | | arguments to this method are incorrect | = note: expected struct `std::sync::Arc<(dyn object_store::ObjectStore + 'static)>` found struct `std::sync::Arc<dyn object_store::ObjectStore>` = note: perhaps two different versions of crate `object_store` are being used? note: method defined here --> /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/datafusion-execution-37.1.0/src/object_store.rs:126:8 | 126 | fn register_store( | ^^^^^^^^^^^^^^
`?` couldn't convert the error to `datafusion::error::DataFusionError`: examples/demo.rs#L168
error[E0277]: `?` couldn't convert the error to `datafusion::error::DataFusionError` --> examples/demo.rs:168:17 | 168 | .build()?; | ^ the trait `std::convert::From<object_store::Error>` is not implemented for `datafusion::error::DataFusionError`, which is required by `std::result::Result<std::sync::Arc<dyn object_store::ObjectStore>, datafusion::error::DataFusionError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, object_store::Error>>` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait = help: the following other types implement trait `std::convert::From<T>`: <datafusion::error::DataFusionError as std::convert::From<datafusion_catalogprovider_glue::error::GlueError>> <datafusion::error::DataFusionError as std::convert::From<std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>> <datafusion::error::DataFusionError as std::convert::From<datafusion::arrow::error::ArrowError>> <datafusion::error::DataFusionError as std::convert::From<datafusion::sql::unparser::ast::BuilderError>> <datafusion::error::DataFusionError as std::convert::From<apache_avro::error::Error>> <datafusion::error::DataFusionError as std::convert::From<std::io::Error>> <datafusion::error::DataFusionError as std::convert::From<datafusion::parquet::errors::ParquetError>> <datafusion::error::DataFusionError as std::convert::From<object_store::path::Error>> and 6 others = note: required for `std::result::Result<std::sync::Arc<dyn object_store::ObjectStore>, datafusion::error::DataFusionError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, object_store::Error>>`
method `get_store` has an incompatible type for trait: examples/demo.rs#L186
error[E0053]: method `get_store` has an incompatible type for trait --> examples/demo.rs:186:5 | 186 | fn get_store(&self, url: &Url) -> Result<Arc<dyn ObjectStore>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | = note: expected signature `fn(&DemoS3ObjectStoreProvider, &url::Url) -> std::result::Result<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>, _>` found signature `fn(&DemoS3ObjectStoreProvider, &url::Url) -> std::result::Result<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>, _>` = note: perhaps two different versions of crate `object_store` are being used?
method `register_store` has an incompatible type for trait: examples/demo.rs#L175
error[E0053]: method `register_store` has an incompatible type for trait --> examples/demo.rs:175:5 | 175 | / fn register_store( 176 | | &self, 177 | | url: &Url, 178 | | store: Arc<dyn ObjectStore>, 179 | | ) -> Option<Arc<dyn ObjectStore>> { | |_____________________________________^ expected trait `object_store::ObjectStore`, found a different trait `object_store::ObjectStore` | = note: expected signature `fn(&DemoS3ObjectStoreProvider, &url::Url, std::sync::Arc<(dyn object_store::ObjectStore + 'static)>) -> std::option::Option<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>>` found signature `fn(&DemoS3ObjectStoreProvider, &url::Url, std::sync::Arc<(dyn object_store::ObjectStore + 'static)>) -> std::option::Option<std::sync::Arc<(dyn object_store::ObjectStore + 'static)>>` = note: perhaps two different versions of crate `object_store` are being used?
Clippy (amd64, stable)
Clippy had exited with the 101 exit code
Test (amd64, stable)
Process completed with exit code 101.
Rust formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (amd64, stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, scherermichael-oss/action-has-permission@1.0.6, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy (amd64, stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: scherermichael-oss/action-has-permission@1.0.6, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (amd64, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test (amd64, stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.