diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 03cc5c2c..964db3da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -182,7 +182,7 @@ jobs: with: version: ${{ steps.metadata.outputs.rust-version }} - run: rustup toolchain install nightly - - run: rm Cargo.lock && cargo +nightly update -Z direct-minimal-versions && cargo update -p bumpalo@3.15.3 --precise 3.14.0 + - run: rm Cargo.lock && cargo +nightly update -Z direct-minimal-versions && cargo update -p bumpalo --precise 3.14.0 - run: cargo test test_linux_latest: diff --git a/cli/src/main.rs b/cli/src/main.rs index 99a9015d..4dfe0778 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -1856,7 +1856,6 @@ mod tests { use assert_fs::{NamedTempFile, TempDir}; use flate2::write::GzEncoder; use flate2::Compression; - use oxhttp::model::Method; use predicates::prelude::*; use std::fs::remove_dir_all; use std::io::read_to_string; diff --git a/js/src/model.rs b/js/src/model.rs index dd8a972c..83ed6132 100644 --- a/js/src/model.rs +++ b/js/src/model.rs @@ -4,7 +4,6 @@ use crate::format_err; use crate::utils::to_err; use js_sys::{Reflect, UriError}; use oxigraph::model::*; -use oxigraph::sparql::Variable; use wasm_bindgen::prelude::*; thread_local! { diff --git a/lib/oxigraph/src/io/read.rs b/lib/oxigraph/src/io/read.rs index c1c3b332..6d01f6f5 100644 --- a/lib/oxigraph/src/io/read.rs +++ b/lib/oxigraph/src/io/read.rs @@ -4,7 +4,6 @@ use crate::io::{DatasetFormat, GraphFormat}; use crate::model::*; -use oxiri::IriParseError; use oxrdfio::{FromReadQuadReader, RdfParseError, RdfParser}; use std::io::Read; diff --git a/lib/oxigraph/src/sparql/eval.rs b/lib/oxigraph/src/sparql/eval.rs index 174f41fa..d75f0761 100644 --- a/lib/oxigraph/src/sparql/eval.rs +++ b/lib/oxigraph/src/sparql/eval.rs @@ -33,7 +33,7 @@ use std::cmp::Ordering; use std::collections::hash_map::DefaultHasher; use std::collections::{HashMap, HashSet}; use std::hash::{Hash, Hasher}; -use std::iter::{empty, once, Iterator}; +use std::iter::{empty, once}; use std::rc::Rc; use std::sync::Arc; use std::{fmt, io, str}; diff --git a/lib/oxigraph/src/sparql/model.rs b/lib/oxigraph/src/sparql/model.rs index f3624ad5..a62264ba 100644 --- a/lib/oxigraph/src/sparql/model.rs +++ b/lib/oxigraph/src/sparql/model.rs @@ -5,7 +5,6 @@ use crate::sparql::results::{ FromReadQueryResultsReader, FromReadSolutionsReader, QueryResultsFormat, QueryResultsParseError, QueryResultsParser, QueryResultsSerializer, }; -use oxrdf::{Variable, VariableRef}; pub use sparesults::QuerySolution; use std::io::{Read, Write}; use std::sync::Arc; diff --git a/lib/oxigraph/src/storage/backend/rocksdb.rs b/lib/oxigraph/src/storage/backend/rocksdb.rs index ac4f6dff..b665401b 100644 --- a/lib/oxigraph/src/storage/backend/rocksdb.rs +++ b/lib/oxigraph/src/storage/backend/rocksdb.rs @@ -9,7 +9,7 @@ )] use crate::storage::error::{CorruptionError, StorageError}; -use libc::{self, c_void}; +use libc::c_void; use oxrocksdb_sys::*; use rand::random; use std::borrow::Borrow; diff --git a/lib/oxrdf/src/literal.rs b/lib/oxrdf/src/literal.rs index e12caf1c..47da00ff 100644 --- a/lib/oxrdf/src/literal.rs +++ b/lib/oxrdf/src/literal.rs @@ -6,7 +6,6 @@ use oxsdatatypes::*; use std::borrow::Cow; use std::fmt; use std::fmt::Write; -use std::option::Option; /// An owned RDF [literal](https://www.w3.org/TR/rdf11-concepts/#dfn-literal). /// diff --git a/lib/oxttl/src/trig.rs b/lib/oxttl/src/trig.rs index e230b9be..e4c5a0b0 100644 --- a/lib/oxttl/src/trig.rs +++ b/lib/oxttl/src/trig.rs @@ -1194,8 +1194,7 @@ mod tests { #![allow(clippy::panic_in_result_fn)] use super::*; - use oxrdf::vocab::xsd; - use oxrdf::{BlankNodeRef, GraphNameRef, LiteralRef, NamedNodeRef}; + use oxrdf::BlankNodeRef; #[test] fn test_write() -> io::Result<()> { diff --git a/python/src/model.rs b/python/src/model.rs index 5933013f..451f1cb0 100644 --- a/python/src/model.rs +++ b/python/src/model.rs @@ -1,5 +1,4 @@ use oxigraph::model::*; -use oxigraph::sparql::Variable; use pyo3::basic::CompareOp; use pyo3::exceptions::{PyIndexError, PyNotImplementedError, PyTypeError, PyValueError}; use pyo3::prelude::*;