update toolchain to nightly-2021-09-24

This commit is contained in:
Marcel Märtens 2021-09-20 12:05:41 +02:00
parent 42eadb715b
commit 2a82405df2
21 changed files with 25 additions and 15 deletions

4
Cargo.lock generated
View File

@ -3801,9 +3801,9 @@ dependencies = [
[[package]] [[package]]
name = "packed_simd_2" name = "packed_simd_2"
version = "0.3.5" version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e64858a2d3733fdd61adfdd6da89aa202f7ff0e741d2fc7ed1e452ba9dc99d7" checksum = "71c0c06716cfc81616fa8e22b721ce92fecd594508bc0eb3d04ae3ef35ac10c5"
dependencies = [ dependencies = [
"cfg-if 0.1.10", "cfg-if 0.1.10",
"libm 0.1.4", "libm 0.1.4",

View File

@ -1,8 +1,7 @@
#![allow(incomplete_features)] #![allow(incomplete_features)]
#![feature( #![feature(
const_generics, generic_const_exprs,
const_evaluatable_checked, const_fn_floating_point_arithmetic,
const_fn_floating_point_arithmetic
)] )]
pub mod msg; pub mod msg;
pub mod sync; pub mod sync;

View File

@ -4,11 +4,9 @@
#![allow(clippy::option_map_unit_fn)] #![allow(clippy::option_map_unit_fn)]
#![deny(clippy::clone_on_ref_ptr)] #![deny(clippy::clone_on_ref_ptr)]
#![feature( #![feature(
arbitrary_enum_discriminant,
associated_type_defaults, associated_type_defaults,
bool_to_option, bool_to_option,
fundamental, fundamental,
iter_map_while,
label_break_value, label_break_value,
option_zip, option_zip,
trait_alias, trait_alias,

View File

@ -34,6 +34,7 @@ pub struct PluginData {
pub struct Plugin { pub struct Plugin {
data: PluginData, data: PluginData,
modules: Vec<PluginModule>, modules: Vec<PluginModule>,
#[allow(dead_code)]
files: HashMap<PathBuf, Vec<u8>>, files: HashMap<PathBuf, Vec<u8>>,
} }

View File

@ -25,6 +25,7 @@ pub struct PluginModule {
events: HashSet<String>, events: HashSet<String>,
allocator: Function, allocator: Function,
memory: Memory, memory: Memory,
#[allow(dead_code)]
name: String, name: String,
} }

View File

@ -1,4 +1,4 @@
#![feature(bool_to_option, array_map)] #![feature(bool_to_option)]
#![allow(clippy::option_map_unit_fn)] #![allow(clippy::option_map_unit_fn)]
mod aura; mod aura;

View File

@ -74,6 +74,7 @@ pub struct ProtocolMetricCache {
sdata_frames_b: GenericCounter<AtomicU64>, sdata_frames_b: GenericCounter<AtomicU64>,
rdata_frames_t: GenericCounter<AtomicU64>, rdata_frames_t: GenericCounter<AtomicU64>,
rdata_frames_b: GenericCounter<AtomicU64>, rdata_frames_b: GenericCounter<AtomicU64>,
#[allow(dead_code)]
ping: GenericGauge<AtomicI64>, ping: GenericGauge<AtomicI64>,
} }

View File

@ -30,6 +30,7 @@ where
D: UnreliableDrain<DataFormat = MpscMsg>, D: UnreliableDrain<DataFormat = MpscMsg>,
{ {
drain: D, drain: D,
#[allow(dead_code)]
last: Instant, last: Instant,
metrics: ProtocolMetricCache, metrics: ProtocolMetricCache,
} }

View File

@ -14,6 +14,7 @@ use std::{
struct StreamInfo { struct StreamInfo {
pub(crate) guaranteed_bandwidth: Bandwidth, pub(crate) guaranteed_bandwidth: Bandwidth,
pub(crate) prio: Prio, pub(crate) prio: Prio,
#[allow(dead_code)]
pub(crate) promises: Promises, pub(crate) promises: Promises,
pub(crate) messages: VecDeque<OTMessage>, pub(crate) messages: VecDeque<OTMessage>,
} }

View File

@ -71,6 +71,7 @@ where
notify_closing_streams: Vec<Sid>, notify_closing_streams: Vec<Sid>,
pending_shutdown: bool, pending_shutdown: bool,
drain: D, drain: D,
#[allow(dead_code)]
last: Instant, last: Instant,
metrics: ProtocolMetricCache, metrics: ProtocolMetricCache,
} }

View File

@ -32,6 +32,7 @@ where
notify_closing_streams: Vec<Sid>, notify_closing_streams: Vec<Sid>,
pending_shutdown: bool, pending_shutdown: bool,
drain: D, drain: D,
#[allow(dead_code)]
last: Instant, last: Instant,
metrics: ProtocolMetricCache, metrics: ProtocolMetricCache,
} }

View File

@ -82,8 +82,10 @@ pub struct Stream {
local_pid: Pid, local_pid: Pid,
remote_pid: Pid, remote_pid: Pid,
sid: Sid, sid: Sid,
#[allow(dead_code)]
prio: Prio, prio: Prio,
promises: Promises, promises: Promises,
#[allow(dead_code)]
guaranteed_bandwidth: Bandwidth, guaranteed_bandwidth: Bandwidth,
send_closed: Arc<AtomicBool>, send_closed: Arc<AtomicBool>,
a2b_msg_s: crossbeam_channel::Sender<(Sid, Bytes)>, a2b_msg_s: crossbeam_channel::Sender<(Sid, Bytes)>,

View File

@ -525,6 +525,7 @@ pub struct QuicDrain {
#[cfg(feature = "quic")] #[cfg(feature = "quic")]
#[derive(Debug)] #[derive(Debug)]
pub struct QuicSink { pub struct QuicSink {
#[allow(dead_code)]
con: quinn::Connection, con: quinn::Connection,
bi: quinn::IncomingBiStreams, bi: quinn::IncomingBiStreams,
recvstreams_r: mpsc::UnboundedReceiver<QuicStream>, recvstreams_r: mpsc::UnboundedReceiver<QuicStream>,

View File

@ -32,6 +32,7 @@ pub(crate) type S2bShutdownBparticipant = (Duration, oneshot::Sender<Result<(),
pub(crate) type B2sPrioStatistic = (Pid, u64, u64); pub(crate) type B2sPrioStatistic = (Pid, u64, u64);
#[derive(Debug)] #[derive(Debug)]
#[allow(dead_code)]
struct ChannelInfo { struct ChannelInfo {
cid: Cid, cid: Cid,
cid_string: String, //optimisationmetrics cid_string: String, //optimisationmetrics
@ -39,7 +40,9 @@ struct ChannelInfo {
#[derive(Debug)] #[derive(Debug)]
struct StreamInfo { struct StreamInfo {
#[allow(dead_code)]
prio: Prio, prio: Prio,
#[allow(dead_code)]
promises: Promises, promises: Promises,
send_closed: Arc<AtomicBool>, send_closed: Arc<AtomicBool>,
b2a_msg_recv_s: Mutex<async_channel::Sender<Bytes>>, b2a_msg_recv_s: Mutex<async_channel::Sender<Bytes>>,

View File

@ -36,6 +36,7 @@ use tracing::*;
#[derive(Debug)] #[derive(Debug)]
struct ParticipantInfo { struct ParticipantInfo {
secret: u128, secret: u128,
#[allow(dead_code)]
s2b_create_channel_s: mpsc::UnboundedSender<S2bCreateChannel>, s2b_create_channel_s: mpsc::UnboundedSender<S2bCreateChannel>,
s2b_shutdown_bparticipant_s: Option<oneshot::Sender<S2bShutdownBparticipant>>, s2b_shutdown_bparticipant_s: Option<oneshot::Sender<S2bShutdownBparticipant>>,
} }

View File

@ -1 +1 @@
nightly-2021-07-06 nightly-2021-09-24

View File

@ -75,9 +75,10 @@ pub enum BanErrorKind {
} }
#[derive(Debug)] #[derive(Debug)]
#[allow(dead_code)]
pub struct BanError { pub struct BanError {
kind: BanErrorKind, kind: BanErrorKind,
/// Uuid of affected user /// Uuid of affected
uuid: Uuid, uuid: Uuid,
/// Username of affected user (as of ban/unban time). /// Username of affected user (as of ban/unban time).
username: String, username: String,

View File

@ -3,7 +3,6 @@
#![allow(clippy::option_map_unit_fn)] #![allow(clippy::option_map_unit_fn)]
#![deny(clippy::clone_on_ref_ptr)] #![deny(clippy::clone_on_ref_ptr)]
#![feature( #![feature(
array_map,
array_methods, array_methods,
array_zip, array_zip,
bool_to_option, bool_to_option,

View File

@ -43,7 +43,7 @@ deflate = { version = "0.9.1", optional = true }
flate2 = { version = "1.0.20", optional = true } flate2 = { version = "1.0.20", optional = true }
num-traits = { version = "0.2", optional = true } num-traits = { version = "0.2", optional = true }
fallible-iterator = { version = "0.2.0", optional = true } fallible-iterator = { version = "0.2.0", optional = true }
kiddo = { version = "0.1.4", optional = true } kiddo = { version = "0.1.5", optional = true }
rstar = { version = "0.9", optional = true } rstar = { version = "0.9", optional = true }
clap = { version = "2.33.3", optional = true } clap = { version = "2.33.3", optional = true }

View File

@ -8,11 +8,9 @@
#![allow(clippy::branches_sharing_code)] // TODO: evaluate #![allow(clippy::branches_sharing_code)] // TODO: evaluate
#![deny(clippy::clone_on_ref_ptr)] #![deny(clippy::clone_on_ref_ptr)]
#![feature( #![feature(
arbitrary_enum_discriminant,
bool_to_option, bool_to_option,
const_panic, const_panic,
label_break_value, label_break_value
array_map
)] )]
mod all; mod all;

View File

@ -33,6 +33,7 @@ impl Location {
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct Kingdom { pub struct Kingdom {
#[allow(dead_code)]
region_name: String, region_name: String,
} }