[INFO] cloning repository https://github.com/mersinvald/batch_resolve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mersinvald/batch_resolve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmersinvald%2Fbatch_resolve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmersinvald%2Fbatch_resolve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c654aba577f7ea76688e5b06d51d84132c7aa2d9 [INFO] testing mersinvald/batch_resolve against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmersinvald%2Fbatch_resolve" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mersinvald/batch_resolve on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/mersinvald/batch_resolve [INFO] finished tweaking git repo https://github.com/mersinvald/batch_resolve [INFO] tweaked toml for git repo https://github.com/mersinvald/batch_resolve written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mersinvald/batch_resolve already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures v0.1.13 [INFO] [stderr] Downloaded clap v2.24.1 [INFO] [stderr] Downloaded smallvec v0.3.3 [INFO] [stderr] Downloaded serde_derive v1.0.3 [INFO] [stderr] Downloaded clicolors-control v0.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.1 [INFO] [stderr] Downloaded toml v0.4.0 [INFO] [stderr] Downloaded tokio-core v0.1.7 [INFO] [stderr] Downloaded tokio-io v0.1.1 [INFO] [stderr] Downloaded parking_lot v0.4.3 [INFO] [stderr] Downloaded serde v1.0.3 [INFO] [stderr] Downloaded indicatif v0.1.0 [INFO] [stderr] Downloaded trust-dns v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55fae5a6e4605aa790d5c5aad06d61d918604c5da00bfff24ffe12d93567ccb6 [INFO] running `Command { std: "docker" "start" "-a" "55fae5a6e4605aa790d5c5aad06d61d918604c5da00bfff24ffe12d93567ccb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55fae5a6e4605aa790d5c5aad06d61d918604c5da00bfff24ffe12d93567ccb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fae5a6e4605aa790d5c5aad06d61d918604c5da00bfff24ffe12d93567ccb6", kill_on_drop: false }` [INFO] [stdout] 55fae5a6e4605aa790d5c5aad06d61d918604c5da00bfff24ffe12d93567ccb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6009e7eae07e2dcda52fe9e0d94e73797d38f19d6e099f6bd9de248a3293f574 [INFO] running `Command { std: "docker" "start" "-a" "6009e7eae07e2dcda52fe9e0d94e73797d38f19d6e099f6bd9de248a3293f574", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling futures v0.1.13 [INFO] [stderr] Compiling smallvec v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling openssl v0.9.11 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling trust-dns v0.10.1 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling foreign-types v0.2.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [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 untrusted v0.3.2 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling unreachable v0.1.1 [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 term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling clicolors-control v0.1.0 [INFO] [stderr] Compiling num_cpus v1.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num-integer v0.1.34 [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 syn v0.11.11 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling parking_lot_core v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.11 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.1 [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: 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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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: 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.91s [INFO] running `Command { std: "docker" "inspect" "6009e7eae07e2dcda52fe9e0d94e73797d38f19d6e099f6bd9de248a3293f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6009e7eae07e2dcda52fe9e0d94e73797d38f19d6e099f6bd9de248a3293f574", kill_on_drop: false }` [INFO] [stdout] 6009e7eae07e2dcda52fe9e0d94e73797d38f19d6e099f6bd9de248a3293f574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22db2d3d931bb76d58d724f1878797a175e17de191e84997e7f433766ff4a944 [INFO] running `Command { std: "docker" "start" "-a" "22db2d3d931bb76d58d724f1878797a175e17de191e84997e7f433766ff4a944", kill_on_drop: false }` [INFO] [stderr] Compiling batch_resolve_cli v0.3.7 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resolve/resolver.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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: 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "22db2d3d931bb76d58d724f1878797a175e17de191e84997e7f433766ff4a944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22db2d3d931bb76d58d724f1878797a175e17de191e84997e7f433766ff4a944", kill_on_drop: false }` [INFO] [stdout] 22db2d3d931bb76d58d724f1878797a175e17de191e84997e7f433766ff4a944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95effd98180a278fbceffd5d050a9754b5d196449801cfd8cca6297b834c1272 [INFO] running `Command { std: "docker" "start" "-a" "95effd98180a278fbceffd5d050a9754b5d196449801cfd8cca6297b834c1272", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Status) + Send` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = ResolverError>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [INFO] [stderr] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolve/resolver.rs:367:14 [INFO] [stderr] | [INFO] [stderr] 367 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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 issue #80165 [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] [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: 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: `batch_resolve_cli` (bin "batch-resolve" test) generated 26 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/batch_resolve-c78cebfda59e1894) [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] running `Command { std: "docker" "inspect" "95effd98180a278fbceffd5d050a9754b5d196449801cfd8cca6297b834c1272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95effd98180a278fbceffd5d050a9754b5d196449801cfd8cca6297b834c1272", kill_on_drop: false }` [INFO] [stdout] 95effd98180a278fbceffd5d050a9754b5d196449801cfd8cca6297b834c1272