Skip to content

Commit ac50084

Browse files
author
Joonas Koivunen
authored
Merge pull request #736 from KristianWahlroos/upgrade_pin_project
Chore: Fix CI errors
2 parents 9013c94 + 0f6cc75 commit ac50084

File tree

5 files changed

+22
-20
lines changed

5 files changed

+22
-20
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Audit
4848
# FIXME: Disabled:
4949
# 1. spin: is no longer actively maintained
50-
run: cargo audit --ignore RUSTSEC-2019-0031
50+
run: cargo audit --ignore RUSTSEC-2019-0031 --ignore RUSTSEC-2020-0041 --ignore RUSTSEC-2020-0016 --ignore RUSTSEC-2021-0078 --ignore RUSTSEC-2021-0079 --ignore RUSTSEC-2021-0113 --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0124
5151

5252
- name: Test
5353
run: timeout 15m cargo test --all --all-features

Cargo.lock

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ilp-cli/src/interpreter.rs

+1
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ fn unflatten_pairs<'a>(matches: &'a ArgMatches) -> (&'a str, HashMap<&'a str, &'
390390
(matches.value_of("authorization_key").unwrap(), pairs)
391391
}
392392

393+
#[allow(unused)]
393394
#[derive(Debug, serde::Deserialize)]
394395
struct XpringResponse {
395396
http_endpoint: String,

crates/interledger-http/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ mod tests {
8989
use serde::Deserialize;
9090
use warp::test::request;
9191

92+
#[allow(unused)]
9293
#[derive(Deserialize, Clone)]
9394
struct TestJsonStruct {
9495
string_value: String,

crates/interledger-service/src/lib.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ mod tests {
455455

456456
#[derive(Clone)]
457457
struct LayeredService<I, A> {
458-
next: I,
458+
_next: I,
459459
account_type: PhantomData<A>,
460460
}
461461

@@ -464,9 +464,9 @@ mod tests {
464464
I: IncomingService<A> + Send + Sync + 'static,
465465
A: Account,
466466
{
467-
fn new_incoming(next: I) -> Self {
467+
fn new_incoming(_next: I) -> Self {
468468
Self {
469-
next,
469+
_next,
470470
account_type: PhantomData,
471471
}
472472
}
@@ -477,9 +477,9 @@ mod tests {
477477
I: OutgoingService<A> + Send + Sync + 'static,
478478
A: Account,
479479
{
480-
fn new_outgoing(next: I) -> Self {
480+
fn new_outgoing(_next: I) -> Self {
481481
Self {
482-
next,
482+
_next,
483483
account_type: PhantomData,
484484
}
485485
}

0 commit comments

Comments
 (0)