[INFO] cloning repository https://github.com/xymopen/chrome-session [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xymopen/chrome-session" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxymopen%2Fchrome-session", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxymopen%2Fchrome-session'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 439da15ef83e1092040a68f34c8c20f5c930d65b [INFO] checking xymopen/chrome-session against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxymopen%2Fchrome-session" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xymopen/chrome-session on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xymopen/chrome-session [INFO] finished tweaking git repo https://github.com/xymopen/chrome-session [INFO] tweaked toml for git repo https://github.com/xymopen/chrome-session written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xymopen/chrome-session already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] [stderr] Downloaded serde_derive v1.0.132 [INFO] [stderr] Downloaded serde v1.0.132 [INFO] [stderr] Downloaded syn v1.0.82 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aac8f85282f5d58209de128c6194d40ed430182103f62618d6989d2ca8f71b0d [INFO] running `Command { std: "docker" "start" "-a" "aac8f85282f5d58209de128c6194d40ed430182103f62618d6989d2ca8f71b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aac8f85282f5d58209de128c6194d40ed430182103f62618d6989d2ca8f71b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac8f85282f5d58209de128c6194d40ed430182103f62618d6989d2ca8f71b0d", kill_on_drop: false }` [INFO] [stdout] aac8f85282f5d58209de128c6194d40ed430182103f62618d6989d2ca8f71b0d [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99d2e3b7df3a00a376f65476da2f812a2cd13964007f16f058d097be1f9acf10 [INFO] running `Command { std: "docker" "start" "-a" "99d2e3b7df3a00a376f65476da2f812a2cd13964007f16f058d097be1f9acf10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking chrome-session v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `de::Deserializer` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::into_writer` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use ser::into_writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::Serializer` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use ser::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Deserializer` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub use error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::Serializer` [INFO] [stdout] --> src/serde_chromium_pickle/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use ser::Serializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_buffer` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn print_buffer(a: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align_down` is never used [INFO] [stdout] --> src/serde_chromium_pickle/bits.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn align_down(size: usize, alignment: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_writer` is never used [INFO] [stdout] --> src/serde_chromium_pickle/ser.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn into_writer<'a, T>(value: &'a T, writer: &mut dyn Write) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_chromium_pickle/helpers/cstring.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn serialize(value: &CString, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/serde_chromium_pickle/helpers/string.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn serialize(value: &String, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_ref` is never used [INFO] [stdout] --> src/transmute.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe fn as_ref<'a, T: Sized>(bytes: &'a [u8]) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_mut` is never used [INFO] [stdout] --> src/transmute.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn as_mut<'a, T: Sized>(bytes: &'a mut [u8]) -> Option<&'a mut T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_bytes_ref` is never used [INFO] [stdout] --> src/transmute.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn as_bytes_ref<'a, T: Sized>(value: &'a T) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_vec` is never used [INFO] [stdout] --> src/transmute.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_vec(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_vec` is never used [INFO] [stdout] --> src/transmute.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub unsafe fn into_vec(value: Box) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_writer` is never used [INFO] [stdout] --> src/transmute.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn into_writer<'a, T: Sized>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_buffer` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn print_buffer(a: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align_down` is never used [INFO] [stdout] --> src/serde_chromium_pickle/bits.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) fn align_down(size: usize, alignment: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_ref` is never used [INFO] [stdout] --> src/transmute.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe fn as_ref<'a, T: Sized>(bytes: &'a [u8]) -> Option<&'a T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_mut` is never used [INFO] [stdout] --> src/transmute.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn as_mut<'a, T: Sized>(bytes: &'a mut [u8]) -> Option<&'a mut T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_bytes_ref` is never used [INFO] [stdout] --> src/transmute.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe fn as_bytes_ref<'a, T: Sized>(value: &'a T) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_vec` is never used [INFO] [stdout] --> src/transmute.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_vec(bytes: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_vec` is never used [INFO] [stdout] --> src/transmute.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub unsafe fn into_vec(value: Box) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `into_writer` is never used [INFO] [stdout] --> src/transmute.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn into_writer<'a, T: Sized>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/seq/ser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / crate::forward_to_serialize_any! { [INFO] [stdout] 43 | | bool i128 u128 char str bytes none some unit unit_struct [INFO] [stdout] 44 | | unit_variant newtype_struct newtype_variant // seq tuple [INFO] [stdout] 45 | | // tuple_struct tuple_variant map struct struct_variant [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 13 - $(drop($arg);)* [INFO] [stdout] 13 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [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/serde_chromium_pickle/macros.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | $(drop($arg);)* [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/serde_chromium_pickle/ser.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / crate::forward_to_serialize_any! { [INFO] [stdout] 66 | | i128 u128 char str bytes none some unit unit_struct unit_variant [INFO] [stdout] 67 | | newtype_struct newtype_variant [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `forward_to_serialize_any_method` which comes from the expansion of the macro `crate::forward_to_serialize_any` (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] 27 - $(drop($arg);)* [INFO] [stdout] 27 + $(let _ = $arg;)* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.96s [INFO] running `Command { std: "docker" "inspect" "99d2e3b7df3a00a376f65476da2f812a2cd13964007f16f058d097be1f9acf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d2e3b7df3a00a376f65476da2f812a2cd13964007f16f058d097be1f9acf10", kill_on_drop: false }` [INFO] [stdout] 99d2e3b7df3a00a376f65476da2f812a2cd13964007f16f058d097be1f9acf10