[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] testing detro/mooncell against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdetro%2Fmooncell" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/detro/mooncell on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-11/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76991b31f4bc32d6143b91c0527f8ab3fa21246271d915519945b9d2692c5a28 [INFO] running `Command { std: "docker" "start" "-a" "76991b31f4bc32d6143b91c0527f8ab3fa21246271d915519945b9d2692c5a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76991b31f4bc32d6143b91c0527f8ab3fa21246271d915519945b9d2692c5a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76991b31f4bc32d6143b91c0527f8ab3fa21246271d915519945b9d2692c5a28", kill_on_drop: false }` [INFO] [stdout] 76991b31f4bc32d6143b91c0527f8ab3fa21246271d915519945b9d2692c5a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b3ced1732c0d8740a160755e7f0e4063f47a25f50a648b159310f6ec6fe0e48 [INFO] running `Command { std: "docker" "start" "-a" "8b3ced1732c0d8740a160755e7f0e4063f47a25f50a648b159310f6ec6fe0e48", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling curl v0.4.22 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling data-encoding v2.1.2 [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 semver v0.9.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [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 typemap v0.3.3 [INFO] [stderr] Compiling lock_api v0.1.5 [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 crossbeam-channel v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.46 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling curl-sys v0.4.18 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.6 [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 ctrlc v3.1.3 [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 log4rs v0.8.3 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-codec v0.1.1 [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/core/resolver.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | impl Clone for 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 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/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/logging.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn init(config: &Config) { [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] 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: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/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: `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] = note: `#[warn(dead_code)]` on by default [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] [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] [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: 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] [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 39.85s [INFO] running `Command { std: "docker" "inspect" "8b3ced1732c0d8740a160755e7f0e4063f47a25f50a648b159310f6ec6fe0e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3ced1732c0d8740a160755e7f0e4063f47a25f50a648b159310f6ec6fe0e48", kill_on_drop: false }` [INFO] [stdout] 8b3ced1732c0d8740a160755e7f0e4063f47a25f50a648b159310f6ec6fe0e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36ee46f0e4abd1047665750d543d37c6a8dfd120b5071e536c70b42a3e670867 [INFO] running `Command { std: "docker" "start" "-a" "36ee46f0e4abd1047665750d543d37c6a8dfd120b5071e536c70b42a3e670867", kill_on_drop: false }` [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/core/resolver.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | impl Clone for 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 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/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/logging.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn init(config: &Config) { [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] 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: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/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: `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] = note: `#[warn(dead_code)]` on by default [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] [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] [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: 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] [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 4.53s [INFO] running `Command { std: "docker" "inspect" "36ee46f0e4abd1047665750d543d37c6a8dfd120b5071e536c70b42a3e670867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ee46f0e4abd1047665750d543d37c6a8dfd120b5071e536c70b42a3e670867", kill_on_drop: false }` [INFO] [stdout] 36ee46f0e4abd1047665750d543d37c6a8dfd120b5071e536c70b42a3e670867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5e77de64f8491735cf5a43570a28e22d18c9198ce3f12bc9918134de489c2e2 [INFO] running `Command { std: "docker" "start" "-a" "d5e77de64f8491735cf5a43570a28e22d18c9198ce3f12bc9918134de489c2e2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/config/cli.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | .author(crate_authors!("\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (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/cli.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | .author(crate_authors!("\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (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/core/resolver.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | impl Clone for 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 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - impl Clone for Box { [INFO] [stderr] 99 + impl Clone for Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/provider.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | impl fmt::Debug for DoHProvider { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - impl fmt::Debug for DoHProvider { [INFO] [stderr] 54 + impl fmt::Debug for dyn DoHProvider { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/logging.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn init(config: &Config) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - pub fn init(config: &Config) { [INFO] [stderr] 10 + pub fn init(config: &dyn Config) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/processor.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | resolver: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - resolver: Box, [INFO] [stderr] 30 + resolver: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config/config.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | fn resolver(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - fn resolver(&self) -> Box { [INFO] [stderr] 31 + fn resolver(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/processor.rs:141:52 [INFO] [stderr] | [INFO] [stderr] 141 | fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 141 - fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stderr] 141 + fn resolve_and_respond(req: Request, resolver: Box) -> () { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/processor.rs:42:62 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stderr] 42 + pub fn new(receiver: XBeamReceiver, resolver: Box) -> Processor { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/resolver.rs:93:30 [INFO] [stderr] | [INFO] [stderr] 93 | fn box_clone(&self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - fn box_clone(&self) -> Box; [INFO] [stderr] 93 + fn box_clone(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/doh_json/resolver.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | fn box_clone(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - fn box_clone(&self) -> Box { [INFO] [stderr] 92 + fn box_clone(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/server.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - pub fn new(config: &Config, sender: XBeamSender) -> Server { [INFO] [stderr] 77 + pub fn new(config: &dyn Config, sender: XBeamSender) -> Server { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bind_tcp_listeners` [INFO] [stderr] --> src/net/utils.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn bind_tcp_listeners(ipv4_addresses: &Vec, ipv6_addresses: &Vec, port: &u16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TcpRequest` [INFO] [stderr] --> src/net/request.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | TcpRequest [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tcp_stream` [INFO] [stderr] --> src/net/request.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | tcp_stream: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_tcp` [INFO] [stderr] --> src/net/request.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn from_tcp(source: SocketAddr, dns_query: DnsMessage, stream: TcpStream) -> Request { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `init_testing` [INFO] [stderr] --> src/logging.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn init_testing() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/core/protocol.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | Err(err) => panic!(err) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 28 | Err(err) => panic!("{}", err) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 28 | Err(err) => std::panic::panic_any(err) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `mooncell` (bin "mooncell" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mooncell-931e6f1c9a699462) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test doh_json::provider::test::should_provide_google_provider ... ok [INFO] [stdout] test dns::protocol::test::should_deserialize_udp_query_noedns_example_com ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_default_provider_ids ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_blahdns_provider ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_quad9_provider ... ok [INFO] [stdout] test dns::protocol::test::should_deserialize_udp_query_aaaa_www_ivandemarino_me ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_cloudflare_provider ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_quad9_unsecured_provider ... ok [INFO] [stdout] test dns::protocol::test::should_deserialize_udp_query_example_com ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_rubyfish_provider ... ok [INFO] [stdout] test doh_json::provider::test::should_provide_quad9_secured_provider ... ok [INFO] [stdout] test doh_json::response::test::should_serialize_response ... ok [INFO] [stdout] test doh_json::response::test::should_apply_to_dns_message ... ok [INFO] [stdout] test doh_json::response::test::should_deserialize_response ... ok [INFO] [stdout] test doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me ... FAILED [INFO] [stdout] test doh_json::resolver::test::should_resolve_udp_query_example_com ... FAILED [INFO] [stdout] test doh_json::resolver::test::should_resolve_udp_query_noedns_example_com ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me stdout ---- [INFO] [stdout] thread 'doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `1`', src/doh_json/resolver.rs:271:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f168f2c1ec - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f168f2c1ec - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f168f2c1ec - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f168f2c1ec - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f168f5289c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x55f168f25853 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55f168f2ebd2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f168f2ebd2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f168f2ebd2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55f168f2e821 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f168f2f223 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55f168f2ef40 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55f168f2c694 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55f168f2ec79 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55f168a9ced1 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x55f168f50ed8 - core::panicking::assert_failed_inner::h07aa75cd18bc760d [INFO] [stdout] 16: 0x55f168ec5e3a - core::panicking::assert_failed::h318bb8112dc0a14a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:154:5 [INFO] [stdout] 17: 0x55f168b0afd1 - mooncell::doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me::h37fa1511b6e1c11c [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:271:5 [INFO] [stdout] 18: 0x55f168b0aa6a - mooncell::doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me::{{closure}}::h75d5450ea98b8526 [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:257:3 [INFO] [stdout] 19: 0x55f168acb06e - core::ops::function::FnOnce::call_once::hb0f58dba1dcb4622 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f168b42053 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f168b42053 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55f168b40d3f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55f168b40d3f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55f168b40d3f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55f168b40d3f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55f168b40d3f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55f168b40d3f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55f168b40d3f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55f168b4a101 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55f168b4a101 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x55f168b16b8f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55f168b16b8f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55f168b16b8f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55f168b16b8f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x55f168b16b8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55f168f34f73 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f5dd118c609 - start_thread [INFO] [stdout] 42: 0x7f5dd0f5c293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- doh_json::resolver::test::should_resolve_udp_query_example_com stdout ---- [INFO] [stdout] thread 'doh_json::resolver::test::should_resolve_udp_query_example_com' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `1`', src/doh_json/resolver.rs:197:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f168f2c1ec - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f168f2c1ec - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f168f2c1ec - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f168f2c1ec - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f168f5289c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x55f168f25853 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55f168f2ebd2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f168f2ebd2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f168f2ebd2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55f168f2e821 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f168f2f223 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55f168f2ef40 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55f168f2c694 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55f168f2ec79 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55f168a9ced1 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x55f168f50ed8 - core::panicking::assert_failed_inner::h07aa75cd18bc760d [INFO] [stdout] 16: 0x55f168ec5e3a - core::panicking::assert_failed::h318bb8112dc0a14a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:154:5 [INFO] [stdout] 17: 0x55f168b08a2b - mooncell::doh_json::resolver::test::should_resolve_udp_query_example_com::h9d501c09ca0b52a7 [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:197:5 [INFO] [stdout] 18: 0x55f168b084ca - mooncell::doh_json::resolver::test::should_resolve_udp_query_example_com::{{closure}}::h317d1ff877a70f09 [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:183:3 [INFO] [stdout] 19: 0x55f168acb02e - core::ops::function::FnOnce::call_once::ha24cca8e575c30f7 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f168b42053 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f168b42053 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55f168b40d3f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55f168b40d3f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55f168b40d3f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55f168b40d3f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55f168b40d3f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55f168b40d3f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55f168b40d3f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55f168b4a101 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55f168b4a101 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x55f168b16b8f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55f168b16b8f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55f168b16b8f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55f168b16b8f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x55f168b16b8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55f168f34f73 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f5dd118c609 - start_thread [INFO] [stdout] 42: 0x7f5dd0f5c293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- doh_json::resolver::test::should_resolve_udp_query_noedns_example_com stdout ---- [INFO] [stdout] thread 'doh_json::resolver::test::should_resolve_udp_query_noedns_example_com' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `1`', src/doh_json/resolver.rs:234:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f168f2c1ec - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f168f2c1ec - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f168f2c1ec - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f168f2c1ec - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f168f5289c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x55f168f25853 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55f168f2ebd2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f168f2ebd2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f168f2ebd2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55f168f2e821 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f168f2f223 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55f168f2ef40 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55f168f2c694 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55f168f2ec79 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55f168a9ced1 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x55f168f50ed8 - core::panicking::assert_failed_inner::h07aa75cd18bc760d [INFO] [stdout] 16: 0x55f168ec5e3a - core::panicking::assert_failed::h318bb8112dc0a14a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:154:5 [INFO] [stdout] 17: 0x55f168b09cfb - mooncell::doh_json::resolver::test::should_resolve_udp_query_noedns_example_com::h0815b9137ffd7b7f [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:234:5 [INFO] [stdout] 18: 0x55f168b0979a - mooncell::doh_json::resolver::test::should_resolve_udp_query_noedns_example_com::{{closure}}::h97366b6926f228d5 [INFO] [stdout] at /opt/rustwide/workdir/src/doh_json/resolver.rs:220:3 [INFO] [stdout] 19: 0x55f168acafee - core::ops::function::FnOnce::call_once::h9eca98c0aedb061b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f168b42053 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f168b42053 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55f168b40d3f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55f168b40d3f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55f168b40d3f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55f168b40d3f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55f168b40d3f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55f168b40d3f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55f168b40d3f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55f168b4a101 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55f168b4a101 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x55f168b16b8f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55f168b16b8f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55f168b16b8f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55f168b16b8f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55f168b16b8f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x55f168b16b8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55f168f34f73 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55f168f34f73 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f5dd118c609 - start_thread [INFO] [stdout] 42: 0x7f5dd0f5c293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] doh_json::resolver::test::should_resolve_udp_query_aaaa_www_ivandemarino_me [INFO] [stdout] doh_json::resolver::test::should_resolve_udp_query_example_com [INFO] [stdout] doh_json::resolver::test::should_resolve_udp_query_noedns_example_com [INFO] [stdout] [INFO] [stdout] test result: FAILED. 14 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin mooncell' [INFO] running `Command { std: "docker" "inspect" "d5e77de64f8491735cf5a43570a28e22d18c9198ce3f12bc9918134de489c2e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e77de64f8491735cf5a43570a28e22d18c9198ce3f12bc9918134de489c2e2", kill_on_drop: false }` [INFO] [stdout] d5e77de64f8491735cf5a43570a28e22d18c9198ce3f12bc9918134de489c2e2