[INFO] cloning repository https://github.com/detro/mooncell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/detro/mooncell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetro%2Fmooncell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetro%2Fmooncell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef09649cb727e20f7c941d37233f55185d692bdc [INFO] building detro/mooncell against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetro%2Fmooncell" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/detro/mooncell on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/detro/mooncell [INFO] finished tweaking git repo https://github.com/detro/mooncell [INFO] tweaked toml for git repo https://github.com/detro/mooncell written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/detro/mooncell already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcfc04b0d42f14b8f1b8d68406ed28f461f4608a953d5f7e66e17cb80e756b5e [INFO] running `Command { std: "docker" "start" "-a" "fcfc04b0d42f14b8f1b8d68406ed28f461f4608a953d5f7e66e17cb80e756b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfc04b0d42f14b8f1b8d68406ed28f461f4608a953d5f7e66e17cb80e756b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfc04b0d42f14b8f1b8d68406ed28f461f4608a953d5f7e66e17cb80e756b5e", kill_on_drop: false }` [INFO] [stdout] fcfc04b0d42f14b8f1b8d68406ed28f461f4608a953d5f7e66e17cb80e756b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555185186f08ce4ef295d9890b15c968e1072bc500c33738af3a447089b724e6 [INFO] running `Command { std: "docker" "start" "-a" "555185186f08ce4ef295d9890b15c968e1072bc500c33738af3a447089b724e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling curl v0.4.22 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling ipnet v2.0.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling curl-sys v0.4.18 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.46 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling srvzio v1.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling mooncell v0.1.4-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cli.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (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/cli.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (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/logging.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn init(config: &Config) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn init(config: &Config) { [INFO] [stdout] 10 + pub fn init(config: &dyn Config) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | resolver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - resolver: Box, [INFO] [stdout] 30 + resolver: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/config.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn resolver(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn resolver(&self) -> Box { [INFO] [stdout] 31 + fn resolver(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:141:52 [INFO] [stdout] | [INFO] [stdout] 141 | fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] 141 + fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] 42 + pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/resolver.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - impl Clone for Box { [INFO] [stdout] 99 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/resolver.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - fn box_clone(&self) -> Box; [INFO] [stdout] 93 + fn box_clone(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/provider.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | impl fmt::Debug for DoHProvider { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - impl fmt::Debug for DoHProvider { [INFO] [stdout] 54 + impl fmt::Debug for dyn DoHProvider { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doh_json/resolver.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - fn box_clone(&self) -> Box { [INFO] [stdout] 92 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/server.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stdout] 77 + pub fn new(config: &dyn Config, sender: XBeamSender) -> Server { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_testing` [INFO] [stdout] --> src/logging.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init_testing() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bind_tcp_listeners` [INFO] [stdout] --> src/net/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bind_tcp_listeners(ipv4_addresses: &Vec, ipv6_addresses: &Vec, port: &u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TcpRequest` [INFO] [stdout] --> src/net/request.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | TcpRequest [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RequestType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/net/request.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tcp_stream` [INFO] [stdout] --> src/net/request.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | tcp_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/net/request.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_tcp` [INFO] [stdout] --> src/net/request.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn from_tcp(source: SocketAddr, dns_query: DnsMessage, stream: TcpStream) -> Request { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/protocol.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "555185186f08ce4ef295d9890b15c968e1072bc500c33738af3a447089b724e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555185186f08ce4ef295d9890b15c968e1072bc500c33738af3a447089b724e6", kill_on_drop: false }` [INFO] [stdout] 555185186f08ce4ef295d9890b15c968e1072bc500c33738af3a447089b724e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 783c2230f6f6405dcfc644f22003568e00ed4e30a05ab318e37044a56af9b462 [INFO] running `Command { std: "docker" "start" "-a" "783c2230f6f6405dcfc644f22003568e00ed4e30a05ab318e37044a56af9b462", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mooncell v0.1.4-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/config/cli.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (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/cli.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | .author(crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (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/logging.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn init(config: &Config) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn init(config: &Config) { [INFO] [stdout] 10 + pub fn init(config: &dyn Config) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | resolver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - resolver: Box, [INFO] [stdout] 30 + resolver: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/config.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn resolver(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn resolver(&self) -> Box { [INFO] [stdout] 31 + fn resolver(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:141:52 [INFO] [stdout] | [INFO] [stdout] 141 | fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] 141 + fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/processor.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] 42 + pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/resolver.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - impl Clone for Box { [INFO] [stdout] 99 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/resolver.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - fn box_clone(&self) -> Box; [INFO] [stdout] 93 + fn box_clone(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/provider.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | impl fmt::Debug for DoHProvider { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - impl fmt::Debug for DoHProvider { [INFO] [stdout] 54 + impl fmt::Debug for dyn DoHProvider { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doh_json/resolver.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - fn box_clone(&self) -> Box { [INFO] [stdout] 92 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/server.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stdout] 77 + pub fn new(config: &dyn Config, sender: XBeamSender) -> Server { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_testing` [INFO] [stdout] --> src/logging.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init_testing() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bind_tcp_listeners` [INFO] [stdout] --> src/net/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bind_tcp_listeners(ipv4_addresses: &Vec, ipv6_addresses: &Vec, port: &u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TcpRequest` [INFO] [stdout] --> src/net/request.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | TcpRequest [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RequestType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/net/request.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tcp_stream` [INFO] [stdout] --> src/net/request.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | tcp_stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/net/request.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_tcp` [INFO] [stdout] --> src/net/request.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn from_tcp(source: SocketAddr, dns_query: DnsMessage, stream: TcpStream) -> Request { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/protocol.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mooncell-2b430a0c2a5e3fb7) [INFO] running `Command { std: "docker" "inspect" "783c2230f6f6405dcfc644f22003568e00ed4e30a05ab318e37044a56af9b462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783c2230f6f6405dcfc644f22003568e00ed4e30a05ab318e37044a56af9b462", kill_on_drop: false }` [INFO] [stdout] 783c2230f6f6405dcfc644f22003568e00ed4e30a05ab318e37044a56af9b462