[INFO] fetching crate enumcapsulate 0.6.3... [INFO] testing enumcapsulate-0.6.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate enumcapsulate 0.6.3 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate enumcapsulate 0.6.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate enumcapsulate 0.6.3 [INFO] tweaked toml for crates.io crate enumcapsulate 0.6.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enumcapsulate 0.6.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate enumcapsulate 0.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base62 v2.0.3 [INFO] [stderr] Downloaded enumcapsulate-macros v0.6.3 [INFO] [stderr] Downloaded tryexpand v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2cae0c66d9024b8849a8aae98a9598d843a947feee0169d783bccaecbeae9d [INFO] running `Command { std: "docker" "start" "-a" "5f2cae0c66d9024b8849a8aae98a9598d843a947feee0169d783bccaecbeae9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2cae0c66d9024b8849a8aae98a9598d843a947feee0169d783bccaecbeae9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2cae0c66d9024b8849a8aae98a9598d843a947feee0169d783bccaecbeae9d", kill_on_drop: false }` [INFO] [stdout] 5f2cae0c66d9024b8849a8aae98a9598d843a947feee0169d783bccaecbeae9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ffd8f9d10a28dbc8716215866f0581c6463361d0609fa053a34d4cb12abb966 [INFO] running `Command { std: "docker" "start" "-a" "7ffd8f9d10a28dbc8716215866f0581c6463361d0609fa053a34d4cb12abb966", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling enumcapsulate-macros v0.6.3 [INFO] [stderr] Compiling enumcapsulate v0.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "7ffd8f9d10a28dbc8716215866f0581c6463361d0609fa053a34d4cb12abb966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffd8f9d10a28dbc8716215866f0581c6463361d0609fa053a34d4cb12abb966", kill_on_drop: false }` [INFO] [stdout] 7ffd8f9d10a28dbc8716215866f0581c6463361d0609fa053a34d4cb12abb966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1ee400a9e359ddb4328ad4eeda398b7ae8d9d2bfcdef2404728f3c381bd0cc9 [INFO] running `Command { std: "docker" "start" "-a" "d1ee400a9e359ddb4328ad4eeda398b7ae8d9d2bfcdef2404728f3c381bd0cc9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling base62 v2.0.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling cargo_toml v0.22.1 [INFO] [stderr] Compiling tryexpand v0.10.0 [INFO] [stderr] Compiling enumcapsulate v0.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.13s [INFO] running `Command { std: "docker" "inspect" "d1ee400a9e359ddb4328ad4eeda398b7ae8d9d2bfcdef2404728f3c381bd0cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ee400a9e359ddb4328ad4eeda398b7ae8d9d2bfcdef2404728f3c381bd0cc9", kill_on_drop: false }` [INFO] [stdout] d1ee400a9e359ddb4328ad4eeda398b7ae8d9d2bfcdef2404728f3c381bd0cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c6e6edd9498be04d7e364b048e82c43f9c493caa98329c282aceb8ee97b4d70 [INFO] running `Command { std: "docker" "start" "-a" "5c6e6edd9498be04d7e364b048e82c43f9c493caa98329c282aceb8ee97b4d70", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/enumcapsulate-c6a3831b204b684b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/derive-tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/derive_tests-0cc3cbdfd9f94e00) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] errorerror:: failed to run `rustc` to learn about target-specific information [INFO] [stderr] failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] test try_into::fail ... FAILED [INFO] [stdout] test from::fail ... FAILED [INFO] [stdout] test as_variant_ref::fail ... FAILED [INFO] [stdout] test as_variant_mut::fail ... FAILED [INFO] [stdout] test smoke::pass ... FAILED [INFO] [stdout] test from::pass ... FAILED [INFO] [stdout] test encapsulate::pass ... FAILED [INFO] [stdout] test into_variant::fail ... FAILED [INFO] [stdout] test as_variant_mut::pass ... FAILED [INFO] [stdout] test from_variant::fail ... FAILED [INFO] [stdout] test as_variant::pass ... FAILED [INFO] [stdout] test as_variant::fail ... FAILED [INFO] [stdout] test from_variant::pass ... FAILED [INFO] [stdout] test try_into::pass ... FAILED [INFO] [stdout] test as_variant_ref::pass ... FAILED [INFO] [stdout] test into_variant::pass ... FAILED [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stderr] error: failed to run `rustc` to learn about target-specific information [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc - --crate-name ___ --print=file-names --cap-lints=forbid-Awarnings --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [INFO] [stderr] --- stderr [INFO] [stderr] error: unknown lint level: `forbid-Awarnings` [INFO] [stderr] [INFO] [stdout] test variant_downcast::pass ... FAILED [INFO] [stdout] test variant_downcast::fail ... FAILED [INFO] [stdout] test variant_discriminant::fail ... FAILED [INFO] [stdout] test variant_discriminant::pass ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- try_into::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:21:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/try_into/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/try_into/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/try_into/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/try_into/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/try_into/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/try_into/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/try_into/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/try_into/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/try_into/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/try_into/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/try_into/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/try_into/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'try_into::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/try_into/fail/struct.rs [INFO] [stdout] tests/derive-tests/try_into/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edf9ab - derive_tests::try_into::fail::h6e9005780685d33a [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:21:86 [INFO] [stdout] 26: 0x763214edf937 - derive_tests::try_into::fail::{{closure}}::h5760a3159f82ba50 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:20:18 [INFO] [stdout] 27: 0x763214ef38c6 - core::ops::function::FnOnce::call_once::h1a631934c394d08f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- from::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:9:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/from/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/from/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/from/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/from/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/from/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/from/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/from/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/from/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'from::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from/fail/struct.rs [INFO] [stdout] tests/derive-tests/from/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edce4b - derive_tests::from::fail::h88655bbc36320b14 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:9:82 [INFO] [stdout] 26: 0x763214edcdd7 - derive_tests::from::fail::{{closure}}::h24f30287ecc008bd [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:8:18 [INFO] [stdout] 27: 0x763214ef39c6 - core::ops::function::FnOnce::call_once::h36eb3c7ab6182e4d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant_ref::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:57:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant_ref/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantRef; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant_ref/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant_ref/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant_ref/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant_ref/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantRef; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant_ref/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant_ref/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant_ref/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant_ref::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/struct.rs [INFO] [stdout] tests/derive-tests/as_variant_ref/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214eedecb - derive_tests::as_variant_ref::fail::h58a1e5cf859b33e3 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:57:92 [INFO] [stdout] 26: 0x763214eede57 - derive_tests::as_variant_ref::fail::{{closure}}::h52d43df3ee96626d [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:56:18 [INFO] [stdout] 27: 0x763214ef3946 - core::ops::function::FnOnce::call_once::h1ba6a79bbca792c8 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant_mut::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:69:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant_mut/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantMut; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant_mut/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant_mut/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant_mut/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant_mut/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantMut; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant_mut/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant_mut/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant_mut/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant_mut::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/struct.rs [INFO] [stdout] tests/derive-tests/as_variant_mut/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee25ab - derive_tests::as_variant_mut::fail::h518c7ee02570328a [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:69:92 [INFO] [stdout] 26: 0x763214ee2537 - derive_tests::as_variant_mut::fail::{{closure}}::h0f9a5af146378038 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:68:18 [INFO] [stdout] 27: 0x763214ef3bb6 - core::ops::function::FnOnce::call_once::h6b2084f553c29015 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- smoke::pass stdout ---- [INFO] [stdout] Running 1 macro expansion tests from tests/derive-tests.rs:125:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/smoke/pass/enum/smoke.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::{Encapsulate, VariantDiscriminant}; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(Encapsulate, VariantDiscriminant)] [INFO] [stdout] #[enumcapsulate(discriminant(name = CustomDiscriminant, repr = u8))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  #[enumcapsulate(discriminant(name = CustomVariant, value = 42))] [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  #[enumcapsulate(exclude(From, TryInto))] [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'smoke::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 1 of 1 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/smoke/pass/enum/smoke.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edfa4b - derive_tests::smoke::pass::h8949a347d8b15967 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:125:81 [INFO] [stdout] 26: 0x763214edf9d7 - derive_tests::smoke::pass::{{closure}}::h7db21ea782cde154 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:124:18 [INFO] [stdout] 27: 0x763214ef3986 - core::ops::function::FnOnce::call_once::h1fc47aaae1270674 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- from::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:4:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l i8); [INFO] [stdout] pub struct VariantD([i16; N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = i32; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = i64; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(From)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  let _: Subject<'_> = Enum::from(VariantA); [INFO] [stdout]  let _: Subject<'_> = Enum::from(&VariantB); [INFO] [stdout]  let _: Subject<'_> = Enum::from(VariantC(&42_i8)); [INFO] [stdout]  let _: Subject<'_> = Enum::from(42_i64); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout]  [INFO] [stdout] #[derive(From)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let _ = Enum::from(VariantA); [INFO] [stdout]  let _ = Enum::from(VariantB); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout]  [INFO] [stdout] #[derive(From)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'from::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/from/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/from/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edcdab - derive_tests::from::pass::h98c9a484649dd14c [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:4:80 [INFO] [stdout] 26: 0x763214edcd37 - derive_tests::from::pass::{{closure}}::h2d99aaadf4d0be42 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:3:18 [INFO] [stdout] 27: 0x763214ef3cf6 - core::ops::function::FnOnce::call_once::hb29308d8cb6fc2dd [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- encapsulate::pass stdout ---- [INFO] [stdout] Running 4 macro expansion tests from tests/derive-tests.rs:112:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/exclude_attr.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::Encapsulate; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(Encapsulate)] [INFO] [stdout] #[enumcapsulate(exclude(From, TryInto))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  ExcludedWildcard(VariantC), [INFO] [stdout]  #[enumcapsulate(exclude(FromVariant, AsVariant))] [INFO] [stdout]  ExcludedSelective(VariantD), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::Encapsulate; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC<'l>(&'l ()); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD([(); N]); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(Encapsulate)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::Encapsulate; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(Encapsulate)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::{AsVariantMut, AsVariantRef, Encapsulate, IntoVariant, VariantDowncast}; [INFO] [stdout]  [INFO] [stdout] #[derive(Encapsulate)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn check() [INFO] [stdout] where [INFO] [stdout]  T: VariantDowncast, [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  check::(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'encapsulate::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 4 of 4 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/exclude_attr.rs [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/encapsulate/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edceeb - derive_tests::encapsulate::pass::ha8a13a1988cd0390 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:112:87 [INFO] [stdout] 26: 0x763214edce77 - derive_tests::encapsulate::pass::{{closure}}::hdb2c4a1ac76a02a9 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:111:18 [INFO] [stdout] 27: 0x763214ef3906 - core::ops::function::FnOnce::call_once::h1b32cfe23fce791c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- into_variant::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:81:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/into_variant/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/into_variant/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::IntoVariant; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/into_variant/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/into_variant/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/into_variant/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/into_variant/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/into_variant/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/into_variant/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::IntoVariant; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/into_variant/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/into_variant/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/into_variant/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/into_variant/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'into_variant::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/into_variant/fail/struct.rs [INFO] [stdout] tests/derive-tests/into_variant/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214efa77b - derive_tests::into_variant::fail::h722392c183d421ac [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:81:90 [INFO] [stdout] 26: 0x763214efa707 - derive_tests::into_variant::fail::{{closure}}::h0c7ebdba3e65bec2 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:80:18 [INFO] [stdout] 27: 0x763214ef3c36 - core::ops::function::FnOnce::call_once::h8aa539f51ab320b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant_mut::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:64:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantMut; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l ()); [INFO] [stdout] pub struct VariantD([(); N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantMut)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  let mut subject = Subject::Unit; [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantA> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut &VariantB> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantC<'_>> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantC<'_>> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut ::T> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantMut; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantMut)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantA> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantB> = subject.as_variant_mut(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantMut; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantMut)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant_mut::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/as_variant_mut/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee250b - derive_tests::as_variant_mut::pass::hb91fbaadb7cccdd9 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:64:90 [INFO] [stdout] 26: 0x763214ee2497 - derive_tests::as_variant_mut::pass::{{closure}}::h9baf030ad571c486 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:63:18 [INFO] [stdout] 27: 0x763214ef3a06 - core::ops::function::FnOnce::call_once::h3b491ee7b82a87fc [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- from_variant::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:33:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from_variant/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/from_variant/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::FromVariant; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/from_variant/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from_variant/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/from_variant/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/from_variant/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from_variant/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/from_variant/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::FromVariant; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/from_variant/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from_variant/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/from_variant/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/from_variant/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'from_variant::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from_variant/fail/struct.rs [INFO] [stdout] tests/derive-tests/from_variant/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee706b - derive_tests::from_variant::fail::h3e981a7afb73f6a9 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:33:90 [INFO] [stdout] 26: 0x763214ee6ff7 - derive_tests::from_variant::fail::{{closure}}::h35113b695b83e3de [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:32:18 [INFO] [stdout] 27: 0x763214ef3856 - core::ops::function::FnOnce::call_once::h0ef06ed00bb2f1b5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:40:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC<'l>(&'l ()); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD([(); N]); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariant)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  let mut subject = Subject::Unit; [INFO] [stdout]  [INFO] [stdout]  let _: Option = subject.as_variant(); [INFO] [stdout]  let _: Option<&VariantB> = subject.as_variant(); [INFO] [stdout]  let _: Option> = subject.as_variant(); [INFO] [stdout]  let _: Option> = subject.as_variant(); [INFO] [stdout]  let _: Option<::T> = subject.as_variant(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariant)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  [INFO] [stdout]  let _: Option = subject.as_variant(); [INFO] [stdout]  let _: Option = subject.as_variant(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariant)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/as_variant/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214efe97b - derive_tests::as_variant::pass::h69ea69a4fd3ea244 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:40:86 [INFO] [stdout] 26: 0x763214efe907 - derive_tests::as_variant::pass::{{closure}}::h86527fbc09ec8025 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:39:18 [INFO] [stdout] 27: 0x763214ef3d76 - core::ops::function::FnOnce::call_once::hba69459a54d602cd [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:45:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/as_variant/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/as_variant/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/as_variant/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/as_variant/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant/fail/struct.rs [INFO] [stdout] tests/derive-tests/as_variant/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214efea1b - derive_tests::as_variant::fail::h5506f04939bc3381 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:45:88 [INFO] [stdout] 26: 0x763214efe9a7 - derive_tests::as_variant::fail::{{closure}}::h92f56312ddf7f18b [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:44:18 [INFO] [stdout] 27: 0x763214ef3786 - core::ops::function::FnOnce::call_once::h09ee6bf2861b9b1d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- from_variant::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:28:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::FromVariant; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l i8); [INFO] [stdout] pub struct VariantD([i16; N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = i32; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = i64; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(FromVariant)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  let _: Subject<'_> = Enum::from_variant(VariantA); [INFO] [stdout]  let _: Subject<'_> = Enum::from_variant(&VariantB); [INFO] [stdout]  let _: Subject<'_> = Enum::from_variant(VariantC(&42_i8)); [INFO] [stdout]  let _: Subject<'_> = Enum::from_variant(42_i64); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::FromVariant; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(FromVariant)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let _ = Enum::from_variant(VariantA); [INFO] [stdout]  let _ = Enum::from_variant(VariantB); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::FromVariant; [INFO] [stdout]  [INFO] [stdout] #[derive(FromVariant)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'from_variant::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/from_variant/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee6fcb - derive_tests::from_variant::pass::hed6c4ced5a7816e4 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:28:88 [INFO] [stdout] 26: 0x763214ee6f57 - derive_tests::from_variant::pass::{{closure}}::hd08774da98bc2c66 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:27:18 [INFO] [stdout] 27: 0x763214ef3c76 - core::ops::function::FnOnce::call_once::ha090d86ffecc46fd [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- try_into::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:16:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/try_into/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::TryInto; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l i8); [INFO] [stdout] pub struct VariantD([i16; N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = i32; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = i64; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(TryInto)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result> = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result<&'_ VariantB, Subject<'_>> = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result, Subject<'_>> = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result<::T, Subject<'_>> = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/try_into/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::TryInto; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(TryInto)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.try_into(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/try_into/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::From; [INFO] [stdout]  [INFO] [stdout] #[derive(From)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'try_into::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/try_into/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/try_into/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/try_into/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214edf90b - derive_tests::try_into::pass::h451286537b3e3c55 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:16:84 [INFO] [stdout] 26: 0x763214edf897 - derive_tests::try_into::pass::{{closure}}::h512302104e821147 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:15:18 [INFO] [stdout] 27: 0x763214ef3b76 - core::ops::function::FnOnce::call_once::h6a5ddc23a4709436 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- as_variant_ref::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:52:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantRef; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l ()); [INFO] [stdout] pub struct VariantD([(); N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = (); [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantRef)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  let mut subject = Subject::Unit; [INFO] [stdout]  [INFO] [stdout]  let _: Option<&VariantA> = subject.as_variant_ref(); [INFO] [stdout]  let _: Option<&&VariantB> = subject.as_variant_ref(); [INFO] [stdout]  let _: Option<&VariantC<'_>> = subject.as_variant_ref(); [INFO] [stdout]  let _: Option<&VariantC<'_>> = subject.as_variant_ref(); [INFO] [stdout]  let _: Option<&::T> = subject.as_variant_ref(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantRef; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantRef)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  [INFO] [stdout]  let _: Option<&VariantA> = subject.as_variant_ref(); [INFO] [stdout]  let _: Option<&VariantB> = subject.as_variant_ref(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariantRef; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariantRef)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'as_variant_ref::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/as_variant_ref/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214eede2b - derive_tests::as_variant_ref::pass::hf922b00bb804c20b [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:52:90 [INFO] [stdout] 26: 0x763214eeddb7 - derive_tests::as_variant_ref::pass::{{closure}}::h232fd7fabf67ed0a [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:51:18 [INFO] [stdout] 27: 0x763214ef3cb6 - core::ops::function::FnOnce::call_once::ha5444cf15d572737 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- into_variant::pass stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:76:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/generics.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::IntoVariant; [INFO] [stdout]  [INFO] [stdout] trait HasAssoc { [INFO] [stdout]  type Assoc: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC<'l>(&'l i8); [INFO] [stdout] pub struct VariantD([i16; N]); [INFO] [stdout] pub struct VariantE(T); [INFO] [stdout] pub struct VariantF<'l, const N: usize, T>(&'l [T; N]); [INFO] [stdout]  [INFO] [stdout] pub struct VariantT; [INFO] [stdout]  [INFO] [stdout] impl HasAssoc for VariantT { [INFO] [stdout]  type Assoc = i32; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] pub struct VariantU; [INFO] [stdout]  [INFO] [stdout] trait HasT { [INFO] [stdout]  // This associated type intentionally has the same name [INFO] [stdout]  // as the generic type param of the enum subject. [INFO] [stdout]  // [INFO] [stdout]  // The point of this is to detect false positives [INFO] [stdout]  // from the generic param detection, which should falsely [INFO] [stdout]  // detect `VariantU::T` as a use of the type param `T`: [INFO] [stdout]  type T: Sized; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl HasT for VariantU { [INFO] [stdout]  type T = i64; [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(IntoVariant)] [INFO] [stdout] pub enum Enum<'l, const N: usize, T> [INFO] [stdout] where [INFO] [stdout]  T: HasAssoc, [INFO] [stdout] { [INFO] [stdout]  Unit, [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedSpecificType(VariantA), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  BorrowedSpecificType(&'l VariantB), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedWithGenericLifetime(VariantC<'l>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a const param): [INFO] [stdout]  OwnedGenericTypeWithConstParam(VariantD), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericTypeWithTypeParam(VariantE), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of const and type params): [INFO] [stdout]  OwnedGenericTypeWithMixedParams(VariantF<'l, N, T>), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedGenericParam(T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  BorrowedGenericParam(&'l T), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParam(T::Assoc), [INFO] [stdout]  // We expect this variant to NOT get derived (due to its use of a type param): [INFO] [stdout]  OwnedAssocTypeOfGenericParamBehindCast(::Assoc), [INFO] [stdout]  // We expect this variant to get derived: [INFO] [stdout]  OwnedAssocTypeOfSpecificTypeBehindCast(::T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  type Subject<'x> = Enum<'x, 42, VariantT>; [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result> = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result<&'_ VariantB, Subject<'_>> = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result, Subject<'_>> = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Subject::Unit; [INFO] [stdout]  let _: Result<::T, Subject<'_>> = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::IntoVariant; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(IntoVariant)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::IntoVariant; [INFO] [stdout]  [INFO] [stdout] #[derive(IntoVariant)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'into_variant::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/generics.rs [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/into_variant/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214efa6db - derive_tests::into_variant::pass::hc866501e6c3973b1 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:76:88 [INFO] [stdout] 26: 0x763214efa667 - derive_tests::into_variant::pass::{{closure}}::h01d9aa778714c58c [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:75:18 [INFO] [stdout] 27: 0x763214ef3a46 - core::ops::function::FnOnce::call_once::h4367342dbda8186a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- variant_downcast::pass stdout ---- [INFO] [stdout] Running 1 macro expansion tests from tests/derive-tests.rs:88:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_downcast/pass/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::{AsVariant, AsVariantMut, AsVariantRef, IntoVariant, VariantDowncast}; [INFO] [stdout]  [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantA; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantB; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantC; [INFO] [stdout] #[derive(Clone)] [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(AsVariant, AsVariantRef, AsVariantMut, IntoVariant)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { [INFO] [stdout]  variant: VariantB, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  TwoStructFields { [INFO] [stdout]  a: i32, [INFO] [stdout]  b: u32, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(exclude)] [INFO] [stdout]  Excluded(VariantA, VariantB), [INFO] [stdout]  #[enumcapsulate(field = 1)] [INFO] [stdout]  IncludedTuple(i8, VariantC), [INFO] [stdout]  #[enumcapsulate(field = "variant")] [INFO] [stdout]  IncludedStruct { [INFO] [stdout]  value: u8, [INFO] [stdout]  variant: VariantD, [INFO] [stdout]  }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] impl VariantDowncast for Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&VariantA> = subject.as_variant_downcast_ref(); [INFO] [stdout]  let _: Option<&VariantB> = subject.as_variant_downcast_ref(); [INFO] [stdout]  let _: Option<&VariantC> = subject.as_variant_downcast_ref(); [INFO] [stdout]  let _: Option<&VariantD> = subject.as_variant_downcast_ref(); [INFO] [stdout]  } [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantA> = subject.as_variant_downcast_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantB> = subject.as_variant_downcast_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantC> = subject.as_variant_downcast_mut(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let _: Option<&mut VariantD> = subject.as_variant_downcast_mut(); [INFO] [stdout]  } [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let _: Option = subject.as_variant_downcast(); [INFO] [stdout]  let _: Option = subject.as_variant_downcast(); [INFO] [stdout]  let _: Option = subject.as_variant_downcast(); [INFO] [stdout]  let _: Option = subject.as_variant_downcast(); [INFO] [stdout]  } [INFO] [stdout]  [INFO] [stdout]  { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant_downcast(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant_downcast(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant_downcast(); [INFO] [stdout]  } [INFO] [stdout]  { [INFO] [stdout]  let mut subject = Enum::Unit; [INFO] [stdout]  let _: Result = subject.into_variant_downcast(); [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test derive-tests` [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'variant_downcast::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 1 of 1 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_downcast/pass/mixed_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214eea73b - derive_tests::variant_downcast::pass::h7c03099972968af8 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:88:92 [INFO] [stdout] 26: 0x763214eea6c7 - derive_tests::variant_downcast::pass::{{closure}}::h282ca1f6cb23b682 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:87:18 [INFO] [stdout] 27: 0x763214ef3816 - core::ops::function::FnOnce::call_once::h0e66caac8a2710c5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- variant_downcast::fail stdout ---- [INFO] [stdout] Running 2 macro expansion tests from tests/derive-tests.rs:93:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_downcast/fail/struct.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/variant_downcast/fail/struct.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout] pub struct Struct { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/variant_downcast/fail/struct.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_downcast/fail/struct.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/variant_downcast/fail/struct.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/variant_downcast/fail/struct.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub struct Struct { [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_downcast/fail/union.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/variant_downcast/fail/union.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::AsVariant; [INFO] [stdout] pub union Union { [INFO] [stdout]  field: (), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/variant_downcast/fail/union.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_downcast/fail/union.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/variant_downcast/fail/union.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: expected `enum` [INFO] [stdout] - --> /tests/derive-tests/variant_downcast/fail/union.rs:4:5 [INFO] [stdout] - | [INFO] [stdout] - 4 | pub union Union { [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'variant_downcast::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 2 of 2 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_downcast/fail/struct.rs [INFO] [stdout] tests/derive-tests/variant_downcast/fail/union.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214eea7db - derive_tests::variant_downcast::fail::h279a35429d3b598d [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:93:94 [INFO] [stdout] 26: 0x763214eea767 - derive_tests::variant_downcast::fail::{{closure}}::h6681d8226ed62ec5 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:92:18 [INFO] [stdout] 27: 0x763214ef3bf6 - core::ops::function::FnOnce::call_once::h7468d385f6a60d6c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- variant_discriminant::fail stdout ---- [INFO] [stdout] Running 3 macro expansion tests from tests/derive-tests.rs:105:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_generic_field.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/variant_discriminant/fail/nested_generic_field.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout] pub enum VariantA { [INFO] [stdout]  Variant(T), [INFO] [stdout] } [INFO] [stdout] pub enum VariantADiscriminant { [INFO] [stdout]  Variant, [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::marker::Copy for VariantADiscriminant {} [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::clone::Clone for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn clone(&self) -> VariantADiscriminant { [INFO] [stdout]  *self [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::Ord for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn cmp(&self, other: &VariantADiscriminant) -> ::core::cmp::Ordering { [INFO] [stdout]  ::core::cmp::Ordering::Equal [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::PartialOrd for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn partial_cmp( [INFO] [stdout]  &self, [INFO] [stdout]  other: &VariantADiscriminant, [INFO] [stdout]  ) -> ::core::option::Option<::core::cmp::Ordering> { [INFO] [stdout]  ::core::option::Option::Some(::core::cmp::Ordering::Equal) [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::Eq for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  #[doc(hidden)] [INFO] [stdout]  #[coverage(off)] [INFO] [stdout]  fn assert_receiver_is_total_eq(&self) -> () {} [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::marker::StructuralPartialEq for VariantADiscriminant {} [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::PartialEq for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn eq(&self, other: &VariantADiscriminant) -> bool { [INFO] [stdout]  true [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::hash::Hash for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () {} [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::fmt::Debug for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { [INFO] [stdout]  ::core::fmt::Formatter::write_str(f, "Variant") [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] impl ::enumcapsulate::VariantDiscriminant for VariantA { [INFO] [stdout]  type Discriminant = VariantADiscriminant; [INFO] [stdout]  fn variant_discriminant(&self) -> Self::Discriminant { [INFO] [stdout]  match self { [INFO] [stdout]  VariantA::Variant(..) => VariantADiscriminant::Variant, [INFO] [stdout]  _ => ::core::panicking::panic("internal error: entered unreachable code"), [INFO] [stdout]  } [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[enumcapsulate(discriminant(repr = u8))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  #[enumcapsulate(discriminant(nested))] [INFO] [stdout]  VariantA(VariantA), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/variant_discriminant/fail/nested_generic_field.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_generic_field.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/variant_discriminant/fail/nested_generic_field.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: generic fields require an explicit nested discriminant type [INFO] [stdout] - --> /tests/derive-tests/variant_discriminant/fail/nested_generic_field.rs:12:14 [INFO] [stdout] - | [INFO] [stdout] - 12 | VariantA(VariantA), [INFO] [stdout] - | ^^^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout] pub enum Enum { [INFO] [stdout]  #[enumcapsulate(discriminant(nested, value = 42))] [INFO] [stdout]  VariantA, [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: no field found on variant [INFO] [stdout] - --> /tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.rs:5:34 [INFO] [stdout] - | [INFO] [stdout] - 5 | #[enumcapsulate(discriminant(nested, value = 42))] [INFO] [stdout] - | ^^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_with_value.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected snapshot at tests/derive-tests/variant_discriminant/fail/nested_with_value.out.rs [INFO] [stdout] [INFO] [stdout] SNAPSHOT: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout] pub enum VariantA { [INFO] [stdout]  VariantA1, [INFO] [stdout]  VariantA2, [INFO] [stdout] } [INFO] [stdout] pub enum VariantADiscriminant { [INFO] [stdout]  VariantA1, [INFO] [stdout]  VariantA2, [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::marker::Copy for VariantADiscriminant {} [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::clone::Clone for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn clone(&self) -> VariantADiscriminant { [INFO] [stdout]  *self [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::Ord for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn cmp(&self, other: &VariantADiscriminant) -> ::core::cmp::Ordering { [INFO] [stdout]  let __self_tag = ::core::intrinsics::discriminant_value(self); [INFO] [stdout]  let __arg1_tag = ::core::intrinsics::discriminant_value(other); [INFO] [stdout]  ::core::cmp::Ord::cmp(&__self_tag, &__arg1_tag) [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::PartialOrd for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn partial_cmp( [INFO] [stdout]  &self, [INFO] [stdout]  other: &VariantADiscriminant, [INFO] [stdout]  ) -> ::core::option::Option<::core::cmp::Ordering> { [INFO] [stdout]  let __self_tag = ::core::intrinsics::discriminant_value(self); [INFO] [stdout]  let __arg1_tag = ::core::intrinsics::discriminant_value(other); [INFO] [stdout]  ::core::cmp::PartialOrd::partial_cmp(&__self_tag, &__arg1_tag) [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::Eq for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  #[doc(hidden)] [INFO] [stdout]  #[coverage(off)] [INFO] [stdout]  fn assert_receiver_is_total_eq(&self) -> () {} [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::marker::StructuralPartialEq for VariantADiscriminant {} [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::cmp::PartialEq for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn eq(&self, other: &VariantADiscriminant) -> bool { [INFO] [stdout]  let __self_tag = ::core::intrinsics::discriminant_value(self); [INFO] [stdout]  let __arg1_tag = ::core::intrinsics::discriminant_value(other); [INFO] [stdout]  __self_tag == __arg1_tag [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::hash::Hash for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn hash<__H: ::core::hash::Hasher>(&self, state: &mut __H) -> () { [INFO] [stdout]  let __self_tag = ::core::intrinsics::discriminant_value(self); [INFO] [stdout]  ::core::hash::Hash::hash(&__self_tag, state) [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] #[automatically_derived] [INFO] [stdout] impl ::core::fmt::Debug for VariantADiscriminant { [INFO] [stdout]  #[inline] [INFO] [stdout]  fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { [INFO] [stdout]  ::core::fmt::Formatter::write_str( [INFO] [stdout]  f, [INFO] [stdout]  match self { [INFO] [stdout]  VariantADiscriminant::VariantA1 => "VariantA1", [INFO] [stdout]  VariantADiscriminant::VariantA2 => "VariantA2", [INFO] [stdout]  }, [INFO] [stdout]  ) [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] impl ::enumcapsulate::VariantDiscriminant for VariantA { [INFO] [stdout]  type Discriminant = VariantADiscriminant; [INFO] [stdout]  fn variant_discriminant(&self) -> Self::Discriminant { [INFO] [stdout]  match self { [INFO] [stdout]  VariantA::VariantA1 => VariantADiscriminant::VariantA1, [INFO] [stdout]  VariantA::VariantA2 => VariantADiscriminant::VariantA2, [INFO] [stdout]  _ => ::core::panicking::panic("internal error: entered unreachable code"), [INFO] [stdout]  } [INFO] [stdout]  } [INFO] [stdout] } [INFO] [stdout] pub enum Enum { [INFO] [stdout]  #[enumcapsulate(discriminant(nested, value = 42))] [INFO] [stdout]  VariantA(VariantA), [INFO] [stdout] } [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] help: Remove the snapshot file at /opt/rustwide/workdir/tests/derive-tests/variant_discriminant/fail/nested_with_value.out.rs. [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_with_value.rs - MISMATCH [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected mismatch in file tests/derive-tests/variant_discriminant/fail/nested_with_value.err.txt: [INFO] [stdout] [INFO] [stdout] DIFF: [INFO] [stdout] [INFO] [stdout] - error: conflicting with use of `nesting` [INFO] [stdout] - --> /tests/derive-tests/variant_discriminant/fail/nested_with_value.rs:11:42 [INFO] [stdout] - | [INFO] [stdout] - 11 | #[enumcapsulate(discriminant(nested, value = 42))] [INFO] [stdout] - | ^^^^^ [INFO] [stdout] - error: could not compile `` (bin "") due to 1 previous error [INFO] [stdout] + error: no such command: `expand` [INFO] [stdout] +  [INFO] [stdout] + help: view all installed commands with `cargo --list` [INFO] [stdout] + help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout]   [INFO] [stdout] [INFO] [stdout] help: Overwrite the snapshot file by running your tests with `TRYEXPAND=overwrite`. [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'variant_discriminant::fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 3 of 3 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_generic_field.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_on_unit_variant.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/fail/nested_with_value.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef448b - core::ptr::drop_in_place::h04da280bf688fe0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee71ab - derive_tests::variant_discriminant::fail::h575cbc36da2616ec [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:105:98 [INFO] [stdout] 26: 0x763214ee7137 - derive_tests::variant_discriminant::fail::{{closure}}::h5851c4f6019ce515 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:104:18 [INFO] [stdout] 27: 0x763214ef3dc6 - core::ops::function::FnOnce::call_once::hd7a42089e9adaffa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- variant_discriminant::pass stdout ---- [INFO] [stdout] Running 7 macro expansion tests from tests/derive-tests.rs:100:9 ... [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/lifetimes.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum VariantWithLifetime<'a> { [INFO] [stdout]  Variant(&'a ()), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] // #[derive(VariantDiscriminant)] [INFO] [stdout] // pub enum GenericVariantWithLifetime<'a, T> { [INFO] [stdout] // Variant(&'a T), [INFO] [stdout] // } [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum EnumWithLifetime<'a> { [INFO] [stdout]  #[enumcapsulate(discriminant(nested))] [INFO] [stdout]  VariantA(VariantWithLifetime<'a>), [INFO] [stdout]  // #[enumcapsulate(discriminant(nested))] [INFO] [stdout]  // VariantB { b: VariantWithLifetime<'a> }, [INFO] [stdout]  // #[enumcapsulate(field = 0, discriminant(nested = GenericVariantWithLifetimeDiscriminant))] [INFO] [stdout]  // VariantC(GenericVariantWithLifetime<'a, T>), [INFO] [stdout]  // #[enumcapsulate(field = "d", discriminant(nested = GenericVariantWithLifetimeDiscriminant))] [INFO] [stdout]  // VariantD { [INFO] [stdout]  // d: GenericVariantWithLifetime<'a, T>, [INFO] [stdout]  // }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/mixed_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] pub struct VariantA; [INFO] [stdout] pub struct VariantB; [INFO] [stdout] pub struct VariantC; [INFO] [stdout] pub struct VariantD; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  Unit, [INFO] [stdout]  ZeroTupleFields(), [INFO] [stdout]  ZeroStructFields {}, [INFO] [stdout]  OneTupleField(VariantA), [INFO] [stdout]  OneStructField { variant: VariantB }, [INFO] [stdout]  TwoTupleFields(i32, u32), [INFO] [stdout]  TwoStructFields { a: i32, b: u32 }, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() { [INFO] [stdout]  [INFO] [stdout]  [INFO] [stdout]  fn check() [INFO] [stdout]  where [INFO] [stdout]  T: VariantDiscriminant, [INFO] [stdout]  { [INFO] [stdout]  } [INFO] [stdout]  [INFO] [stdout]  check::(); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/name.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] #[enumcapsulate(discriminant(name = RenamedDiscriminant))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  VariantA, [INFO] [stdout]  VariantB, [INFO] [stdout]  VariantC, [INFO] [stdout]  #[enumcapsulate(discriminant(name = RenamedVariant))] [INFO] [stdout]  VariantD, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/nested.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum VariantC { [INFO] [stdout]  Variant, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum VariantD { [INFO] [stdout]  Variant, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum VariantE { [INFO] [stdout]  Variant(T), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] #[enumcapsulate(discriminant(repr = u8))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  VariantA, [INFO] [stdout]  #[enumcapsulate(discriminant(value = 42))] [INFO] [stdout]  VariantB, [INFO] [stdout]  #[enumcapsulate(discriminant(nested))] [INFO] [stdout]  VariantC { [INFO] [stdout]  c: VariantC, [INFO] [stdout]  }, [INFO] [stdout]  #[enumcapsulate(discriminant(name = RenamedVariant, nested))] [INFO] [stdout]  VariantD(VariantD), [INFO] [stdout]  #[enumcapsulate(field = 1, discriminant(nested = VariantEDiscriminant))] [INFO] [stdout]  VariantE(bool, VariantE), [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/repr.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] #[enumcapsulate(discriminant(repr = u8))] [INFO] [stdout] pub enum Enum { [INFO] [stdout]  VariantA, [INFO] [stdout]  VariantB = 5, [INFO] [stdout]  VariantC, [INFO] [stdout]  #[enumcapsulate(discriminant(value = 42))] [INFO] [stdout]  VariantD, [INFO] [stdout] } [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/visibility.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum PubEnum {} [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub(crate) enum PubCrateEnum {} [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub(self) enum PubSelfEnum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/zero_variants.rs - ERROR [INFO] [stdout] -------------------------- [INFO] [stdout] Unexpected failure! [INFO] [stdout] [INFO] [stdout] SOURCE: [INFO] [stdout] [INFO] [stdout] use enumcapsulate::VariantDiscriminant; [INFO] [stdout]  [INFO] [stdout] #[derive(VariantDiscriminant)] [INFO] [stdout] pub enum Enum {} [INFO] [stdout]  [INFO] [stdout] fn main() {} [INFO] [stdout] [INFO] [stdout] ERROR: [INFO] [stdout] [INFO] [stdout] error: no such command: `expand` [INFO] [stdout]  [INFO] [stdout] help: view all installed commands with `cargo --list` [INFO] [stdout] help: find a package to install `expand` with `cargo search cargo-expand` [INFO] [stdout] -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'variant_discriminant::pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20: [INFO] [stdout] [INFO] [stdout] 7 of 7 tests failed: [INFO] [stdout] [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/lifetimes.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/mixed_variants.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/name.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/nested.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/repr.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/visibility.rs [INFO] [stdout] tests/derive-tests/variant_discriminant/pass/enum/zero_variants.rs [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76321547ecf2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76321547ecf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76321547ecf2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76321547ecf2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7632154bbe83 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7632154bbe83 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76321547b703 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76321547b703 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76321547eb42 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76321548065c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7632154804b2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76321544b0b4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76321544b0b4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7632154810c3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7632154810c3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x763215480daa - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76321547f1f9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x763215480a3d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x763214eab450 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x763214f186b0 - core::panicking::panic_display::h4367f6d3bd5cfcee [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x763214f3da8b - tryexpand::test_suite::TestSuite::try_run::panic_cold_display::h3669b49a83ffac0f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x763214f3ccb4 - tryexpand::test_suite::TestSuite::try_run::h0e55940ace28e973 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:423:13 [INFO] [stdout] 22: 0x763214f3d231 - ::drop::h2071ea94005e72c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tryexpand-0.10.0/src/test_suite.rs:459:20 [INFO] [stdout] 23: 0x763214f093d7 - core::ptr::drop_in_place::h3e667c01f30d66d0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 24: 0x763214ef449b - core::ptr::drop_in_place::h1556263e012c27a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 25: 0x763214ee710b - derive_tests::variant_discriminant::pass::h01d828b772812ae5 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:100:96 [INFO] [stdout] 26: 0x763214ee7097 - derive_tests::variant_discriminant::pass::{{closure}}::h318ffe87cd530469 [INFO] [stdout] at /opt/rustwide/workdir/tests/derive-tests.rs:99:18 [INFO] [stdout] 27: 0x763214ef3d36 - core::ops::function::FnOnce::call_once::hb94d7dcbb07e396f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7632154507ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7632154507ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x76321544fa1e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x76321544fa1e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x76321544fa1e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x76321544fa1e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x76321544fa1e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x76321544fa1e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x76321544fa1e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7632154148a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7632154148a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x76321541809a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x76321541809a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x76321541809a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x76321541809a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x76321541809a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x76321541809a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x763215483bf7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x763215483bf7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] as_variant::fail [INFO] [stdout] as_variant::pass [INFO] [stdout] as_variant_mut::fail [INFO] [stdout] as_variant_mut::pass [INFO] [stdout] as_variant_ref::fail [INFO] [stdout] as_variant_ref::pass [INFO] [stdout] encapsulate::pass [INFO] [stdout] from::fail [INFO] [stdout] from::pass [INFO] [stdout] from_variant::fail [INFO] [stdout] from_variant::pass [INFO] [stdout] into_variant::fail [INFO] [stdout] into_variant::pass [INFO] [stdout] smoke::pass [INFO] [stdout] try_into::fail [INFO] [stdout] try_into::pass [INFO] [stdout] variant_discriminant::fail [INFO] [stdout] variant_discriminant::pass [INFO] [stdout] variant_downcast::fail [INFO] [stdout] variant_downcast::pass [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c6e6edd9498be04d7e364b048e82c43f9c493caa98329c282aceb8ee97b4d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6e6edd9498be04d7e364b048e82c43f9c493caa98329c282aceb8ee97b4d70", kill_on_drop: false }` [INFO] [stdout] 5c6e6edd9498be04d7e364b048e82c43f9c493caa98329c282aceb8ee97b4d70