[INFO] fetching crate into_enum 0.1.0... [INFO] testing into_enum-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate into_enum 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate into_enum 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate into_enum 0.1.0 [INFO] tweaked toml for crates.io crate into_enum 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate into_enum 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c352cd442756166bdf513cd0bcff146a7174e6b0fc09ec6b2548cb2d4742210 [INFO] running `Command { std: "docker" "start" "-a" "7c352cd442756166bdf513cd0bcff146a7174e6b0fc09ec6b2548cb2d4742210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c352cd442756166bdf513cd0bcff146a7174e6b0fc09ec6b2548cb2d4742210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c352cd442756166bdf513cd0bcff146a7174e6b0fc09ec6b2548cb2d4742210", kill_on_drop: false }` [INFO] [stdout] 7c352cd442756166bdf513cd0bcff146a7174e6b0fc09ec6b2548cb2d4742210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba96eeb095d7b26db0055f383fbc4231c303a53a50de853c994bc194fbca4ee9 [INFO] running `Command { std: "docker" "start" "-a" "ba96eeb095d7b26db0055f383fbc4231c303a53a50de853c994bc194fbca4ee9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling into_enum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "ba96eeb095d7b26db0055f383fbc4231c303a53a50de853c994bc194fbca4ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba96eeb095d7b26db0055f383fbc4231c303a53a50de853c994bc194fbca4ee9", kill_on_drop: false }` [INFO] [stdout] ba96eeb095d7b26db0055f383fbc4231c303a53a50de853c994bc194fbca4ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48bb1b9635d396ac2db7021bfa427b1fbd2b6f894c580b889b4a86eea9bac6f7 [INFO] running `Command { std: "docker" "start" "-a" "48bb1b9635d396ac2db7021bfa427b1fbd2b6f894c580b889b4a86eea9bac6f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling into_enum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `derive_into_enum` [INFO] [stdout] --> tests/macro.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_into_enum::IntoEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `derive_into_enum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `derive_into_enum`, use `cargo add derive_into_enum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `into_enum` in this scope [INFO] [stdout] --> tests/macro.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[into_enum(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `into_enum` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | TestEnum::from(()), [INFO] [stdout] | -------------- ^^ expected `TestEnum`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | TestEnum::from("1"), [INFO] [stdout] | -------------- ^^^ expected `TestEnum`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in a variant of `TestEnum` [INFO] [stdout] | [INFO] [stdout] 25 | TestEnum::from(compile_from::TestEnum::OneValue("1")), [INFO] [stdout] | +++++++++++++++++++++++++++++++++ + [INFO] [stdout] 25 | TestEnum::from(compile_from::TestEnum::SkippedDuplicate("1")), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | TestEnum::from(("1", "2")), [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `TestEnum`, found `(&str, &str)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestEnum` [INFO] [stdout] found tuple `(&'static str, &'static str)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let _ = TestGeneric::from(ImplOne); [INFO] [stdout] | ----------------- ^^^^^^^ expected `TestGeneric<_>`, found `ImplOne` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric<_>` [INFO] [stdout] found struct `ImplOne` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `generic::TestGeneric::Generic` [INFO] [stdout] | [INFO] [stdout] 53 | let _ = TestGeneric::from(generic::TestGeneric::Generic(ImplOne)); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let _ = TestGeneric::from(ImplTwo); [INFO] [stdout] | ----------------- ^^^^^^^ expected `TestGeneric<_>`, found `ImplTwo` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric<_>` [INFO] [stdout] found struct `ImplTwo` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `generic::TestGeneric::Generic` [INFO] [stdout] | [INFO] [stdout] 54 | let _ = TestGeneric::from(generic::TestGeneric::Generic(ImplTwo)); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | let _ = TestGeneric::::from(NoTraits); [INFO] [stdout] | ---------------------------- ^^^^^^^^ expected `TestGeneric`, found `NoTraits` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric` [INFO] [stdout] found struct `NoTraits` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `generic::TestGeneric::NonGeneric` [INFO] [stdout] | [INFO] [stdout] 55 | let _ = TestGeneric::::from(generic::TestGeneric::NonGeneric(NoTraits)); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | let _ = TestGeneric::::from(NoTraits); [INFO] [stdout] | ---------------------------- ^^^^^^^^ expected `TestGeneric`, found `NoTraits` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric` [INFO] [stdout] found struct `NoTraits` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `generic::TestGeneric::NonGeneric` [INFO] [stdout] | [INFO] [stdout] 56 | let _ = TestGeneric::::from(generic::TestGeneric::NonGeneric(NoTraits)); [INFO] [stdout] | +++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | let _ = TestGeneric::::from(()); [INFO] [stdout] | ---------------------------- ^^ expected `TestGeneric`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/macro.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | let _ = TestGeneric::::from(()); [INFO] [stdout] | ---------------------------- ^^ expected `TestGeneric`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TestGeneric` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `into_enum` (test "macro") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "48bb1b9635d396ac2db7021bfa427b1fbd2b6f894c580b889b4a86eea9bac6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48bb1b9635d396ac2db7021bfa427b1fbd2b6f894c580b889b4a86eea9bac6f7", kill_on_drop: false }` [INFO] [stdout] 48bb1b9635d396ac2db7021bfa427b1fbd2b6f894c580b889b4a86eea9bac6f7