[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobscale%2Fpepbut" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wobscale/pepbut on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabwriter v1.1.0 [INFO] [stderr] Downloaded tokio-signal v0.2.5 [INFO] [stderr] Downloaded users v0.7.0 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.1 [INFO] [stderr] Downloaded radix_trie v0.1.3 [INFO] [stderr] Downloaded data-encoding v2.1.1 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded serde_json v1.0.28 [INFO] [stderr] Downloaded proc-macro-hack v0.4.1 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.4 [INFO] [stderr] Downloaded tokio-jsoncodec v0.1.0 [INFO] [stderr] Downloaded safeword v0.1.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.4 [INFO] [stderr] Downloaded trust-dns v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c12d031ab87ce94871e7b1aa193b1d6a90fd5a792b5679b1bc1008dea8d8f1e4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c12d031ab87ce94871e7b1aa193b1d6a90fd5a792b5679b1bc1008dea8d8f1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c12d031ab87ce94871e7b1aa193b1d6a90fd5a792b5679b1bc1008dea8d8f1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12d031ab87ce94871e7b1aa193b1d6a90fd5a792b5679b1bc1008dea8d8f1e4", kill_on_drop: false }` [INFO] [stdout] c12d031ab87ce94871e7b1aa193b1d6a90fd5a792b5679b1bc1008dea8d8f1e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] babc71ff4a10d49e66bfb9948f7b99b75bc5ba14a74f9b13d7d088a87f9f45fb [INFO] running `Command { std: "docker" "start" "-a" "babc71ff4a10d49e66bfb9948f7b99b75bc5ba14a74f9b13d7d088a87f9f45fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling rmp v0.8.7 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for dyn RecordTrait { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - (cname as &RecordTrait).encode(buf, names)?; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 - LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 - (soa as &RecordTrait).encode(buf, names) [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.68s [INFO] running `Command { std: "docker" "inspect" "babc71ff4a10d49e66bfb9948f7b99b75bc5ba14a74f9b13d7d088a87f9f45fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babc71ff4a10d49e66bfb9948f7b99b75bc5ba14a74f9b13d7d088a87f9f45fb", kill_on_drop: false }` [INFO] [stdout] babc71ff4a10d49e66bfb9948f7b99b75bc5ba14a74f9b13d7d088a87f9f45fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1b7ea065bec6c5af2df5c66d092fb73485fcf3df71daee9c575dcfab3742f45a [INFO] running `Command { std: "docker" "start" "-a" "1b7ea065bec6c5af2df5c66d092fb73485fcf3df71daee9c575dcfab3742f45a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling itertools-num v0.1.2 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling itertools v0.7.8 [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for dyn RecordTrait { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - (cname as &RecordTrait).encode(buf, names)?; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 - LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record as &dyn RecordTrait).encode(buf, names)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chrono v0.4.6 [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 - (soa as &RecordTrait).encode(buf, names) [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling criterion-stats v0.2.5 [INFO] [stderr] Compiling criterion-plot v0.2.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling simplelog v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling csv-core v0.1.4 [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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stdout] 38 + impl ProtocolEncode for dyn RecordTrait { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - (cname as &RecordTrait).encode(buf, names)?; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 - LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stdout] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 - (soa as &RecordTrait).encode(buf, names) [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | idx!(octets[3]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 363 | idx!(octets[2]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | idx!(octets[1]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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] | ^ [INFO] [stdout] ... [INFO] [stdout] 365 | idx!(octets[0]), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [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: 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] [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] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "1b7ea065bec6c5af2df5c66d092fb73485fcf3df71daee9c575dcfab3742f45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b7ea065bec6c5af2df5c66d092fb73485fcf3df71daee9c575dcfab3742f45a", kill_on_drop: false }` [INFO] [stdout] 1b7ea065bec6c5af2df5c66d092fb73485fcf3df71daee9c575dcfab3742f45a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0ebee092b84fff47e9c52cb4e381494dc33b92cb2a50940b4b2f7ca709f70ce [INFO] running `Command { std: "docker" "start" "-a" "a0ebee092b84fff47e9c52cb4e381494dc33b92cb2a50940b4b2f7ca709f70ce", kill_on_drop: false }` [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - impl ProtocolEncode for RecordTrait { [INFO] [stderr] 38 + impl ProtocolEncode for dyn RecordTrait { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - (cname as &RecordTrait).encode(buf, names)?; [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 354 - LookupResult::CNAMELookup(cname) => (cname as &RecordTrait).encode(buf, names), [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] 338 + .map(|record| (record 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] 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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 338 - .map(|record| (record as &RecordTrait).encode(buf, names)) [INFO] [stderr] 338 + .map(|record| (record 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: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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 363 - (soa as &RecordTrait).encode(buf, names) [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] | ^ [INFO] [stderr] ... [INFO] [stderr] 362 | idx!(octets[3]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [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] | ^ [INFO] [stderr] ... [INFO] [stderr] 363 | idx!(octets[2]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [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] | ^ [INFO] [stderr] ... [INFO] [stderr] 364 | idx!(octets[1]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [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] | ^ [INFO] [stderr] ... [INFO] [stderr] 365 | idx!(octets[0]), [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [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: `pepbut` (lib) generated 26 warnings [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] [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] warning: `pepbut` (lib test) generated 28 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pepbut-c99ce9c685f4e127) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test name::tests::decode_infinite ... ok [INFO] [stdout] test name::tests::decode ... ok [INFO] [stdout] test name::tests::encode_smoke ... ok [INFO] [stdout] test name::tests::empty_label ... ok [INFO] [stdout] test zone::tests::read_example_invalid ... ok [INFO] [stdout] test name::tests::too_long ... ok [INFO] [stdout] test name::tests::from_ipv4addr ... ok [INFO] [stdout] test name::tests::encode_ns ... ok [INFO] [stdout] test name::tests::root ... ok [INFO] [stdout] test zone::tests::lookup_example_invalid ... ok [INFO] [stdout] test name::tests::display ... ok [INFO] [stdout] test zone::tests::read_write_example_invalid ... ok [INFO] [stdout] test zone::tests::zone_remove ... ok [INFO] [stdout] test zone::tests::zone_soa_record ... ok [INFO] [stdout] test zone::tests::zone_empty ... ok [INFO] [stdout] test name::tests::from_ipaddr_exhaustive ... ok [INFO] [stdout] test name::tests::from_ipv6addr ... ok [INFO] [stdout] test name::tests::from_str ... ok [INFO] [stdout] test name::tests::pop ... ok [INFO] [stdout] test wire::tests::decode_query ... ok [INFO] [stdout] test wire::tests::encode_response ... ok [INFO] [stdout] test zone::tests::iter_example_invalid ... ok [INFO] [stdout] test zone::tests::len_example_invalid ... ok [INFO] [stdout] test tests::read_exact ... ok [INFO] [stdout] test zone::tests::too_many_records ... ok [INFO] [stderr] Doc-tests pepbut [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.25s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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.88s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0ebee092b84fff47e9c52cb4e381494dc33b92cb2a50940b4b2f7ca709f70ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ebee092b84fff47e9c52cb4e381494dc33b92cb2a50940b4b2f7ca709f70ce", kill_on_drop: false }` [INFO] [stdout] a0ebee092b84fff47e9c52cb4e381494dc33b92cb2a50940b4b2f7ca709f70ce