[INFO] fetching crate serde_transit 0.1.0... [INFO] checking serde_transit-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate serde_transit 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate serde_transit 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_transit 0.1.0 [INFO] finished tweaking crates.io crate serde_transit 0.1.0 [INFO] tweaked toml for crates.io crate serde_transit 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a2f5192e9c214870c54e769885ce96d75f5effcac41abf55729515da347b749 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0a2f5192e9c214870c54e769885ce96d75f5effcac41abf55729515da347b749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a2f5192e9c214870c54e769885ce96d75f5effcac41abf55729515da347b749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2f5192e9c214870c54e769885ce96d75f5effcac41abf55729515da347b749", kill_on_drop: false }` [INFO] [stdout] 0a2f5192e9c214870c54e769885ce96d75f5effcac41abf55729515da347b749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6fd088786a704db1c94a575813a8c59dd6f46eb9b190277f421735768034460 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f6fd088786a704db1c94a575813a8c59dd6f46eb9b190277f421735768034460", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking serde_transit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | try!(value.serialize(&mut ser)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | try!(value.serialize(&mut ser)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(Compound { encoder_compound: try!(self.encoder.serialize_struct(name, len)) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | ch @ '0'...'9' => T::from(ch as u8 - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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/de.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | Some(ch @ '0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | '0'...'9' => self.deserialize_u64(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | formatter.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | try!(value.serialize(&mut ser)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | try!(value.serialize(&mut ser)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser.rs:281:41 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(Compound { encoder_compound: try!(self.encoder.serialize_struct(name, len)) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | ch @ '0'...'9' => T::from(ch as u8 - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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/de.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | Some(ch @ '0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | '0'...'9' => self.deserialize_u64(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | formatter.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn from(e: json::Error) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | ... variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | ... variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | fn serialize_map(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | ... variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:347:38 [INFO] [stdout] | [INFO] [stdout] 347 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ser.rs:402:36 [INFO] [stdout] | [INFO] [stdout] 402 | fn serialize_key(&mut self, key: &T) -> Result<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:411:38 [INFO] [stdout] | [INFO] [stdout] 411 | fn serialize_value(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ser.rs:448:38 [INFO] [stdout] | [INFO] [stdout] 448 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:448:57 [INFO] [stdout] | [INFO] [stdout] 448 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `ser::Formatter` in public interface (error E0445) [INFO] [stdout] --> src/ser.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl<'a, W, F> ser::Serializer for &'a mut Serializer [INFO] [stdout] 58 | | where W: io::Write, [INFO] [stdout] 59 | | F: Formatter [INFO] [stdout] 60 | | { [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `ser::Formatter` in public interface (error E0445) [INFO] [stdout] --> src/ser.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | / impl<'a, W, F> ser::SerializeStruct for Compound<'a, W, F> [INFO] [stdout] 425 | | where W: io::Write, [INFO] [stdout] 426 | | F: Formatter [INFO] [stdout] 427 | | { [INFO] [stdout] ... | [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pretty_writer` [INFO] [stdout] --> src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn to_pretty_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn from(e: json::Error) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | fn serialize_tuple(self, len: usize) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | ... variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | ... variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | fn serialize_map(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | ... name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | ... variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... len: usize) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:314:40 [INFO] [stdout] | [INFO] [stdout] 314 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:347:38 [INFO] [stdout] | [INFO] [stdout] 347 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ser.rs:402:36 [INFO] [stdout] | [INFO] [stdout] 402 | fn serialize_key(&mut self, key: &T) -> Result<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:411:38 [INFO] [stdout] | [INFO] [stdout] 411 | fn serialize_value(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ser.rs:448:38 [INFO] [stdout] | [INFO] [stdout] 448 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser.rs:448:57 [INFO] [stdout] | [INFO] [stdout] 448 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `ser::Formatter` in public interface (error E0445) [INFO] [stdout] --> src/ser.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl<'a, W, F> ser::Serializer for &'a mut Serializer [INFO] [stdout] 58 | | where W: io::Write, [INFO] [stdout] 59 | | F: Formatter [INFO] [stdout] 60 | | { [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `ser::Formatter` in public interface (error E0445) [INFO] [stdout] --> src/ser.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | / impl<'a, W, F> ser::SerializeStruct for Compound<'a, W, F> [INFO] [stdout] 425 | | where W: io::Write, [INFO] [stdout] 426 | | F: Formatter [INFO] [stdout] 427 | | { [INFO] [stdout] ... | [INFO] [stdout] 439 | | } [INFO] [stdout] 440 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pretty_writer` [INFO] [stdout] --> src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn to_pretty_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ser.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | to_writer(&mut writer, &test); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "f6fd088786a704db1c94a575813a8c59dd6f46eb9b190277f421735768034460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fd088786a704db1c94a575813a8c59dd6f46eb9b190277f421735768034460", kill_on_drop: false }` [INFO] [stdout] f6fd088786a704db1c94a575813a8c59dd6f46eb9b190277f421735768034460