[INFO] fetching crate batch_resolve_cli 0.3.7... [INFO] testing batch_resolve_cli-0.3.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate batch_resolve_cli 0.3.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate batch_resolve_cli 0.3.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/rust-toolchain [INFO] started tweaking crates.io crate batch_resolve_cli 0.3.7 [INFO] finished tweaking crates.io crate batch_resolve_cli 0.3.7 [INFO] tweaked toml for crates.io crate batch_resolve_cli 0.3.7 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate batch_resolve_cli 0.3.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.4.0 [INFO] [stderr] Downloaded env_logger v0.4.2 [INFO] [stderr] Downloaded net2 v0.2.29 [INFO] [stderr] Downloaded data-encoding v1.2.0 [INFO] [stderr] Downloaded openssl-sys v0.9.11 [INFO] [stderr] Downloaded bytes v0.4.3 [INFO] [stderr] Downloaded parking_lot v0.4.3 [INFO] [stderr] Downloaded clicolors-control v0.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.1 [INFO] [stderr] Downloaded openssl v0.9.11 [INFO] [stderr] Downloaded tokio-core v0.1.7 [INFO] [stderr] Downloaded mio v0.6.7 [INFO] [stderr] Downloaded serde v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.3 [INFO] [stderr] Downloaded toml v0.4.0 [INFO] [stderr] Downloaded trust-dns v0.10.1 [INFO] [stderr] Downloaded indicatif v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21cd12f8b44d5f389750a01a3404a034260593d1789ba3fbc2e3dc89fa31dfb2 [INFO] running `Command { std: "docker" "start" "-a" "21cd12f8b44d5f389750a01a3404a034260593d1789ba3fbc2e3dc89fa31dfb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21cd12f8b44d5f389750a01a3404a034260593d1789ba3fbc2e3dc89fa31dfb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cd12f8b44d5f389750a01a3404a034260593d1789ba3fbc2e3dc89fa31dfb2", kill_on_drop: false }` [INFO] [stdout] 21cd12f8b44d5f389750a01a3404a034260593d1789ba3fbc2e3dc89fa31dfb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3890766b761cc24378d97cfd3353d067b07b48bdb172899ff3a369e872b276c0 [INFO] running `Command { std: "docker" "start" "-a" "3890766b761cc24378d97cfd3353d067b07b48bdb172899ff3a369e872b276c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling openssl v0.9.11 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling smallvec v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling futures v0.1.13 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling trust-dns v0.10.1 [INFO] [stderr] Compiling foreign-types v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling untrusted v0.3.2 [INFO] [stderr] Compiling data-encoding v1.2.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling serde v1.0.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling clicolors-control v0.1.0 [INFO] [stderr] Compiling num_cpus v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling bytes v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling clap v2.24.1 [INFO] [stderr] Compiling mio v0.6.7 [INFO] [stderr] Compiling openssl-sys v0.9.11 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.1 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling parking_lot v0.4.3 [INFO] [stderr] Compiling tokio-core v0.1.7 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling env_logger v0.4.2 [INFO] [stderr] Compiling indicatif v0.1.0 [INFO] [stderr] Compiling toml v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.3 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling batch_resolve_cli v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/resolve/resolver.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/resolve/batch.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / arg_enum! { [INFO] [stdout] 113 | | #[derive(Copy, Clone, Debug)] [INFO] [stdout] 114 | | pub enum QueryType { [INFO] [stdout] 115 | | A, [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arg_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/batch.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | status_fn: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - status_fn: Box, [INFO] [stdout] 35 + status_fn: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/batch.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] 50 + pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Box, Error = ResolverError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - ) -> Box, Error = ResolverError>> { [INFO] [stdout] 76 + ) -> Box, Error = ResolverError>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - ) -> Box> { [INFO] [stdout] 102 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - ) -> Box> { [INFO] [stdout] 117 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - ) -> Box> { [INFO] [stdout] 133 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 - ) -> Box> { [INFO] [stdout] 223 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 282 - ) -> Box> { [INFO] [stdout] 282 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 - ) -> Box> { [INFO] [stdout] 367 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver_threadpool.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - ) -> Box> { [INFO] [stdout] 178 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | ConfigError::AddrParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | ConfigError::TomlParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resolve/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resolve/error.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | ResolverError::DnsClientError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] 229 + let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "3890766b761cc24378d97cfd3353d067b07b48bdb172899ff3a369e872b276c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3890766b761cc24378d97cfd3353d067b07b48bdb172899ff3a369e872b276c0", kill_on_drop: false }` [INFO] [stdout] 3890766b761cc24378d97cfd3353d067b07b48bdb172899ff3a369e872b276c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83fd54b0f27f1f459884773960618bb1c4d662adccfc92e55489c149307b1693 [INFO] running `Command { std: "docker" "start" "-a" "83fd54b0f27f1f459884773960618bb1c4d662adccfc92e55489c149307b1693", kill_on_drop: false }` [INFO] [stderr] Compiling batch_resolve_cli v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/resolve/resolver.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stdout] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stdout] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stdout] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stdout] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/resolve/batch.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / arg_enum! { [INFO] [stdout] 113 | | #[derive(Copy, Clone, Debug)] [INFO] [stdout] 114 | | pub enum QueryType { [INFO] [stdout] 115 | | A, [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arg_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/batch.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | status_fn: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - status_fn: Box, [INFO] [stdout] 35 + status_fn: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/batch.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] 50 + pub fn register_status_callback(&mut self, func: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Box, Error = ResolverError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - ) -> Box, Error = ResolverError>> { [INFO] [stdout] 76 + ) -> Box, Error = ResolverError>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - ) -> Box> { [INFO] [stdout] 102 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - ) -> Box> { [INFO] [stdout] 117 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - ) -> Box> { [INFO] [stdout] 133 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 - ) -> Box> { [INFO] [stdout] 223 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 282 - ) -> Box> { [INFO] [stdout] 282 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 - ) -> Box> { [INFO] [stdout] 367 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver_threadpool.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - ) -> Box> { [INFO] [stdout] 178 + ) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | ConfigError::AddrParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | ConfigError::TomlParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resolve/error.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/resolve/error.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | ResolverError::DnsClientError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] 229 + let ns_resolve: Box, Error = ResolverError>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "83fd54b0f27f1f459884773960618bb1c4d662adccfc92e55489c149307b1693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fd54b0f27f1f459884773960618bb1c4d662adccfc92e55489c149307b1693", kill_on_drop: false }` [INFO] [stdout] 83fd54b0f27f1f459884773960618bb1c4d662adccfc92e55489c149307b1693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 69df705dd0acf0f7d5c1b80f6989f21d9f9664fac4f829f92e214eec4c17631f [INFO] running `Command { std: "docker" "start" "-a" "69df705dd0acf0f7d5c1b80f6989f21d9f9664fac4f829f92e214eec4c17631f", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/resolve/resolver.rs:286:10 [INFO] [stderr] | [INFO] [stderr] 286 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/config.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / lazy_static! { [INFO] [stderr] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stderr] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stderr] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stderr] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stderr] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/config.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / lazy_static! { [INFO] [stderr] 12 | | static ref DEFAULT_DNS_SERVERS: Vec = [INFO] [stderr] 13 | | vec!["8.8.8.8:53".parse().unwrap(), "8.8.4.4:53".parse().unwrap(),]; [INFO] [stderr] 14 | | static ref DEFAULT_TIMEOUT_RETRIES: u32 = 10; [INFO] [stderr] 15 | | static ref DEFAULT_QPS: u32 = 500; [INFO] [stderr] 16 | | pub static ref CONFIG: Arc> = Arc::new(RwLock::new(Config::new())); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/resolve/batch.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | / arg_enum! { [INFO] [stderr] 113 | | #[derive(Copy, Clone, Debug)] [INFO] [stderr] 114 | | pub enum QueryType { [INFO] [stderr] 115 | | A, [INFO] [stderr] ... | [INFO] [stderr] 119 | | } [INFO] [stderr] 120 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `arg_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/batch.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | status_fn: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - status_fn: Box, [INFO] [stderr] 35 + status_fn: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/batch.rs:50:58 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn register_status_callback(&mut self, func: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - pub fn register_status_callback(&mut self, func: Box) { [INFO] [stderr] 50 + pub fn register_status_callback(&mut self, func: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | ) -> Box, Error = ResolverError>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - ) -> Box, Error = ResolverError>> { [INFO] [stderr] 76 + ) -> Box, Error = ResolverError>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:102:14 [INFO] [stderr] | [INFO] [stderr] 102 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - ) -> Box> { [INFO] [stderr] 102 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:117:14 [INFO] [stderr] | [INFO] [stderr] 117 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - ) -> Box> { [INFO] [stderr] 117 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:133:14 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 - ) -> Box> { [INFO] [stderr] 133 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:223:14 [INFO] [stderr] | [INFO] [stderr] 223 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 223 - ) -> Box> { [INFO] [stderr] 223 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:282:14 [INFO] [stderr] | [INFO] [stderr] 282 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 282 - ) -> Box> { [INFO] [stderr] 282 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:367:14 [INFO] [stderr] | [INFO] [stderr] 367 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 367 - ) -> Box> { [INFO] [stderr] 367 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver_threadpool.rs:178:14 [INFO] [stderr] | [INFO] [stderr] 178 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 178 - ) -> Box> { [INFO] [stderr] 178 + ) -> Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:99:57 [INFO] [stderr] | [INFO] [stderr] 99 | ConfigError::AddrParseError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:100:57 [INFO] [stderr] | [INFO] [stderr] 100 | ConfigError::TomlParseError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/resolve/error.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/resolve/error.rs:26:59 [INFO] [stderr] | [INFO] [stderr] 26 | ResolverError::DnsClientError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:229:29 [INFO] [stderr] | [INFO] [stderr] 229 | let ns_resolve: Box, Error = ResolverError>> = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 229 - let ns_resolve: Box, Error = ResolverError>> = [INFO] [stderr] 229 + let ns_resolve: Box, Error = ResolverError>> = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `batch_resolve_cli` (bin "batch-resolve" test) generated 26 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/batch_resolve-6bc9a979da3613ae) [INFO] running `Command { std: "docker" "inspect" "69df705dd0acf0f7d5c1b80f6989f21d9f9664fac4f829f92e214eec4c17631f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69df705dd0acf0f7d5c1b80f6989f21d9f9664fac4f829f92e214eec4c17631f", kill_on_drop: false }` [INFO] [stdout] 69df705dd0acf0f7d5c1b80f6989f21d9f9664fac4f829f92e214eec4c17631f