[INFO] cloning repository https://github.com/wobscale/pepbut [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wobscale/pepbut" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobscale%2Fpepbut", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobscale%2Fpepbut'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5335a3a592cbccab10e8af35b46c5bc5051f4b42 [INFO] testing wobscale/pepbut against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobscale%2Fpepbut" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wobscale/pepbut on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wobscale/pepbut [INFO] finished tweaking git repo https://github.com/wobscale/pepbut [INFO] tweaked toml for git repo https://github.com/wobscale/pepbut written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wobscale/pepbut already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/zone-convert/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/nsd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded nibble_vec v0.0.4 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.4 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded syn v0.15.4 [INFO] [stderr] Downloaded serde_derive v1.0.79 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded futures v0.1.24 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] [stderr] Downloaded serde v1.0.79 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded data-encoding v2.1.1 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded erased-serde v0.3.6 [INFO] [stderr] Downloaded tokio-signal v0.2.5 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded tabwriter v1.1.0 [INFO] [stderr] Downloaded users v0.7.0 [INFO] [stderr] Downloaded csv v1.0.1 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded itertools-num v0.1.2 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded safeword v0.1.0 [INFO] [stderr] Downloaded tokio-jsoncodec v0.1.0 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded trust-dns-proto v0.4.0 [INFO] [stderr] Downloaded mio v0.6.16 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded serde_json v1.0.28 [INFO] [stderr] Downloaded tokio-threadpool v0.1.6 [INFO] [stderr] Downloaded tokio v0.1.8 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded crossbeam-epoch v0.5.2 [INFO] [stderr] Downloaded socket2 v0.3.8 [INFO] [stderr] Downloaded tokio-timer v0.2.6 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded bytes v0.4.10 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded tokio-io v0.1.8 [INFO] [stderr] Downloaded tokio-reactor v0.1.5 [INFO] [stderr] Downloaded url v1.7.1 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded same-file v1.0.3 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded walkdir v2.2.5 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded rmp v0.8.7 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded proc-macro-hack v0.4.1 [INFO] [stderr] Downloaded radix_trie v0.1.3 [INFO] [stderr] Downloaded tokio-current-thread v0.1.1 [INFO] [stderr] Downloaded tokio-fs v0.1.3 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded crossbeam-deque v0.6.1 [INFO] [stderr] Downloaded tokio-uds v0.2.1 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded tokio-tcp v0.1.1 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded lock_api v0.1.3 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded tokio-executor v0.1.4 [INFO] [stderr] Downloaded iovec v0.1.2 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.1 [INFO] [stderr] Downloaded data-encoding-macro v0.1.4 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded error-chain v0.1.12 [INFO] [stderr] Downloaded tokio-codec v0.1.0 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded tokio-udp v0.1.2 [INFO] [stderr] Downloaded trust-dns v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81f7aeb5fae230f96b7776ab1325c4c5093e0fb9acc26acd777ee027f6905ad [INFO] running `Command { std: "docker" "start" "-a" "c81f7aeb5fae230f96b7776ab1325c4c5093e0fb9acc26acd777ee027f6905ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81f7aeb5fae230f96b7776ab1325c4c5093e0fb9acc26acd777ee027f6905ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81f7aeb5fae230f96b7776ab1325c4c5093e0fb9acc26acd777ee027f6905ad", kill_on_drop: false }` [INFO] [stdout] c81f7aeb5fae230f96b7776ab1325c4c5093e0fb9acc26acd777ee027f6905ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7338b5e59aaa43c03884c6bcd5f05899b73309e8858a3bbc7546b4506385c41c [INFO] running `Command { std: "docker" "start" "-a" "7338b5e59aaa43c03884c6bcd5f05899b73309e8858a3bbc7546b4506385c41c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/nsd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zone-convert/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rmp v0.8.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling pepbut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(feature = "cargo-clippy", warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(feature = "cargo-clippy", allow(use_self, stutter))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (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/record.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for RecordTrait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for dyn RecordTrait { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `ProtocolEncode` for all types that also implement `RecordTrait` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | LookupResult::Records(v) => encode_vec!(v), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &RecordTrait).encode(buf, names)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &dyn RecordTrait).encode(buf, names)?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | encode_vec!(found)?; [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | encode_vec!(authorities) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:354:60 [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &dyn RecordTrait).encode(buf, names), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | encode_vec!(authorities)?; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | encode_vec!(glue_records) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &RecordTrait).encode(buf, names) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &dyn RecordTrait).encode(buf, names) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut v) = h.get_mut(&record.record_type()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7338b5e59aaa43c03884c6bcd5f05899b73309e8858a3bbc7546b4506385c41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7338b5e59aaa43c03884c6bcd5f05899b73309e8858a3bbc7546b4506385c41c", kill_on_drop: false }` [INFO] [stdout] 7338b5e59aaa43c03884c6bcd5f05899b73309e8858a3bbc7546b4506385c41c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b242661d00814bcf406327eb27ffbbf21f24780b6e3dbbc8fe2e18aaa4791b4e [INFO] running `Command { std: "docker" "start" "-a" "b242661d00814bcf406327eb27ffbbf21f24780b6e3dbbc8fe2e18aaa4791b4e", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/zone-convert/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/nsd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling criterion-plot v0.2.5 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling itertools-num v0.1.2 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(feature = "cargo-clippy", warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(feature = "cargo-clippy", allow(use_self, stutter))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (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/record.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for RecordTrait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for dyn RecordTrait { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `ProtocolEncode` for all types that also implement `RecordTrait` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | LookupResult::Records(v) => encode_vec!(v), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &RecordTrait).encode(buf, names)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &dyn RecordTrait).encode(buf, names)?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | encode_vec!(found)?; [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | encode_vec!(authorities) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:354:60 [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &dyn RecordTrait).encode(buf, names), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | encode_vec!(authorities)?; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | encode_vec!(glue_records) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &RecordTrait).encode(buf, names) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &dyn RecordTrait).encode(buf, names) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut v) = h.get_mut(&record.record_type()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling criterion-stats v0.2.5 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling simplelog v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling serde_json v1.0.28 [INFO] [stderr] Compiling csv v1.0.1 [INFO] [stderr] Compiling handlebars v0.32.4 [INFO] [stderr] Compiling criterion v0.2.5 [INFO] [stderr] Compiling pepbut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(feature = "cargo-clippy", warn(clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(feature = "cargo-clippy", allow(use_self, stutter))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stdout] --> src/name.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:353:23 [INFO] [stdout] | [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/name.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `idx` (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/record.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for RecordTrait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | impl ProtocolEncode for dyn RecordTrait { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `ProtocolEncode` for all types that also implement `RecordTrait` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | LookupResult::Records(v) => encode_vec!(v), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &RecordTrait).encode(buf, names)?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 | (cname as &dyn RecordTrait).encode(buf, names)?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | encode_vec!(found)?; [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | encode_vec!(authorities) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:354:60 [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 | LookupResult::CNAMELookup(cname) => (cname as &dyn RecordTrait).encode(buf, names), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | encode_vec!(authorities)?; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | encode_vec!(glue_records) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `encode_vec` (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/zone.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &RecordTrait).encode(buf, names) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | (soa as &dyn RecordTrait).encode(buf, names) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/name.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 355 | _ => unreachable!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zone.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(mut v) = h.get_mut(&record.record_type()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneReadError` [INFO] [stdout] 27 | pub enum ZoneReadError { [INFO] [stdout] | ------------- `ZoneReadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneWriteError` [INFO] [stdout] 94 | pub enum ZoneWriteError { [INFO] [stdout] | -------------- `ZoneWriteError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_NameParseError` [INFO] [stdout] 35 | pub enum NameParseError { [INFO] [stdout] | -------------- `NameParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/name.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | Name::from(IpAddr::V4([i, 0, 0, 0].into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 724 | let _ = Name::from(IpAddr::V4([i, 0, 0, 0].into())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/name.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | Name::from(IpAddr::V6([i as u16, 0, 0, 0, 0, 0, 0, 0].into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 725 | let _ = Name::from(IpAddr::V6([i as u16, 0, 0, 0, 0, 0, 0, 0].into())); [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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProtocolDecodeError` [INFO] [stdout] 41 | pub enum ProtocolDecodeError { [INFO] [stdout] | ------------------- `ProtocolDecodeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b242661d00814bcf406327eb27ffbbf21f24780b6e3dbbc8fe2e18aaa4791b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b242661d00814bcf406327eb27ffbbf21f24780b6e3dbbc8fe2e18aaa4791b4e", kill_on_drop: false }` [INFO] [stdout] b242661d00814bcf406327eb27ffbbf21f24780b6e3dbbc8fe2e18aaa4791b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6fa123ca93a4e6e02bc827737d86c2b4428ad42e685fce7e5ea18fb6b98a664 [INFO] running `Command { std: "docker" "start" "-a" "c6fa123ca93a4e6e02bc827737d86c2b4428ad42e685fce7e5ea18fb6b98a664", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/nsd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zone-convert/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(feature = "cargo-clippy", warn(clippy_pedantic))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | #![cfg_attr(feature = "cargo-clippy", allow(use_self, stutter))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stderr] --> src/name.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` 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: `cargo-clippy` [INFO] [stderr] --> src/name.rs:372:12 [INFO] [stderr] | [INFO] [stderr] 372 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (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/record.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | impl ProtocolEncode for RecordTrait { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 | impl ProtocolEncode for dyn RecordTrait { [INFO] [stderr] | +++ [INFO] [stderr] help: alternatively use a blanket implementation to implement `ProtocolEncode` for all types that also implement `RecordTrait` [INFO] [stderr] | [INFO] [stderr] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stderr] 38 + impl ProtocolEncode for T { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/zone.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 344 | LookupResult::Records(v) => encode_vec!(v), [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `encode_vec` (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/zone.rs:350:28 [INFO] [stderr] | [INFO] [stderr] 350 | (cname as &RecordTrait).encode(buf, names)?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 | (cname as &dyn RecordTrait).encode(buf, names)?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/zone.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 351 | encode_vec!(found)?; [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | encode_vec!(authorities) [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `encode_vec` (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/zone.rs:354:60 [INFO] [stderr] | [INFO] [stderr] 354 | LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 354 | LookupResult::CNAMELookup(cname) => (cname as &dyn RecordTrait).encode(buf, names), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/zone.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 359 | encode_vec!(authorities)?; [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `encode_vec` (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/zone.rs:338:47 [INFO] [stderr] | [INFO] [stderr] 338 | .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 360 | encode_vec!(glue_records) [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `encode_vec` (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/zone.rs:363:26 [INFO] [stderr] | [INFO] [stderr] 363 | (soa as &RecordTrait).encode(buf, names) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 363 | (soa as &dyn RecordTrait).encode(buf, names) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ----- matches some of the same values [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ------- matches some of the same values [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | --------- matches some of the same values [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ----- matches some of the same values [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ------- matches some of the same values [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | --------- matches some of the same values [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ----- matches some of the same values [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ------- matches some of the same values [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | --------- matches some of the same values [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/name.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ----- matches some of the same values [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ------- matches some of the same values [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | --------- matches some of the same values [INFO] [stderr] 355 | _ => unreachable!(), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/zone.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | if let Some(mut v) = h.get_mut(&record.record_type()) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/msgpack.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneReadError` [INFO] [stderr] 27 | pub enum ZoneReadError { [INFO] [stderr] | ------------- `ZoneReadError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneReadError` [INFO] [stderr] 27 | pub enum ZoneReadError { [INFO] [stderr] | ------------- `ZoneReadError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ZoneWriteError` [INFO] [stderr] 94 | pub enum ZoneWriteError { [INFO] [stderr] | -------------- `ZoneWriteError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/msgpack.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ZoneWriteError` [INFO] [stderr] 94 | pub enum ZoneWriteError { [INFO] [stderr] | -------------- `ZoneWriteError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_NameParseError` [INFO] [stderr] 35 | pub enum NameParseError { [INFO] [stderr] | -------------- `NameParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/name.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_NameParseError` [INFO] [stderr] 35 | pub enum NameParseError { [INFO] [stderr] | -------------- `NameParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ProtocolDecodeError` [INFO] [stderr] 41 | pub enum ProtocolDecodeError { [INFO] [stderr] | ------------------- `ProtocolDecodeError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/wire.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ProtocolDecodeError` [INFO] [stderr] 41 | pub enum ProtocolDecodeError { [INFO] [stderr] | ------------------- `ProtocolDecodeError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pepbut` (lib) generated 38 warnings (run `cargo fix --lib -p pepbut` to apply 17 suggestions) [INFO] [stderr] warning: unused return value of `from` that must be used [INFO] [stderr] --> src/name.rs:724:13 [INFO] [stderr] | [INFO] [stderr] 724 | Name::from(IpAddr::V4([i, 0, 0, 0].into())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 724 | let _ = Name::from(IpAddr::V4([i, 0, 0, 0].into())); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `from` that must be used [INFO] [stderr] --> src/name.rs:725:13 [INFO] [stderr] | [INFO] [stderr] 725 | Name::from(IpAddr::V6([i as u16, 0, 0, 0, 0, 0, 0, 0].into())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 725 | let _ = Name::from(IpAddr::V6([i as u16, 0, 0, 0, 0, 0, 0, 0].into())); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `pepbut` (lib test) generated 40 warnings (38 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pepbut-6fe686552e79466e) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test name::tests::display ... ok [INFO] [stdout] test name::tests::empty_label ... ok [INFO] [stdout] test name::tests::encode_ns ... ok [INFO] [stdout] test name::tests::decode ... ok [INFO] [stdout] test name::tests::from_ipaddr_exhaustive ... ok [INFO] [stdout] test name::tests::encode_smoke ... ok [INFO] [stdout] test name::tests::decode_infinite ... ok [INFO] [stdout] test name::tests::from_ipv4addr ... ok [INFO] [stdout] test name::tests::from_str ... ok [INFO] [stdout] test name::tests::pop ... ok [INFO] [stdout] test name::tests::from_ipv6addr ... ok [INFO] [stdout] test wire::tests::decode_query ... ok [INFO] [stdout] test zone::tests::len_example_invalid ... ok [INFO] [stdout] test zone::tests::iter_example_invalid ... ok [INFO] [stdout] test name::tests::too_long ... ok [INFO] [stdout] test wire::tests::encode_response ... ok [INFO] [stdout] test zone::tests::zone_empty ... ok [INFO] [stdout] test zone::tests::zone_remove ... ok [INFO] [stdout] test zone::tests::read_write_example_invalid ... ok [INFO] [stdout] test name::tests::root ... ok [INFO] [stdout] test tests::read_exact ... ok [INFO] [stdout] test zone::tests::zone_soa_record ... ok [INFO] [stdout] test zone::tests::read_example_invalid ... ok [INFO] [stdout] test zone::tests::lookup_example_invalid ... ok [INFO] [stdout] test zone::tests::too_many_records ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stderr] Doc-tests pepbut [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:352:22 [INFO] [stderr] | [INFO] [stderr] 352 | 0...9 => HEX_DIGITS[$idx as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:353:23 [INFO] [stderr] | [INFO] [stderr] 353 | 10...99 => OCTET_DECIMAL_2[($idx - 10) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/name.rs:354:24 [INFO] [stderr] | [INFO] [stderr] 354 | 100...255 => OCTET_DECIMAL_3[($idx - 100) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `idx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/name.rs - name::Name (line 93) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6fa123ca93a4e6e02bc827737d86c2b4428ad42e685fce7e5ea18fb6b98a664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6fa123ca93a4e6e02bc827737d86c2b4428ad42e685fce7e5ea18fb6b98a664", kill_on_drop: false }` [INFO] [stdout] c6fa123ca93a4e6e02bc827737d86c2b4428ad42e685fce7e5ea18fb6b98a664