[INFO] fetching crate rustdns 0.4.0... [INFO] testing rustdns-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rustdns 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rustdns 0.4.0 [INFO] finished tweaking crates.io crate rustdns 0.4.0 [INFO] tweaked toml for crates.io crate rustdns 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustdns 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 201 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding hyper-alpn v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding idna v0.2.3 (available: v1.1.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding strum v0.23.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.23.1 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded pest_consume v1.1.3 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded hyper-alpn v0.3.0 [INFO] [stderr] Downloaded test-env-log v0.2.8 [INFO] [stderr] Downloaded pest_consume_macros v1.1.0 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded humantime v2.3.0 [INFO] [stderr] Downloaded json_comments v0.2.2 [INFO] [stderr] Downloaded env_logger v0.9.3 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded pest v2.8.2 [INFO] [stderr] Downloaded pest_derive v2.8.2 [INFO] [stderr] Downloaded sct v0.6.1 [INFO] [stderr] Downloaded pest_meta v2.8.2 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90bd0808d5b2940eddb2ae3e75dc301aa760381459b8ecabaeb53b6155f4d709 [INFO] running `Command { std: "docker" "start" "-a" "90bd0808d5b2940eddb2ae3e75dc301aa760381459b8ecabaeb53b6155f4d709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90bd0808d5b2940eddb2ae3e75dc301aa760381459b8ecabaeb53b6155f4d709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bd0808d5b2940eddb2ae3e75dc301aa760381459b8ecabaeb53b6155f4d709", kill_on_drop: false }` [INFO] [stdout] 90bd0808d5b2940eddb2ae3e75dc301aa760381459b8ecabaeb53b6155f4d709 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 965df29e9c7a2b477596a0fd6cfa053127eaeb88e9520b8c65d16e281cf0eb54 [INFO] running `Command { std: "docker" "start" "-a" "965df29e9c7a2b477596a0fd6cfa053127eaeb88e9520b8c65d16e281cf0eb54", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling pest_consume v1.1.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-alpn v0.3.0 [INFO] [stderr] Compiling rustdns v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dns.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] ... [INFO] [stdout] 264 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:303:61 [INFO] [stdout] | [INFO] [stdout] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Rcode` [INFO] [stdout] ... [INFO] [stdout] 306 | pub enum Rcode { [INFO] [stdout] | ----- `Rcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:391:55 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] ... [INFO] [stdout] 394 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:446:55 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Class` [INFO] [stdout] 447 | #[repr(u16)] [INFO] [stdout] 448 | pub enum Class { [INFO] [stdout] | ----- `Class` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.31s [INFO] running `Command { std: "docker" "inspect" "965df29e9c7a2b477596a0fd6cfa053127eaeb88e9520b8c65d16e281cf0eb54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965df29e9c7a2b477596a0fd6cfa053127eaeb88e9520b8c65d16e281cf0eb54", kill_on_drop: false }` [INFO] [stdout] 965df29e9c7a2b477596a0fd6cfa053127eaeb88e9520b8c65d16e281cf0eb54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301ed1d6801d22fc3f79c050c2d427d116c2e2aa089a926645b9adb4969d462e [INFO] running `Command { std: "docker" "start" "-a" "301ed1d6801d22fc3f79c050c2d427d116c2e2aa089a926645b9adb4969d462e", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling test-env-log v0.2.8 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dns.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] ... [INFO] [stdout] 264 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:303:61 [INFO] [stdout] | [INFO] [stdout] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Rcode` [INFO] [stdout] ... [INFO] [stdout] 306 | pub enum Rcode { [INFO] [stdout] | ----- `Rcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:391:55 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] ... [INFO] [stdout] 394 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:446:55 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Class` [INFO] [stdout] 447 | #[repr(u16)] [INFO] [stdout] 448 | pub enum Class { [INFO] [stdout] | ----- `Class` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling rustdns v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MockClient` is never constructed [INFO] [stdout] --> tests/resolver.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | struct MockClient {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stdout] --> src/types.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stdout] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dns.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn new(buf: &[u8]) -> MessageParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] ... [INFO] [stdout] 264 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:303:61 [INFO] [stdout] | [INFO] [stdout] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Rcode` [INFO] [stdout] ... [INFO] [stdout] 306 | pub enum Rcode { [INFO] [stdout] | ----- `Rcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:391:55 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stdout] ... [INFO] [stdout] 394 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:446:55 [INFO] [stdout] | [INFO] [stdout] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Class` [INFO] [stdout] 447 | #[repr(u16)] [INFO] [stdout] 448 | pub enum Class { [INFO] [stdout] | ----- `Class` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | fn string(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zones/parser.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node) -> Result<&str> { [INFO] [stdout] | ^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | fn domain(input: Node<'_>) -> Result<&str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "301ed1d6801d22fc3f79c050c2d427d116c2e2aa089a926645b9adb4969d462e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301ed1d6801d22fc3f79c050c2d427d116c2e2aa089a926645b9adb4969d462e", kill_on_drop: false }` [INFO] [stdout] 301ed1d6801d22fc3f79c050c2d427d116c2e2aa089a926645b9adb4969d462e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f6079b4cdf04f54b965cc061602f7690ad7b137660c3d6ad5b3203976751eff [INFO] running `Command { std: "docker" "start" "-a" "1f6079b4cdf04f54b965cc061602f7690ad7b137660c3d6ad5b3203976751eff", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stderr] --> src/types.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stderr] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stderr] --> src/types.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stderr] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stderr] --> src/types.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stderr] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stderr] --> src/types.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stderr] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `arbitrary` [INFO] [stderr] --> src/types.rs:206:12 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `base64`, `clients`, `default`, `doh`, `http`, `http_deps`, `hyper`, `hyper-alpn`, `json`, `mime`, `pest`, `pest_consume`, `pest_derive`, `serde`, `serde_json`, `tcp`, `udp`, `url`, and `zones` [INFO] [stderr] = help: consider adding `arbitrary` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/dns.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | fn new(buf: &[u8]) -> MessageParser { [INFO] [stderr] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | fn new(buf: &[u8]) -> MessageParser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:261:61 [INFO] [stderr] | [INFO] [stderr] 261 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stderr] ... [INFO] [stderr] 264 | pub enum Opcode { [INFO] [stderr] | ------ `Opcode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:303:61 [INFO] [stderr] | [INFO] [stderr] 303 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, Hash, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Rcode` [INFO] [stderr] ... [INFO] [stderr] 306 | pub enum Rcode { [INFO] [stderr] | ----- `Rcode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:391:55 [INFO] [stderr] | [INFO] [stderr] 391 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type` [INFO] [stderr] ... [INFO] [stderr] 394 | pub enum Type { [INFO] [stderr] | ---- `Type` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:446:55 [INFO] [stderr] | [INFO] [stderr] 446 | #[derive(Copy, Clone, Debug, Display, EnumString, Eq, FromPrimitive, Hash, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Class` [INFO] [stderr] 447 | #[repr(u16)] [INFO] [stderr] 448 | pub enum Class { [INFO] [stderr] | ----- `Class` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/zones/parser.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | fn string(input: Node) -> Result<&str> { [INFO] [stderr] | ^^^^ ---- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | fn string(input: Node<'_>) -> Result<&str> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/zones/parser.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | fn domain(input: Node) -> Result<&str> { [INFO] [stderr] | ^^^^ ---- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 65 | fn domain(input: Node<'_>) -> Result<&str> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rustdns` (lib) generated 12 warnings (run `cargo fix --lib -p rustdns` to apply 3 suggestions) [INFO] [stderr] warning: struct `MockClient` is never constructed [INFO] [stderr] --> tests/resolver.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | struct MockClient {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustdns` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: `rustdns` (test "resolver") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustdns-833186bd3fd7e47f) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test display::tests::test_display ... ok [INFO] [stdout] test util::test_reverse ... ok [INFO] [stdout] test resource::tests::test_soa_rname_from_email ... ok [INFO] [stdout] test zones::parser_tests::tests::test_parse_record_errors ... ok [INFO] [stdout] test zones::parser_tests::tests::test_parse_combinations ... ok [INFO] [stdout] test zones::preprocessor::tests::test_preprocessor ... ok [INFO] [stdout] test zones::parser_tests::tests::test_parse_record ... ok [INFO] [stdout] test resource::tests::test_soa_rname_to_email ... ok [INFO] [stdout] test zones::process::tests::test_into_records ... ok [INFO] [stdout] test clients::json::tests::test_parse_response ... ok [INFO] [stdout] test zones::parser_tests::tests::test_parse ... ok [INFO] [stdout] test display::tests::test_from_str ... ok [INFO] [stdout] test display::tests::test_identity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/dns.rs (/opt/rustwide/target/debug/deps/dns-14d5e019313c1889) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/resolver.rs (/opt/rustwide/target/debug/deps/resolver-26b3c734bf7f6c3f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_resolver ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_resolver stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_resolver' (41) panicked at tests/resolver.rs:76:54: [INFO] [stdout] failed to lookup: IoError(Os { code: 97, kind: Uncategorized, message: "Address family not supported by protocol" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57a34fdbb542 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57a34fdbb542 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57a34fdbb542 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57a34fdbb542 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57a34fddf90f - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57a34fddf90f - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57a34fda81e3 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57a34fda81e3 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57a34fdbb392 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57a34fda698c - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57a34fda6809 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57a34fca4e1e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x57a34fca4e1e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57a34fda6f93 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x57a34fda6f93 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57a34fdbaf1a - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57a34fdbae79 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57a34fda75bd - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57a34fde7970 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x57a34fde8836 - core::result::unwrap_failed::hbb243a6a8b53218d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x57a34fc9929a - core::result::Result::expect::h9eb957304a94d638 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x57a34fc92cf6 - resolver::tests::test_resolver::h2a95d395d97950d4 [INFO] [stdout] at /opt/rustwide/workdir/tests/resolver.rs:76:54 [INFO] [stdout] 22: 0x57a34fc924e7 - resolver::tests::test_resolver::{{closure}}::h7b22c2422490055f [INFO] [stdout] at /opt/rustwide/workdir/tests/resolver.rs:43:23 [INFO] [stdout] 23: 0x57a34fc9a2b6 - core::ops::function::FnOnce::call_once::hcedbdb85b11c31c3 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x57a34fcaa35b - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x57a34fcaa35b - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x57a34fcad555 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x57a34fcad555 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x57a34fcad555 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57a34fcad555 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57a34fcad555 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57a34fcad555 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x57a34fcad555 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x57a34fcd2f04 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x57a34fcd2f04 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57a34fcb9b1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57a34fcb9b1a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x57a34fcb9b1a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57a34fcb9b1a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57a34fcb9b1a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57a34fcb9b1a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57a34fcb9b1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x57a34fd915ff - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x57a34fd915ff - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7056c9b24aa4 - [INFO] [stdout] 45: 0x7056c9bb1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_resolver [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test resolver` [INFO] running `Command { std: "docker" "inspect" "1f6079b4cdf04f54b965cc061602f7690ad7b137660c3d6ad5b3203976751eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6079b4cdf04f54b965cc061602f7690ad7b137660c3d6ad5b3203976751eff", kill_on_drop: false }` [INFO] [stdout] 1f6079b4cdf04f54b965cc061602f7690ad7b137660c3d6ad5b3203976751eff