[INFO] fetching crate sane 0.2.1... [INFO] checking sane-0.2.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate sane 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate sane 0.2.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4849f580eb6c420da2c7f4805d56f3e9bc848b8b945c2b09e72ef445728eaec [INFO] running `Command { std: "docker" "start" "-a" "e4849f580eb6c420da2c7f4805d56f3e9bc848b8b945c2b09e72ef445728eaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4849f580eb6c420da2c7f4805d56f3e9bc848b8b945c2b09e72ef445728eaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4849f580eb6c420da2c7f4805d56f3e9bc848b8b945c2b09e72ef445728eaec", kill_on_drop: false }` [INFO] [stdout] e4849f580eb6c420da2c7f4805d56f3e9bc848b8b945c2b09e72ef445728eaec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b2d120e876fe522ab15374de3b2d422f5b924965c4f2403bec79e2c5c9cc3bd [INFO] running `Command { std: "docker" "start" "-a" "3b2d120e876fe522ab15374de3b2d422f5b924965c4f2403bec79e2c5c9cc3bd", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.197 [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`, `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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [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: the item `sane` is imported redundantly [INFO] [stdout] --> examples/decode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sane; [INFO] [stdout] | ^^^^ the item `sane` is already defined by prelude [INFO] [stdout] | [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(unused_imports)]` implied by `#[deny(warnings)]` [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: `#[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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sane` (example "decode") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "3b2d120e876fe522ab15374de3b2d422f5b924965c4f2403bec79e2c5c9cc3bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2d120e876fe522ab15374de3b2d422f5b924965c4f2403bec79e2c5c9cc3bd", kill_on_drop: false }` [INFO] [stdout] 3b2d120e876fe522ab15374de3b2d422f5b924965c4f2403bec79e2c5c9cc3bd