diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f270e9..929b673 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,6 @@ jobs: - aarch64-apple-darwin # Windows ARM is not currently working # - aarch64-pc-windows-msvc - - aarch64-unknown-linux-musl - x86_64-unknown-linux-musl toolchain: - stable @@ -70,9 +69,6 @@ jobs: # - target: aarch64-pc-windows-msvc # os: windows-latest # testable: false - - target: aarch64-unknown-linux-musl - os: ubuntu-latest - testable: true - target: x86_64-unknown-linux-musl os: ubuntu-latest testable: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index edd8105..9f25e9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,6 @@ jobs: - aarch64-apple-darwin # Windows ARM is not currently working # - aarch64-pc-windows-msvc - - aarch64-unknown-linux-musl - x86_64-unknown-linux-musl # Testability according to cross # https://github.com/rust-embedded/cross#supported-targets @@ -56,8 +55,6 @@ jobs: os: macos-latest # - target: aarch64-pc-windows-msvc # os: windows-latest - - target: aarch64-unknown-linux-musl - os: ubuntu-latest - target: x86_64-unknown-linux-musl os: ubuntu-latest runs-on: ${{ matrix.os }} diff --git a/src/app/fetch_actor.rs b/src/app/fetch_actor.rs index 17deab6..c6bfff5 100644 --- a/src/app/fetch_actor.rs +++ b/src/app/fetch_actor.rs @@ -1,3 +1,5 @@ +#![allow(clippy::from_over_into)] + use crate::app::datadogstatsd::{CustomMetrics, DdMetrics}; use hogan::config::ConfigDir; use riker::actors::*; diff --git a/src/app/head_actor.rs b/src/app/head_actor.rs index b5dbe9e..f414560 100644 --- a/src/app/head_actor.rs +++ b/src/app/head_actor.rs @@ -1,3 +1,5 @@ +#![allow(clippy::from_over_into)] + use anyhow::Result; use futures::executor::block_on; use futures::future::RemoteHandle; diff --git a/src/app/server.rs b/src/app/server.rs index 0ff00a2..6d70385 100644 --- a/src/app/server.rs +++ b/src/app/server.rs @@ -87,6 +87,7 @@ fn create_error_response(e: anyhow::Error) -> HttpResponse { } } +#[allow(clippy::too_many_arguments)] pub fn start_up_server( common: AppCommon, port: u16, diff --git a/src/git.rs b/src/git.rs index 0e76421..1afce6f 100644 --- a/src/git.rs +++ b/src/git.rs @@ -10,7 +10,7 @@ use url::Url; pub fn ext_clone(url: &Url, path: &Path) -> Result<()> { info!("Cloning {:?} to {:?}", url, path); let mut clone = Command::new("git") - .args(&["clone", &url.to_string(), path.to_str().unwrap()]) + .args(&["clone", url.as_ref(), path.to_str().unwrap()]) .spawn()?; let result = clone.wait()?; info!("Clone output {}", result); diff --git a/src/transform/helper_url_rm_path.rs b/src/transform/helper_url_rm_path.rs index 9fa0b4b..245f81e 100644 --- a/src/transform/helper_url_rm_path.rs +++ b/src/transform/helper_url_rm_path.rs @@ -24,7 +24,7 @@ impl HelperDef for UrlRmPathHelper { let url = if s.ends_with('/') { &s[..s.len() - 1] } else { - &s + s }; match Url::parse(url) {