Skip to content

Commit d6e458f

Browse files
committed
Auto merge of #722 - saethlin:flaky-crates, r=Mark-Simulacrum
Ignore some more crates Adding all the spurious failures I identified in rust-lang/rust#121282 (comment) I'm also not sure what `blacklist.md` is for, but it hasn't been updated in 6 years so I imagine it's not important.
2 parents 4dbd62a + 54ffaca commit d6e458f

File tree

19 files changed

+60
-89
lines changed

19 files changed

+60
-89
lines changed

Cargo.lock

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

blacklist.md

-59
This file was deleted.

config.toml

+39
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,24 @@ heap-vec = { skip-tests = true } # UB, sometimes segfaults
135135
k2_tree = { skip-tests = true } # UB, sometimes segfaults
136136
stabby-macros = { skip = true } # broken rustc version parsing
137137
stabby = { skip = true } # broken rustc version parsing
138+
knetrs = { skip-tests = true } # UB
139+
yices2 = { skip = true } # Sometimes times out, sometimes doesn't
140+
scheduled-executor = { skip-tests = true } # UB, allocator corruption
141+
skippy-rs = { skip-tests = true } # UB, out-of-bounds get_unchecked
142+
pepe-telemetry = { skip-test = true } # flaky test (concurrency)
143+
puid = { skip-tests = true } # flaky test (timing)
144+
watchable = { skip-tests = true } # flaky test (timing)
145+
lispi = { skip-tests = true } # flaky test (data races)
146+
cargo-ramdisk = { skip-tests = true } # flaky test (concurrency)
147+
njord = { skip-tests = true } # flaky test
148+
matecito = { skip-tests = true } # flaky test (timing)
149+
namaste = { skip-tests = true} # flaky test
150+
faktory = { skip-tests = true } # UB via atomic-option
151+
gazebo = { skip-tests = true } # UB but only in the test suite
152+
context_bind = { skip-tests = true } # UB
153+
unbounded-spsc = { skip-tests = true } # UB
154+
vtable_gen = { skip-tests = true } # UB
155+
crt0stack = { skip-tests = true } # UB
138156

139157
[github-repos]
140158
# "org_name/repo_name" = { option = true }
@@ -175,5 +193,26 @@ stabby = { skip = true } # broken rustc version parsing
175193
"mistrpopo/MandelbrotAnimation" = { skip-tests = true } # second build seems to always fail
176194
"bastibl/futuresdr" = { skip = true } # unstable features
177195
"FutureSDR/FutureSDR" = { skip = true } # unstable features
196+
"yamgent/rusty-jam-2-dog-chicken" = { skip-tests = true } # UB
197+
"Liorst4/liorforth" = { skip-tests = true } # UB
198+
"perlindgren/fastmem" = { skip-tests = true } # UB
199+
"aharisu/navi" = { skip-tests = true } # UB, allocator corruption
200+
"fkjogu/stochasticsampling" = { skip-tests = true } # UB, allocator corruption
201+
"senrust/toy_compiler2" = { skip-tests = true } # UB when tests run concurrently
202+
"Yogaflre/leetcode" = { skip-tests = true } # UB
203+
"UndeadRat22/kzg10-rust" = { skip-tests = true } # Wraps a non-thread-safe C++ library
204+
"JakeDawkins/graphql-client-302-repro" = { skip-tests = true } # Stack overflow in a proc macro
205+
"cdstanford/hydroflow-hackathon" = { skip-tests = true } # UB in a proc macro
206+
"hydro-project/compute-pi" = { skip-tests = true } # UB in a proc macro
207+
"KatsukiFujimoto/git-rs" = { skip-tests = true } # flaky test (HashSet iteration)
208+
"MarkChuCarroll/schism" = { skip-tests = true } # flaky test (concurrency)
209+
"Osrepnay/algae" = { skip-tests = true } # flaky test (timing)
210+
"Yichangcs/Ruscheme" = { skip-tests = true } # flaky test (concurrency)
211+
"bakaq/rust-blackhole" = { skip-tests = true } # flaky test (rng)
212+
"diegoasanch/advent-of-code-2023" = { skip-tests = true } # flaky test (HashMap iteration)
213+
"grnmeira/Snake" = { skip-tests = true } # flaky test (rng)
214+
"wojciechkepka/pkger" = { skip-tests = true } # flaky test (concurrency)
215+
"xffxff/muzero-rs" = { skip-tests = true } # flaky test (rng)
216+
"maxjeffos/rs_dynamic_args" = { skip-tests = true } # flaky test (concurrency)
178217

179218
[local-crates]

src/agent/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use crate::utils::disk_usage::DiskUsage;
1313
use failure::Error;
1414
use rustwide::Workspace;
1515
use std::collections::BTreeSet;
16-
use std::iter::FromIterator;
1716
use std::ops;
1817
use std::sync::atomic::{AtomicBool, Ordering};
1918
use std::thread;

src/assets.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::prelude::*;
2-
use mime::{self, Mime};
2+
use mime::Mime;
33
use serde::Serialize;
44
use std::borrow::Cow;
55
use std::collections::HashMap;

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use std::time::Duration;
3434
pub struct Ex(String);
3535

3636
#[derive(Debug, Clone)]
37-
pub struct DockerEnv(String);
37+
pub struct DockerEnv(#[allow(unused)] String);
3838
impl FromStr for Ex {
3939
type Err = Error;
4040

src/crates/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use crate::prelude::*;
66
use cargo_metadata::PackageId;
77
use percent_encoding::{percent_decode_str, utf8_percent_encode, NON_ALPHANUMERIC};
88
use rustwide::Crate as RustwideCrate;
9-
use std::convert::TryFrom;
109
use std::fmt;
1110
use std::path::Path;
1211
use std::str::FromStr;

src/db/migrations.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
use crate::prelude::*;
2-
use rand::{
3-
self,
4-
distributions::{Alphanumeric, DistString},
5-
};
2+
use rand::distributions::{Alphanumeric, DistString};
63
use rusqlite::{Connection, Transaction};
74
use std::collections::HashSet;
85

@@ -388,7 +385,7 @@ pub fn execute(db: &mut Connection) -> Fallible<()> {
388385
};
389386

390387
for &(name, ref migration) in &migrations() {
391-
if !executed_migrations.contains(&name.to_string()) {
388+
if !executed_migrations.contains(name) {
392389
let t = db.transaction()?;
393390
match migration {
394391
MigrationKind::SQL(sql) => t.execute_batch(sql),

src/report/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ use crate::results::{EncodedLog, EncodingType, FailureReason, ReadResults, TestR
88
use crate::toolchain::Toolchain;
99
use crate::utils;
1010
use crates_index::GitIndex;
11-
use mime::{self, Mime};
11+
use mime::Mime;
1212
use percent_encoding::{utf8_percent_encode, AsciiSet};
1313
use std::borrow::Cow;
1414
#[cfg(test)]
1515
use std::collections::HashMap;
16-
use std::convert::AsRef;
1716
use std::fmt::{self, Display};
1817
use std::fs;
1918
use std::path::{Path, PathBuf};

src/runner/test.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use rustwide::cmd::{CommandError, ProcessLinesActions, SandboxBuilder};
1313
use rustwide::logging::LogStorage;
1414
use rustwide::{Build, PrepareError};
1515
use std::collections::{BTreeSet, HashMap, HashSet};
16-
use std::convert::TryFrom;
1716

1817
fn failure_reason(err: &Error) -> FailureReason {
1918
for cause in err.iter_chain() {

src/server/auth.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use regex::Regex;
77
use rust_team_data::v1 as team_data;
88
use std::collections::{HashMap, HashSet};
99
use std::sync::{Arc, RwLock};
10-
use warp::{self, Filter, Rejection};
10+
use warp::{Filter, Rejection};
1111

1212
lazy_static! {
1313
static ref GIT_REVISION_RE: Regex =

src/server/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ use crate::server::agents::Agents;
1717
use crate::server::auth::ACL;
1818
use crate::server::github::{GitHub, GitHubApi};
1919
use crate::server::tokens::{BotTokens, Tokens};
20-
use http::{self, header::HeaderValue, Response};
20+
use http::{header::HeaderValue, Response};
2121
use hyper::Body;
2222
use metrics::Metrics;
2323
use std::net::SocketAddr;
2424
use std::sync::{Arc, Mutex};
25-
use warp::{self, Filter};
25+
use warp::Filter;
2626

2727
lazy_static! {
2828
static ref SERVER_HEADER: String =

src/server/routes/agent.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use hyper::Body;
1414
use std::collections::HashMap;
1515
use std::sync::{Arc, Condvar, Mutex};
1616
use std::time::Instant;
17-
use warp::{self, Filter, Rejection};
17+
use warp::{Filter, Rejection};
1818

1919
#[derive(Deserialize)]
2020
#[serde(rename_all = "kebab-case")]

src/server/routes/metrics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use http::{Response, StatusCode};
55
use hyper::Body;
66
use prometheus::{Encoder, TextEncoder};
77
use std::sync::Arc;
8-
use warp::{self, Filter, Rejection};
8+
use warp::{Filter, Rejection};
99

1010
pub fn routes(
1111
data: Arc<Data>,

src/server/routes/ui/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use http::{Response, StatusCode};
66
use hyper::Body;
77
use serde::Serialize;
88
use std::sync::Arc;
9-
use warp::{self, Filter, Rejection};
9+
use warp::{Filter, Rejection};
1010

1111
mod agents;
1212
mod experiments;

src/server/routes/webhooks/args.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::experiments::{Assignee, CapLints, DeferredCrateSelect, Mode};
22
use crate::toolchain::Toolchain;
3-
use failure::{self, Fallible};
43

54
#[derive(Debug, thiserror::Error)]
65
#[cfg_attr(test, derive(PartialEq, Eq))]

src/server/routes/webhooks/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use http::{HeaderMap, Response, StatusCode};
1212
use hyper::Body;
1313
use std::str::FromStr;
1414
use std::sync::Arc;
15-
use warp::{self, Filter, Rejection};
15+
use warp::{Filter, Rejection};
1616

1717
fn process_webhook(
1818
payload: &[u8],

src/utils/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::prelude::*;
2-
use failure::{AsFail, Backtrace, Fail};
2+
use failure::{AsFail, Backtrace};
33
use percent_encoding::{AsciiSet, CONTROLS};
44
use std::any::Any;
55
use std::fmt;

src/utils/serialize.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use serde::ser::{Serialize, SerializeSeq, Serializer};
2-
use std::iter::IntoIterator;
32

43
pub fn to_vec<S, T>(data: T, serializer: S) -> Result<S::Ok, S::Error>
54
where

0 commit comments

Comments
 (0)