[INFO] fetching crate sane 0.2.1... [INFO] testing sane-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sane 0.2.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sane 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b720c6acc245ddbbbb9ababcd105872135c7a2bdf366cfeb54afb2ede4f9fd09 [INFO] running `Command { std: "docker" "start" "-a" "b720c6acc245ddbbbb9ababcd105872135c7a2bdf366cfeb54afb2ede4f9fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b720c6acc245ddbbbb9ababcd105872135c7a2bdf366cfeb54afb2ede4f9fd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b720c6acc245ddbbbb9ababcd105872135c7a2bdf366cfeb54afb2ede4f9fd09", kill_on_drop: false }` [INFO] [stdout] b720c6acc245ddbbbb9ababcd105872135c7a2bdf366cfeb54afb2ede4f9fd09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9daf1b76381c51e88d138a1d63b1e069702f94e7083e88651ddbb1601f0d13de [INFO] running `Command { std: "docker" "start" "-a" "9daf1b76381c51e88d138a1d63b1e069702f94e7083e88651ddbb1601f0d13de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: 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)]` (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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.39s [INFO] running `Command { std: "docker" "inspect" "9daf1b76381c51e88d138a1d63b1e069702f94e7083e88651ddbb1601f0d13de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9daf1b76381c51e88d138a1d63b1e069702f94e7083e88651ddbb1601f0d13de", kill_on_drop: false }` [INFO] [stdout] 9daf1b76381c51e88d138a1d63b1e069702f94e7083e88651ddbb1601f0d13de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8eb481c68819f89510e788eef0155a83a17b6f34d48b4c7619737a7dc8328a0 [INFO] running `Command { std: "docker" "start" "-a" "d8eb481c68819f89510e788eef0155a83a17b6f34d48b4c7619737a7dc8328a0", kill_on_drop: false }` [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: 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)]` (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] 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (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] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [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] [stderr] error: could not compile `sane` (example "decode") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8eb481c68819f89510e788eef0155a83a17b6f34d48b4c7619737a7dc8328a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8eb481c68819f89510e788eef0155a83a17b6f34d48b4c7619737a7dc8328a0", kill_on_drop: false }` [INFO] [stdout] d8eb481c68819f89510e788eef0155a83a17b6f34d48b4c7619737a7dc8328a0