[INFO] fetching crate enum_to_enum_derive 0.1.0...
[INFO] testing enum_to_enum_derive-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate enum_to_enum_derive 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate enum_to_enum_derive 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate enum_to_enum_derive 0.1.0
[INFO] finished tweaking crates.io crate enum_to_enum_derive 0.1.0
[INFO] tweaked toml for crates.io crate enum_to_enum_derive 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 34 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69bd539403b13452ec3fe55e21d550eac63fa063f003d465d2d7bfa8310d300c
[INFO] running `Command { std: "docker" "start" "-a" "69bd539403b13452ec3fe55e21d550eac63fa063f003d465d2d7bfa8310d300c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69bd539403b13452ec3fe55e21d550eac63fa063f003d465d2d7bfa8310d300c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69bd539403b13452ec3fe55e21d550eac63fa063f003d465d2d7bfa8310d300c", kill_on_drop: false }`
[INFO] [stdout] 69bd539403b13452ec3fe55e21d550eac63fa063f003d465d2d7bfa8310d300c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7abdf49bcc819be6779c1fb19716558ba02f330d9c8216eaf7e261981ae086a
[INFO] running `Command { std: "docker" "start" "-a" "e7abdf49bcc819be6779c1fb19716558ba02f330d9c8216eaf7e261981ae086a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling enum_to_enum_derive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.40s
[INFO] running `Command { std: "docker" "inspect" "e7abdf49bcc819be6779c1fb19716558ba02f330d9c8216eaf7e261981ae086a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7abdf49bcc819be6779c1fb19716558ba02f330d9c8216eaf7e261981ae086a", kill_on_drop: false }`
[INFO] [stdout] e7abdf49bcc819be6779c1fb19716558ba02f330d9c8216eaf7e261981ae086a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d07f38db889473682b6f9766ca31de5e9a4e651a8feea13111300afbbf0fdf98
[INFO] running `Command { std: "docker" "start" "-a" "d07f38db889473682b6f9766ca31de5e9a4e651a8feea13111300afbbf0fdf98", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling winnow v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling trybuild v1.0.96
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling enum_to_enum_derive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling toml_edit v0.22.13
[INFO] [stderr]    Compiling toml v0.8.13
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.94s
[INFO] running `Command { std: "docker" "inspect" "d07f38db889473682b6f9766ca31de5e9a4e651a8feea13111300afbbf0fdf98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d07f38db889473682b6f9766ca31de5e9a4e651a8feea13111300afbbf0fdf98", kill_on_drop: false }`
[INFO] [stdout] d07f38db889473682b6f9766ca31de5e9a4e651a8feea13111300afbbf0fdf98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 10179ca566559b25bf6f4ec4410c1ff55e52e5aa2d9f1e9bc4a893bff2a46681
[INFO] running `Command { std: "docker" "start" "-a" "10179ca566559b25bf6f4ec4410c1ff55e52e5aa2d9f1e9bc4a893bff2a46681", kill_on_drop: false }`
[INFO] [stderr] warning: field `src_case` is never read
[INFO] [stderr]  --> src/ir.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct ConversionCfg {
[INFO] [stderr]   |            ------------- field in this struct
[INFO] [stderr] 8 |     pub src_case: SrcCase,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `fallible` is never read
[INFO] [stderr]    --> src/ir.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub struct SrcCase {
[INFO] [stderr]     |            ------- field in this struct
[INFO] [stderr] 115 |     pub case_name: Ident,
[INFO] [stderr] 116 |     pub fallible: bool,
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `enum_to_enum_derive` (lib) generated 2 warnings
[INFO] [stderr] warning: `enum_to_enum_derive` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_to_enum_derive-74f68f292b566af2)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_multiple_srcs ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_bad_effect ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_single_src ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_no_from_enum ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_and_effects ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests enum_to_enum_derive
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 178) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 51) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 178) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::{FromEnum, WithEffects};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:190:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[from_enum(Src, effect_container = EffectContainer)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:217:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Value` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: <EffectContainer<Value> as Example>::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:217:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Effect` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<<EffectContainer<Value> as Example>::Effect>) -> Self {
[INFO] [stdout]    |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:221:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Value` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (<EffectContainer<Value> as Example>::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:221:78
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Effect` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = <EffectContainer<Value> as Example>::Effect>>) {
[INFO] [stdout]    |                                                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 114) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:117:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::FromEnum;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:127:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[from_enum(Src)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:129:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[from_case(Case1, Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:132:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[from_case(Case1, Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:168:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Dest::from(Src::Case1(SrcField(10))),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 51) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:54:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::FromEnum;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[from_enum(Src)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[from_case(Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[from_case(Src = Case3)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Dest::from(Src::Case1()),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Dest::from(Src::Case2(SrcStrField(String::from("hello")))),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |       Dest::from(Src::Case3 {
[INFO] [stdout]    |  _____----------_^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     arguments to this function are incorrect
[INFO] [stdout] 49 | |         a: SrcStrField(String::from("hello")),
[INFO] [stdout] 50 | |         b: 100u8,
[INFO] [stdout] 51 | |     }),
[INFO] [stdout]    | |_____^ expected `Dest`, found `Src`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 114)
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 178)
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "10179ca566559b25bf6f4ec4410c1ff55e52e5aa2d9f1e9bc4a893bff2a46681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10179ca566559b25bf6f4ec4410c1ff55e52e5aa2d9f1e9bc4a893bff2a46681", kill_on_drop: false }`
[INFO] [stdout] 10179ca566559b25bf6f4ec4410c1ff55e52e5aa2d9f1e9bc4a893bff2a46681
[INFO] testing enum_to_enum_derive-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate enum_to_enum_derive 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate enum_to_enum_derive 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate enum_to_enum_derive 0.1.0
[INFO] finished tweaking crates.io crate enum_to_enum_derive 0.1.0
[INFO] tweaked toml for crates.io crate enum_to_enum_derive 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 34 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 558f187f55a5eb39e493a0090aafa2afcfa72e2fb493de7c38cd0d8427ce39ba
[INFO] running `Command { std: "docker" "start" "-a" "558f187f55a5eb39e493a0090aafa2afcfa72e2fb493de7c38cd0d8427ce39ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "558f187f55a5eb39e493a0090aafa2afcfa72e2fb493de7c38cd0d8427ce39ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "558f187f55a5eb39e493a0090aafa2afcfa72e2fb493de7c38cd0d8427ce39ba", kill_on_drop: false }`
[INFO] [stdout] 558f187f55a5eb39e493a0090aafa2afcfa72e2fb493de7c38cd0d8427ce39ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 691dfe6cad4410be67368b8add7b1e67ad519643265f8114ea39485b76128e2f
[INFO] running `Command { std: "docker" "start" "-a" "691dfe6cad4410be67368b8add7b1e67ad519643265f8114ea39485b76128e2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling enum_to_enum_derive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.41s
[INFO] running `Command { std: "docker" "inspect" "691dfe6cad4410be67368b8add7b1e67ad519643265f8114ea39485b76128e2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "691dfe6cad4410be67368b8add7b1e67ad519643265f8114ea39485b76128e2f", kill_on_drop: false }`
[INFO] [stdout] 691dfe6cad4410be67368b8add7b1e67ad519643265f8114ea39485b76128e2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 413a09417f0c83b5d6901b59b189fe6290d455f57408ce0cb76c91974a409edb
[INFO] running `Command { std: "docker" "start" "-a" "413a09417f0c83b5d6901b59b189fe6290d455f57408ce0cb76c91974a409edb", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling winnow v0.6.8
[INFO] [stderr]    Compiling trybuild v1.0.96
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling enum_to_enum_derive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling toml_edit v0.22.13
[INFO] [stderr]    Compiling toml v0.8.13
[INFO] [stdout] warning: field `src_case` is never read
[INFO] [stdout]  --> src/ir.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConversionCfg {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 8 |     pub src_case: SrcCase,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `fallible` is never read
[INFO] [stdout]    --> src/ir.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct SrcCase {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 115 |     pub case_name: Ident,
[INFO] [stdout] 116 |     pub fallible: bool,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.55s
[INFO] running `Command { std: "docker" "inspect" "413a09417f0c83b5d6901b59b189fe6290d455f57408ce0cb76c91974a409edb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "413a09417f0c83b5d6901b59b189fe6290d455f57408ce0cb76c91974a409edb", kill_on_drop: false }`
[INFO] [stdout] 413a09417f0c83b5d6901b59b189fe6290d455f57408ce0cb76c91974a409edb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 26326ebd5f1bf0417097183a660e696e779afac40437bd6c624f8191931b4a9d
[INFO] running `Command { std: "docker" "start" "-a" "26326ebd5f1bf0417097183a660e696e779afac40437bd6c624f8191931b4a9d", kill_on_drop: false }`
[INFO] [stderr] warning: field `src_case` is never read
[INFO] [stderr]  --> src/ir.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct ConversionCfg {
[INFO] [stderr]   |            ------------- field in this struct
[INFO] [stderr] 8 |     pub src_case: SrcCase,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ConversionCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `fallible` is never read
[INFO] [stderr]    --> src/ir.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub struct SrcCase {
[INFO] [stderr]     |            ------- field in this struct
[INFO] [stderr] 115 |     pub case_name: Ident,
[INFO] [stderr] 116 |     pub fallible: bool,
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `SrcCase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `enum_to_enum_derive` (lib) generated 2 warnings
[INFO] [stderr] warning: `enum_to_enum_derive` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enum_to_enum_derive-74f68f292b566af2)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_single_src ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_no_from_enum ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_multiple_srcs ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_and_effects ... ok
[INFO] [stdout] test parser::enum_parser_tests::parse_from_enum_srcs_bad_effect ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests enum_to_enum_derive
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 178) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_enum_from (line 51) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 114) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:117:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::FromEnum;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:127:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[from_enum(Src)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:129:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[from_case(Case1, Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:132:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[from_case(Case1, Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:168:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Dest::from(Src::Case1(SrcField(10))),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 178) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::{FromEnum, WithEffects};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:190:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[from_enum(Src, effect_container = EffectContainer)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:217:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Value` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: <EffectContainer<Value> as Example>::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:217:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<Self::Effect>) -> Self {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Effect` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn new(value: Self::Value, effects: Vec<<EffectContainer<Value> as Example>::Effect>) -> Self {
[INFO] [stdout]    |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:221:41
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Value` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (<EffectContainer<Value> as Example>::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]   --> src/lib.rs:221:78
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = Self::Effect>>) {
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Effect` implemented for `EffectContainer<Value>`, you could use the fully-qualified path
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn into_value_and_effects(self) -> (Self::Value, Box<dyn Iterator<Item = <EffectContainer<Value> as Example>::Effect>>) {
[INFO] [stdout]    |                                                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_enum_from (line 51) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `enum_to_enum`
[INFO] [stdout]  --> src/lib.rs:54:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use enum_to_enum::FromEnum;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `enum_to_enum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_enum` in this scope
[INFO] [stdout]   --> src/lib.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[from_enum(Src)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[from_case(Case2)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from_case` in this scope
[INFO] [stdout]   --> src/lib.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[from_case(Src = Case3)]
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Dest::from(Src::Case1()),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Dest::from(Src::Case2(SrcStrField(String::from("hello")))),
[INFO] [stdout]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Dest`, found `Src`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |       Dest::from(Src::Case3 {
[INFO] [stdout]    |  _____----------_^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |     arguments to this function are incorrect
[INFO] [stdout] 49 | |         a: SrcStrField(String::from("hello")),
[INFO] [stdout] 50 | |         b: 100u8,
[INFO] [stdout] 51 | |     }),
[INFO] [stdout]    | |_____^ expected `Dest`, found `Src`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:585:8
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 114)
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 178)
[INFO] [stdout]     src/lib.rs - derive_enum_from (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "26326ebd5f1bf0417097183a660e696e779afac40437bd6c624f8191931b4a9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26326ebd5f1bf0417097183a660e696e779afac40437bd6c624f8191931b4a9d", kill_on_drop: false }`
[INFO] [stdout] 26326ebd5f1bf0417097183a660e696e779afac40437bd6c624f8191931b4a9d
