[INFO] fetching crate polyglot 0.2.1...
[INFO] testing polyglot-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate polyglot 0.2.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate polyglot 0.2.1
[INFO] finished tweaking crates.io crate polyglot 0.2.1
[INFO] tweaked toml for crates.io crate polyglot 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate polyglot 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 23 packages to latest compatible versions
[INFO] [stderr]       Adding rmp-serde v0.14.4 (available: v1.3.0)
[INFO] [stderr]       Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated)
[INFO] [stderr]       Adding toml v0.5.11 (available: v0.9.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", 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]  Downloading crates ...
[INFO] [stderr]   Downloaded rmp-serde v0.14.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc79bf5a5178aae4ad2da40fff005d27cee7edf20c411848d3de47f4db72337e
[INFO] running `Command { std: "docker" "start" "-a" "dc79bf5a5178aae4ad2da40fff005d27cee7edf20c411848d3de47f4db72337e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc79bf5a5178aae4ad2da40fff005d27cee7edf20c411848d3de47f4db72337e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc79bf5a5178aae4ad2da40fff005d27cee7edf20c411848d3de47f4db72337e", kill_on_drop: false }`
[INFO] [stdout] dc79bf5a5178aae4ad2da40fff005d27cee7edf20c411848d3de47f4db72337e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4b9d8d62e79f93f52a1872950df220a2c11737370f4b0c8358ca9e362948355
[INFO] running `Command { std: "docker" "start" "-a" "a4b9d8d62e79f93f52a1872950df220a2c11737370f4b0c8358ca9e362948355", kill_on_drop: false }`
[INFO] [stderr]    Compiling polyglot v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/de.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ----^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rdr`
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "a4b9d8d62e79f93f52a1872950df220a2c11737370f4b0c8358ca9e362948355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4b9d8d62e79f93f52a1872950df220a2c11737370f4b0c8358ca9e362948355", kill_on_drop: false }`
[INFO] [stdout] a4b9d8d62e79f93f52a1872950df220a2c11737370f4b0c8358ca9e362948355
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08831e3a72086cfe24217822df4b0ffff4b0bbb1b9a2daea2c302e7b66de06db
[INFO] running `Command { std: "docker" "start" "-a" "08831e3a72086cfe24217822df4b0ffff4b0bbb1b9a2daea2c302e7b66de06db", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/de.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ----^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rdr`
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling polyglot v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/de.rs:34:56
[INFO] [stdout]    |
[INFO] [stdout] 34 |     simple_json: (include_str!("data/1.json"), Format::JSON),
[INFO] [stdout]    |                                                        ^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `JSON` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `TOML` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/de.rs:35:56
[INFO] [stdout]    |
[INFO] [stdout] 35 |     simple_toml: (include_str!("data/1.toml"), Format::TOML),
[INFO] [stdout]    |                                                        ^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `TOML` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/format.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     asref_json: (Format::JSON, "json"),
[INFO] [stdout]    |                          ^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `JSON` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/tests/format.rs:9:28
[INFO] [stdout]    |
[INFO] [stdout]  9 |                   assert_eq!(fmt_enum.as_ref(), expected_ref);
[INFO] [stdout]    |                              ^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 15 | / format_tests! {
[INFO] [stdout] 16 | |     asref_json: (Format::JSON, "json"),
[INFO] [stdout] 17 | |     asref_toml: (Format::TOML, "toml"),
[INFO] [stdout] 18 | |     asref_msgpack: (Format::MsgPack, "msgpack"),
[INFO] [stdout] 19 | |     asref_yaml: (Format::YAML, "yaml"),
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `format_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `TOML` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/format.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |     asref_toml: (Format::TOML, "toml"),
[INFO] [stdout]    |                          ^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `TOML` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `MsgPack` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/format.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     asref_msgpack: (Format::MsgPack, "msgpack"),
[INFO] [stdout]    |                             ^^^^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `MsgPack` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `YAML` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/format.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     asref_yaml: (Format::YAML, "yaml"),
[INFO] [stdout]    |                          ^^^^ variant or associated item not found in `Format`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum Format {
[INFO] [stdout]    | --------------- variant or associated item `YAML` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/ser.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |                   for frmt in vec![Format::JSON, Format::MsgPack, Format::TOML, Format::YAML].iter() {
[INFO] [stdout]    |                                            ^^^^ variant or associated item not found in `Format`
[INFO] [stdout] ...
[INFO] [stdout] 28 | / ser_tests! {
[INFO] [stdout] 29 | |     base_struct: TestStructA{name: String::from("John"), age: 18, is_nice: true},
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub enum Format {
[INFO] [stdout]    |   --------------- variant or associated item `JSON` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `ser_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `MsgPack` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/ser.rs:12:56
[INFO] [stdout]    |
[INFO] [stdout] 12 |                   for frmt in vec![Format::JSON, Format::MsgPack, Format::TOML, Format::YAML].iter() {
[INFO] [stdout]    |                                                          ^^^^^^^ variant or associated item not found in `Format`
[INFO] [stdout] ...
[INFO] [stdout] 28 | / ser_tests! {
[INFO] [stdout] 29 | |     base_struct: TestStructA{name: String::from("John"), age: 18, is_nice: true},
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub enum Format {
[INFO] [stdout]    |   --------------- variant or associated item `MsgPack` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `ser_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `TOML` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/ser.rs:12:73
[INFO] [stdout]    |
[INFO] [stdout] 12 |                   for frmt in vec![Format::JSON, Format::MsgPack, Format::TOML, Format::YAML].iter() {
[INFO] [stdout]    |                                                                           ^^^^ variant or associated item not found in `Format`
[INFO] [stdout] ...
[INFO] [stdout] 28 | / ser_tests! {
[INFO] [stdout] 29 | |     base_struct: TestStructA{name: String::from("John"), age: 18, is_nice: true},
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub enum Format {
[INFO] [stdout]    |   --------------- variant or associated item `TOML` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `ser_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `YAML` found for enum `Format` in the current scope
[INFO] [stdout]   --> src/tests/ser.rs:12:87
[INFO] [stdout]    |
[INFO] [stdout] 12 |                   for frmt in vec![Format::JSON, Format::MsgPack, Format::TOML, Format::YAML].iter() {
[INFO] [stdout]    |                                                                                         ^^^^ variant or associated item not found in `Format`
[INFO] [stdout] ...
[INFO] [stdout] 28 | / ser_tests! {
[INFO] [stdout] 29 | |     base_struct: TestStructA{name: String::from("John"), age: 18, is_nice: true},
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/format.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub enum Format {
[INFO] [stdout]    |   --------------- variant or associated item `YAML` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `ser_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/de.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_str<T>(s: &str, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ----^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rdr`
[INFO] [stdout]   --> src/de.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rdr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/de.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn from_reader<R, T>(mut rdr: R, format: Format) -> crate::Result<T>
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn to_vec<T: Serialize>(val: &T, format: Format) -> crate::Result<Vec<u8>> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/ser.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `format`
[INFO] [stdout]   --> src/ser.rs:75:41
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn to_string<T: Serialize>(val: &T, format: Format) -> crate::Result<String> {
[INFO] [stdout]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `polyglot` (lib test) due to 11 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "08831e3a72086cfe24217822df4b0ffff4b0bbb1b9a2daea2c302e7b66de06db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08831e3a72086cfe24217822df4b0ffff4b0bbb1b9a2daea2c302e7b66de06db", kill_on_drop: false }`
[INFO] [stdout] 08831e3a72086cfe24217822df4b0ffff4b0bbb1b9a2daea2c302e7b66de06db
