[INFO] cloning repository https://github.com/nuew/fntpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nuew/fntpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuew%2Ffntpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuew%2Ffntpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c6c9a5deb772a842cf87d42804ff94769e637e4 [INFO] checking nuew/fntpd against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuew%2Ffntpd" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nuew/fntpd [INFO] finished tweaking git repo https://github.com/nuew/fntpd [INFO] tweaked toml for git repo https://github.com/nuew/fntpd written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nuew/fntpd on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nuew/fntpd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v0.9.7 [INFO] [stderr] Downloaded synom v0.11.0 [INFO] [stderr] Downloaded toml v0.3.0 [INFO] [stderr] Downloaded syn v0.11.6 [INFO] [stderr] Downloaded fern v0.3.5 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded quote v0.3.13 [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded daemonize v0.2.3 [INFO] [stderr] Downloaded serde_codegen_internals v0.13.0 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded serde v0.9.7 [INFO] [stderr] Downloaded time v0.1.36 [INFO] [stderr] Downloaded nom v2.1.0 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a213acfcfe1e50172e4b702b0904eef3f5e20ae17fe2db953f3a69d858eb5e [INFO] running `Command { std: "docker" "start" "-a" "93a213acfcfe1e50172e4b702b0904eef3f5e20ae17fe2db953f3a69d858eb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a213acfcfe1e50172e4b702b0904eef3f5e20ae17fe2db953f3a69d858eb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a213acfcfe1e50172e4b702b0904eef3f5e20ae17fe2db953f3a69d858eb5e", kill_on_drop: false }` [INFO] [stdout] 93a213acfcfe1e50172e4b702b0904eef3f5e20ae17fe2db953f3a69d858eb5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a533d807370813fa6b4b332271561a4c9d2d1775ba6d07312d6dcc3fcf3131c [INFO] running `Command { std: "docker" "start" "-a" "2a533d807370813fa6b4b332271561a4c9d2d1775ba6d07312d6dcc3fcf3131c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling quote v0.3.13 [INFO] [stderr] Checking serde v0.9.7 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking nom v2.1.0 [INFO] [stderr] Compiling synom v0.11.0 [INFO] [stderr] Compiling syn v0.11.6 [INFO] [stderr] Checking fern v0.3.5 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking daemonize v0.2.3 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Compiling serde_codegen_internals v0.13.0 [INFO] [stderr] Compiling serde_derive v0.9.7 [INFO] [stderr] Checking toml v0.3.0 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking fntpd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/daesock.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | ConfigError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | ConfigError::Parse(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/daesock.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | DaeSockError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/daesock.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | DaeSockError::Daemonize(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/daesock.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | ConfigError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | ConfigError::Parse(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ip6` is never read [INFO] [stdout] --> src/config.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 54 | pub ip: String, [INFO] [stdout] 55 | pub ip6: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/config.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Log { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Log` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/config.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 82 | /// The constant date to reply with. [INFO] [stdout] 83 | pub date: toml::value::Datetime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE` is never used [INFO] [stdout] --> src/ntp/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TOLERANCE: f32 = 15e-6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINPOLL` is never used [INFO] [stdout] --> src/ntp/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MINPOLL: u8 = 4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXPOLL` is never used [INFO] [stdout] --> src/ntp/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MAXPOLL: u8 = 17; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXDISP` is never used [INFO] [stdout] --> src/ntp/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MAXDISP: u8 = 16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINDISP` is never used [INFO] [stdout] --> src/ntp/mod.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const MINDISP: f32 = 0.005; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXDIST` is never used [INFO] [stdout] --> src/ntp/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MAXDIST: u8 = 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Network` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Network` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Log` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Log` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Daemon` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Daemon` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | named!(parse, [INFO] [stdout] | - ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 110 | | do_parse!( [INFO] [stdout] 111 | | livemo: bits!(tuple!( [INFO] [stdout] 112 | | take_bits!(u8,2), // leap [INFO] [stdout] ... | [INFO] [stdout] 147 | | )) [INFO] [stdout] 148 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | named!(parse>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | named!(parse_ntpext, [INFO] [stdout] | - ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 151 | | do_parse!( [INFO] [stdout] 152 | | field_type: be_u16 >> [INFO] [stdout] 153 | | length: be_u16 >> [INFO] [stdout] ... | [INFO] [stdout] 160 | | )) [INFO] [stdout] 161 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 150 | named!(parse_ntpext>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | named!(parse_ntpmac, [INFO] [stdout] | - ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 164 | | do_parse!( [INFO] [stdout] 165 | | keyid: be_u32 >> [INFO] [stdout] 166 | | digest: take!(16) >> [INFO] [stdout] ... | [INFO] [stdout] 171 | | )) [INFO] [stdout] 172 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 163 | named!(parse_ntpmac>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ntp/pkt.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | IResult::Error(err) => panic!(err), // TODO return an error [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 210 | IResult::Error(err) => panic!("{}", err), // TODO return an error [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 210 - IResult::Error(err) => panic!(err), // TODO return an error [INFO] [stdout] 210 + IResult::Error(err) => std::panic::panic_any(err), // TODO return an error [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/daesock.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | DaeSockError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/daesock.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | DaeSockError::Daemonize(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ip6` is never read [INFO] [stdout] --> src/config.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Network { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 54 | pub ip: String, [INFO] [stdout] 55 | pub ip6: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/config.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Log { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Log` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/config.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 82 | /// The constant date to reply with. [INFO] [stdout] 83 | pub date: toml::value::Datetime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOLERANCE` is never used [INFO] [stdout] --> src/ntp/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TOLERANCE: f32 = 15e-6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINPOLL` is never used [INFO] [stdout] --> src/ntp/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const MINPOLL: u8 = 4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXPOLL` is never used [INFO] [stdout] --> src/ntp/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const MAXPOLL: u8 = 17; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXDISP` is never used [INFO] [stdout] --> src/ntp/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MAXDISP: u8 = 16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINDISP` is never used [INFO] [stdout] --> src/ntp/mod.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const MINDISP: f32 = 0.005; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXDIST` is never used [INFO] [stdout] --> src/ntp/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MAXDIST: u8 = 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Network` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Network` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Log` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Log` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Daemon` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Daemon` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | named!(parse, [INFO] [stdout] | - ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 110 | | do_parse!( [INFO] [stdout] 111 | | livemo: bits!(tuple!( [INFO] [stdout] 112 | | take_bits!(u8,2), // leap [INFO] [stdout] ... | [INFO] [stdout] 147 | | )) [INFO] [stdout] 148 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | named!(parse>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | named!(parse_ntpext, [INFO] [stdout] | - ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 151 | | do_parse!( [INFO] [stdout] 152 | | field_type: be_u16 >> [INFO] [stdout] 153 | | length: be_u16 >> [INFO] [stdout] ... | [INFO] [stdout] 160 | | )) [INFO] [stdout] 161 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 150 | named!(parse_ntpext>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ntp/pkt.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | named!(parse_ntpmac, [INFO] [stdout] | - ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 164 | | do_parse!( [INFO] [stdout] 165 | | keyid: be_u32 >> [INFO] [stdout] 166 | | digest: take!(16) >> [INFO] [stdout] ... | [INFO] [stdout] 171 | | )) [INFO] [stdout] 172 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 163 | named!(parse_ntpmac>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ntp/pkt.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | IResult::Error(err) => panic!(err), // TODO return an error [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 210 | IResult::Error(err) => panic!("{}", err), // TODO return an error [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 210 - IResult::Error(err) => panic!(err), // TODO return an error [INFO] [stdout] 210 + IResult::Error(err) => std::panic::panic_any(err), // TODO return an error [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.2.3, nom v2.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2a533d807370813fa6b4b332271561a4c9d2d1775ba6d07312d6dcc3fcf3131c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a533d807370813fa6b4b332271561a4c9d2d1775ba6d07312d6dcc3fcf3131c", kill_on_drop: false }` [INFO] [stdout] 2a533d807370813fa6b4b332271561a4c9d2d1775ba6d07312d6dcc3fcf3131c