[INFO] fetching crate variant_access 0.4.1... [INFO] testing variant_access-0.4.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate variant_access 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate variant_access 0.4.1 [INFO] finished tweaking crates.io crate variant_access 0.4.1 [INFO] tweaked toml for crates.io crate variant_access 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate variant_access 0.4.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6250abdae608eea3afe7d14b142a8ad626861aee37535ed643493235b6b6c0f [INFO] running `Command { std: "docker" "start" "-a" "f6250abdae608eea3afe7d14b142a8ad626861aee37535ed643493235b6b6c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6250abdae608eea3afe7d14b142a8ad626861aee37535ed643493235b6b6c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6250abdae608eea3afe7d14b142a8ad626861aee37535ed643493235b6b6c0f", kill_on_drop: false }` [INFO] [stdout] f6250abdae608eea3afe7d14b142a8ad626861aee37535ed643493235b6b6c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca92c20788e9844b45b615bf3f652939c7b8bb7a5b44c72fae4a7704b1f2dbfe [INFO] running `Command { std: "docker" "start" "-a" "ca92c20788e9844b45b615bf3f652939c7b8bb7a5b44c72fae4a7704b1f2dbfe", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling variant_access_traits v0.4.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling variant_access_derive v0.4.1 [INFO] [stderr] Compiling variant_access v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "ca92c20788e9844b45b615bf3f652939c7b8bb7a5b44c72fae4a7704b1f2dbfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca92c20788e9844b45b615bf3f652939c7b8bb7a5b44c72fae4a7704b1f2dbfe", kill_on_drop: false }` [INFO] [stdout] ca92c20788e9844b45b615bf3f652939c7b8bb7a5b44c72fae4a7704b1f2dbfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ed0c29336de5d69fcb14741311a98e864c99e676d06efc8f8651fd37b775feb [INFO] running `Command { std: "docker" "start" "-a" "4ed0c29336de5d69fcb14741311a98e864c99e676d06efc8f8651fd37b775feb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling variant_access_traits v0.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling variant_access_derive v0.4.1 [INFO] [stderr] Compiling variant_access v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Enum` is never used [INFO] [stdout] --> tests/full_example.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Enum { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_integral` is never used [INFO] [stdout] --> tests/full_example.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn is_integral() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_float` is never used [INFO] [stdout] --> tests/full_example.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_float() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 55.68s [INFO] running `Command { std: "docker" "inspect" "4ed0c29336de5d69fcb14741311a98e864c99e676d06efc8f8651fd37b775feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed0c29336de5d69fcb14741311a98e864c99e676d06efc8f8651fd37b775feb", kill_on_drop: false }` [INFO] [stdout] 4ed0c29336de5d69fcb14741311a98e864c99e676d06efc8f8651fd37b775feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11a1a23bcfa55ddb75e9dd90989b4840cc1f712be1390451ebcc47978719dbc2 [INFO] running `Command { std: "docker" "start" "-a" "11a1a23bcfa55ddb75e9dd90989b4840cc1f712be1390451ebcc47978719dbc2", kill_on_drop: false }` [INFO] [stderr] warning: enum `Enum` is never used [INFO] [stderr] --> tests/full_example.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | enum Enum { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_integral` is never used [INFO] [stderr] --> tests/full_example.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn is_integral() -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_float` is never used [INFO] [stderr] --> tests/full_example.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn is_float() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `variant_access` (test "full_example") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/variant_access-938ea0fc333f1512) [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/full_example.rs (/opt/rustwide/target/debug/deps/full_example-55eb1cb0beaa8f9a) [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/tests.rs (/opt/rustwide/target/debug/deps/tests-5c78e3d1eb626179) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_basic::test_contains_variant ... ok [INFO] [stdout] test test_basic::test_func_create_variant_from ... ok [INFO] [stdout] test test_basic::test_contains_variant_error ... ok [INFO] [stdout] test test_basic::test_get_variant_mut ... ok [INFO] [stdout] test test_basic::test_func_create_variant_from_ambiguous ... ok [INFO] [stdout] test test_basic::test_get_variant_ref ... ok [INFO] [stdout] test test_basic::test_set_variant_ambiguous ... ok [INFO] [stdout] test test_basic::test_get_variant ... ok [INFO] [stdout] test test_basic::test_trait_create_variant_from ... ok [INFO] [stdout] test test_basic::test_trait_create_variant_from_ambiguous ... ok [INFO] [stdout] test test_namespaces::test_correct_namespace_resolution ... ok [INFO] [stdout] test test_template_types::test_contains_variant ... ok [INFO] [stdout] test test_basic::test_has_variant ... ok [INFO] [stdout] test test_template_types::test_contains_variant_error ... ok [INFO] [stdout] test test_basic::test_set_variant ... ok [INFO] [stdout] test test_template_types::test_get_variant_mut ... ok [INFO] [stdout] test test_template_types::test_func_create_variant_from ... ok [INFO] [stdout] test test_template_types::test_get_variant ... ok [INFO] [stdout] test test_template_types::test_has_variant ... ok [INFO] [stdout] test test_template_types::test_set_variant ... ok [INFO] [stdout] test test_template_types::test_get_variant_ref ... ok [INFO] [stdout] test test_template_types::test_trait_create_variant_from ... ok [INFO] [stdout] test test_basic::test_get_variant_ref_error_from_wrong_variant - should panic ... ok [INFO] [stdout] test test_basic::test_get_variant_error_from_wrong_variant - should panic ... ok [INFO] [stdout] test test_basic::test_get_variant_mut_error_from_wrong_variant - should panic ... ok [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling variant_access_traits v0.4.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stdout] test test_compile_failures::test_uncompilable_examples has been running for over 60 seconds [INFO] [stdout] test test_handwritten_example::test_handwritten_example has been running for over 60 seconds [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling variant_access_derive v0.4.1 [INFO] [stderr] Compiling variant_access v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling variant_access-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/variant_access) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/full_example.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_handwritten_example::test_handwritten_example ... ok [INFO] [stderr] Checking unicode-ident v1.0.19 [INFO] [stderr] Checking variant_access_traits v0.4.1 [INFO] [stderr] Checking proc-macro2 v1.0.101 [INFO] [stderr] Checking quote v1.0.41 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking variant_access-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/variant_access) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/bad_func_create_variant_from_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: CreateVariantFrom<{float}, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_func_create_variant_from_type.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let _ = Wrapper(create_variant_from(42.0)); [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CreateVariantFrom<{float}, _>` is not implemented for `Enum` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as CreateVariantFrom> [INFO] [stderr] as CreateVariantFrom> [INFO] [stderr] note: required by a bound in `variant_access_traits::create_variant_from` [INFO] [stderr] --> variant_access_traits/src/lib.rs [INFO] [stderr] | [INFO] [stderr] | pub fn create_variant_from, Marker, U>(value: U) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `variant_access_traits::create_variant_from` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: CreateVariantFrom<{float}, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_func_create_variant_from_type.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let _ = Wrapper(create_variant_from(42.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `CreateVariantFrom<{float}, _>` is not implemented for `Enum` [INFO] [stderr] --> tests/uncompilable_examples/bad_func_create_variant_from_type.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Enum { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `CreateVariantFrom`: [INFO] [stderr] `Enum` implements `CreateVariantFrom` [INFO] [stderr] `Enum` implements `CreateVariantFrom` [INFO] [stderr] note: required by a bound in `variant_access_traits::create_variant_from` [INFO] [stderr] --> $CARGO/variant_access_traits-$VERSION/src/lib.rs [INFO] [stderr] | [INFO] [stderr] | pub fn create_variant_from, Marker, U>(value: U) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `create_variant_from` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/bad_get_variant_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::GetVariant<&i32, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_get_variant_type.rs:12:56 [INFO] [stderr] | [INFO] [stderr] 12 | let _: Result<&i32, VariantAccessError> = instance.get_variant(); [INFO] [stderr] | ^^^^^^^^^^^ the trait `variant_access_traits::GetVariant<&i32, _>` is not implemented for `Enum` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::GetVariant<&i32, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_get_variant_type.rs:12:56 [INFO] [stderr] | [INFO] [stderr] 12 | let _: Result<&i32, VariantAccessError> = instance.get_variant(); [INFO] [stderr] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `variant_access_traits::GetVariant<&i32, _>` is not implemented for `Enum` [INFO] [stderr] --> tests/uncompilable_examples/bad_get_variant_type.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | enum Enum { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `variant_access_traits::GetVariant`: [INFO] [stderr] `Enum` implements `variant_access_traits::GetVariant` [INFO] [stderr] `Enum` implements `variant_access_traits::GetVariant` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/bad_trait_create_variant_from_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::CreateVariantFrom<{float}, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_trait_create_variant_from_type.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = Enum::::create_variant_from(2.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `variant_access_traits::CreateVariantFrom<{float}, _>` is not implemented for `Enum` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as variant_access_traits::CreateVariantFrom> [INFO] [stderr] as variant_access_traits::CreateVariantFrom> [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::CreateVariantFrom<{float}, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/bad_trait_create_variant_from_type.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = Enum::::create_variant_from(2.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `variant_access_traits::CreateVariantFrom<{float}, _>` is not implemented for `Enum` [INFO] [stderr] --> tests/uncompilable_examples/bad_trait_create_variant_from_type.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Enum { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `variant_access_traits::CreateVariantFrom`: [INFO] [stderr] `Enum` implements `variant_access_traits::CreateVariantFrom` [INFO] [stderr] `Enum` implements `variant_access_traits::CreateVariantFrom` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/enum_with_named_subfields.rs ... ok [INFO] [stderr] test tests/uncompilable_examples/enum_with_tuple_field.rs ... ok [INFO] [stderr] test tests/uncompilable_examples/get_wrong_variant_generics.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::GetVariant<&bool, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/get_wrong_variant_generics.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | let _: &bool = test.get_variant().expect(""); [INFO] [stderr] | ^^^^^^^^^^^ the trait `variant_access_traits::GetVariant<&bool, _>` is not implemented for `Enum` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as variant_access_traits::GetVariant, F2>> [INFO] [stderr] as variant_access_traits::GetVariant> [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Enum: variant_access_traits::GetVariant<&bool, _>` is not satisfied [INFO] [stderr] --> tests/uncompilable_examples/get_wrong_variant_generics.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | let _: &bool = test.get_variant().expect(""); [INFO] [stderr] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `variant_access_traits::GetVariant<&bool, _>` is not implemented for `Enum` [INFO] [stderr] --> tests/uncompilable_examples/get_wrong_variant_generics.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Enum { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `variant_access_traits::GetVariant`: [INFO] [stderr] `Enum` implements `variant_access_traits::GetVariant, F2>` [INFO] [stderr] `Enum` implements `variant_access_traits::GetVariant` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/input_not_enum.rs ... ok [INFO] [stderr] test tests/uncompilable_examples/non_static_lifetime_parameter.rs ... ok [INFO] [stderr] test tests/uncompilable_examples/non_static_templates.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0310]: the parameter type `X` may not live long enough [INFO] [stderr] --> tests/uncompilable_examples/non_static_templates.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | ...so that the type `X` will meet its required lifetime bounds... [INFO] [stderr] | help: consider adding an explicit lifetime bound...: `X: 'static` [INFO] [stderr] | [INFO] [stderr] note: ...that is required by this bound [INFO] [stderr] --> $RUST/core/src/any.rs [INFO] [stderr] | [INFO] [stderr] | pub const fn of() -> TypeId { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = note: this error originates in the derive macro `VariantAccess` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/non_static_templates.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/non_static_templates.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] error[E0310]: the parameter type `X` may not live long enough [INFO] [stderr] --> tests/uncompilable_examples/non_static_templates.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the parameter type `X` must be valid for the static lifetime... [INFO] [stderr] | ...so that the type `X` will meet its required lifetime bounds [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `VariantAccess` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/twice_used_field_type.rs ... ok [INFO] [stderr] test tests/uncompilable_examples/type_does_not_implement_debug.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: `Test` doesn't implement `Debug` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_debug.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | ----- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 13 | F2(Test) [INFO] [stderr] | ^^^^^^^^^^ `Test` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `Test` [INFO] [stderr] = note: add `#[derive(Debug)]` to `Test` or manually `impl Debug for Test` [INFO] [stderr] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_debug.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: `Test` doesn't implement `Debug` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_debug.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | ----- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 13 | F2(Test) [INFO] [stderr] | ^^^^^^^^^^ the trait `Debug` is not implemented for `Test` [INFO] [stderr] | [INFO] [stderr] = note: add `#[derive(Debug)]` to `Test` or manually `impl Debug for Test` [INFO] [stderr] help: consider annotating `Test` with `#[derive(Debug)]` [INFO] [stderr] | [INFO] [stderr] 5 + #[derive(Debug)] [INFO] [stderr] 6 | pub struct Test{ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_debug.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/uncompilable_examples/type_does_not_implement_partialeq.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 13 | F2(Test) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: an implementation of `PartialEq<_>` might be missing for `Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Test{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stderr] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider annotating `Test` with `#[derive(PartialEq)]` [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(PartialEq)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `!=` cannot be applied to type `Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 13 | F2(Test) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: an implementation of `PartialEq<_>` might be missing for `Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Test{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stderr] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider annotating `Test` with `#[derive(PartialEq)]` [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(PartialEq)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `&Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(VariantAccess, PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 13 | F2(Test) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: an implementation of `PartialEq` might be missing for `Test` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Test{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stderr] help: consider annotating `Test` with `#[derive(PartialEq)]` [INFO] [stderr] | [INFO] [stderr] 5 + #[derive(PartialEq)] [INFO] [stderr] 6 | pub struct Test{ [INFO] [stderr] | [INFO] [stderr] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Enum where Test: PartialEq { [INFO] [stderr] | +++++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `variant_access_traits` [INFO] [stderr] --> tests/uncompilable_examples/type_does_not_implement_partialeq.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use variant_access_traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_compile_failures::test_uncompilable_examples ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_compile_failures::test_uncompilable_examples stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_compile_failures::test_uncompilable_examples' (34) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.111/src/run.rs:102:13: [INFO] [stdout] 7 of 12 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ba194c2f8c2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ba194c2f8c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ba194c2f8c2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ba194c2f8c2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ba194c4152f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ba194c4152f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ba194bf9491 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ba194bf9491 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ba194c06d52 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ba194c0c3cf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ba194c0c261 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ba194bc89fe - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5ba194bc89fe - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ba194c0ca8f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5ba194c0ca8f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ba194c0c8ea - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ba194c06e99 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ba194beca9d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ba194c4a980 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5ba194aa56d3 - trybuild::run::::run::heb791a5b522ab362 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.111/src/run.rs:102:13 [INFO] [stdout] 20: 0x5ba194a9f918 - ::drop::h2bcffa442beae70d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.111/src/lib.rs:342:38 [INFO] [stdout] 21: 0x5ba194966d47 - core::ptr::drop_in_place::hb266f5455cfef84b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5ba194969d1e - tests::test_compile_failures::test_uncompilable_examples::h13af146e670501ca [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:221:5 [INFO] [stdout] 23: 0x5ba194969d57 - tests::test_compile_failures::test_uncompilable_examples::{{closure}}::h04d0d079a20ba6ed [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:207:36 [INFO] [stdout] 24: 0x5ba1949667e6 - core::ops::function::FnOnce::call_once::h4d361fbe79ea4a05 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ba194bc87db - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5ba194bc87db - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5ba194bde405 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5ba194bde405 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5ba194bde405 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5ba194bde405 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5ba194bde405 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5ba194bde405 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5ba194bde405 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5ba194bb4c14 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5ba194bb4c14 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5ba194bb85ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5ba194bb85ba - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5ba194bb85ba - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5ba194bb85ba - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5ba194bb85ba - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5ba194bb85ba - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5ba194bb85ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5ba194c0184f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x5ba194c0184f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x79d397915aa4 - [INFO] [stdout] 46: 0x79d3979a2a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_compile_failures::test_uncompilable_examples [INFO] [stdout] [INFO] [stdout] test result: FAILED. 26 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 85.72s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test tests` [INFO] running `Command { std: "docker" "inspect" "11a1a23bcfa55ddb75e9dd90989b4840cc1f712be1390451ebcc47978719dbc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a1a23bcfa55ddb75e9dd90989b4840cc1f712be1390451ebcc47978719dbc2", kill_on_drop: false }` [INFO] [stdout] 11a1a23bcfa55ddb75e9dd90989b4840cc1f712be1390451ebcc47978719dbc2