[INFO] fetching crate polyglot 0.2.1... [INFO] checking polyglot-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate polyglot 0.2.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate polyglot 0.2.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdac0953214eed7103831b67ea2c77240dbf62763b29c28a20883bf01dfe56e5 [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" "cdac0953214eed7103831b67ea2c77240dbf62763b29c28a20883bf01dfe56e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdac0953214eed7103831b67ea2c77240dbf62763b29c28a20883bf01dfe56e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdac0953214eed7103831b67ea2c77240dbf62763b29c28a20883bf01dfe56e5", kill_on_drop: false }` [INFO] [stdout] cdac0953214eed7103831b67ea2c77240dbf62763b29c28a20883bf01dfe56e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa77473964b4f10b7aca71629c57d5c8a33a94e9b4c18d41a29e87ba4fa409c2 [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" "fa77473964b4f10b7aca71629c57d5c8a33a94e9b4c18d41a29e87ba4fa409c2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking polyglot v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polyglot` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/ser.rs (4 fixes) [INFO] [stderr] Fixed src/de.rs (5 fixes) [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fa77473964b4f10b7aca71629c57d5c8a33a94e9b4c18d41a29e87ba4fa409c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa77473964b4f10b7aca71629c57d5c8a33a94e9b4c18d41a29e87ba4fa409c2", kill_on_drop: false }` [INFO] [stdout] fa77473964b4f10b7aca71629c57d5c8a33a94e9b4c18d41a29e87ba4fa409c2