[INFO] fetching crate sane 0.2.1... [INFO] checking sane-0.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sane 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate sane 0.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sane 0.2.1 [INFO] finished tweaking crates.io crate sane 0.2.1 [INFO] tweaked toml for crates.io crate sane 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a865014bf3bd39d19134fa9c6b0e291f793da753ae9830eb0e13d082f9e1321 [INFO] running `Command { std: "docker" "start" "-a" "6a865014bf3bd39d19134fa9c6b0e291f793da753ae9830eb0e13d082f9e1321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a865014bf3bd39d19134fa9c6b0e291f793da753ae9830eb0e13d082f9e1321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a865014bf3bd39d19134fa9c6b0e291f793da753ae9830eb0e13d082f9e1321", kill_on_drop: false }` [INFO] [stdout] 6a865014bf3bd39d19134fa9c6b0e291f793da753ae9830eb0e13d082f9e1321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc555f68eb569215b0b1efcf6fbdad118c3ad300d7c30e2315991e8aa068e0a [INFO] running `Command { std: "docker" "start" "-a" "bcc555f68eb569215b0b1efcf6fbdad118c3ad300d7c30e2315991e8aa068e0a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking sane v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `IntoDeserializer` [INFO] [stdout] --> src/macros.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde::de::{Deserialize, IntoDeserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stdout] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stdout] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stdout] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stdout] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `global_string`, `global_integer`, `server`, and `peers` are never read [INFO] [stdout] --> examples/decode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | global_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | global_integer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | server: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | peers: Option>, [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] note: the lint level is defined here [INFO] [stdout] --> examples/decode.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `ip` and `port` are never read [INFO] [stdout] --> examples/decode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `ip` and `port` are never read [INFO] [stdout] --> examples/decode.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PeerConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sane` (example "decode") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bcc555f68eb569215b0b1efcf6fbdad118c3ad300d7c30e2315991e8aa068e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc555f68eb569215b0b1efcf6fbdad118c3ad300d7c30e2315991e8aa068e0a", kill_on_drop: false }` [INFO] [stdout] bcc555f68eb569215b0b1efcf6fbdad118c3ad300d7c30e2315991e8aa068e0a