[INFO] fetching crate tagged_dispatch 0.3.0... [INFO] testing tagged_dispatch-0.3.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tagged_dispatch 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tagged_dispatch 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tagged_dispatch 0.3.0 [INFO] tweaked toml for crates.io crate tagged_dispatch 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tagged_dispatch 0.3.0 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] crate crates.io crate tagged_dispatch 0.3.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 270ee24e3605235c4ccf2ffb6893b55bbf93e1efb604ca2289448a0380740c53 [INFO] running `Command { std: "docker" "start" "-a" "270ee24e3605235c4ccf2ffb6893b55bbf93e1efb604ca2289448a0380740c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "270ee24e3605235c4ccf2ffb6893b55bbf93e1efb604ca2289448a0380740c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270ee24e3605235c4ccf2ffb6893b55bbf93e1efb604ca2289448a0380740c53", kill_on_drop: false }` [INFO] [stdout] 270ee24e3605235c4ccf2ffb6893b55bbf93e1efb604ca2289448a0380740c53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f275adb6152c7838a24721381b7ec2104f8583c4d53ea2ba5e457ae6377563 [INFO] running `Command { std: "docker" "start" "-a" "f8f275adb6152c7838a24721381b7ec2104f8583c4d53ea2ba5e457ae6377563", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tagged_dispatch_macros v0.3.0 [INFO] [stderr] Compiling tagged_dispatch v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "f8f275adb6152c7838a24721381b7ec2104f8583c4d53ea2ba5e457ae6377563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f275adb6152c7838a24721381b7ec2104f8583c4d53ea2ba5e457ae6377563", kill_on_drop: false }` [INFO] [stdout] f8f275adb6152c7838a24721381b7ec2104f8583c4d53ea2ba5e457ae6377563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48effb339803bab01455b746c541182c801c184211621254855b444b370461d5 [INFO] running `Command { std: "docker" "start" "-a" "48effb339803bab01455b746c541182c801c184211621254855b444b370461d5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.224 [INFO] [stderr] Compiling serde v1.0.224 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling serde_derive v1.0.224 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tagged_dispatch v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: At least one allocator feature must be enabled [INFO] [stdout] --> tests/arena_builder.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[tagged_dispatch(Draw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: At least one allocator feature must be enabled (allocator-typed-arena or allocator-bumpalo) [INFO] [stdout] --> tests/arena_builder.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[tagged_dispatch(Draw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle`, `Rectangle`, and `Triangle` are never constructed [INFO] [stdout] --> tests/multiple_traits.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 24 | Circle, // Simplified syntax - macro expands to Circle(Circle) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Rectangle, // Simplified syntax - macro expands to Rectangle(Rectangle) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | Triangle, // Simplified syntax - macro expands to Triangle(Triangle) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle2` [INFO] [stdout] --> tests/trait_opt_out.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let circle2 = ShapeNoCompare::circle(Circle { radius: 1.0 }); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_opt_out.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | trait Draw { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 6 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> tests/trait_opt_out.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> tests/trait_opt_out.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Rectangle` are never constructed [INFO] [stdout] --> tests/trait_opt_out.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | enum ShapeNoDebug { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 35 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeNoDebugType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_opt_out.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[tagged_dispatch] [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 5 | trait Draw { [INFO] [stdout] 6 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | #[tagged_dispatch(Draw, no_debug)] [INFO] [stdout] | ---------------------------------- in this attribute macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_draw_dispatch` which comes from the expansion of the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Rectangle` are never constructed [INFO] [stdout] --> tests/trait_opt_out.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | enum ShapeNoCompare { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 69 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeNoCompareType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_opt_out.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[tagged_dispatch] [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 5 | trait Draw { [INFO] [stdout] 6 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | #[tagged_dispatch(Draw, no_cmp)] [INFO] [stdout] | -------------------------------- in this attribute macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_draw_dispatch` which comes from the expansion of the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Rectangle` are never constructed [INFO] [stdout] --> tests/trait_opt_out.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | enum ShapeNoOrd { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 90 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeNoOrdType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_opt_out.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[tagged_dispatch] [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 5 | trait Draw { [INFO] [stdout] 6 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | #[tagged_dispatch(Draw, no_ord)] [INFO] [stdout] | -------------------------------- in this attribute macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_draw_dispatch` which comes from the expansion of the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Rectangle` are never constructed [INFO] [stdout] --> tests/trait_opt_out.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum ShapeNoTraits { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 112 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeNoTraitsType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_opt_out.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[tagged_dispatch] [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 5 | trait Draw { [INFO] [stdout] 6 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | #[tagged_dispatch(Draw, no_traits)] [INFO] [stdout] | ----------------------------------- in this attribute macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_draw_dispatch` which comes from the expansion of the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dog`, `Cat`, `Bird`, and `Spider` are never constructed [INFO] [stdout] --> tests/default_implementations.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum Pet { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 31 | Dog, // Simplified syntax [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Cat, // Macro expands these to Dog(Dog), Cat(Cat), etc. [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Bird, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | Spider, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PetType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `breed` is never read [INFO] [stdout] --> tests/default_implementations.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct Dog { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 39 | breed: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dog` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `species` is never read [INFO] [stdout] --> tests/default_implementations.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Bird { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 65 | species: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bird` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple` and `Complex` are never constructed [INFO] [stdout] --> tests/default_implementations.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | enum Thing { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 168 | Simple(Simple), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | Complex(Complex), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThingType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShapeArenaType` in this scope [INFO] [stdout] --> tests/arena_builder.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Shape<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_implementations.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | trait Draw { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 5 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `radius` is never read [INFO] [stdout] --> tests/trait_implementations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> tests/trait_implementations.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 21 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Rectangle` are never constructed [INFO] [stdout] --> tests/trait_implementations.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 33 | Circle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShapeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> tests/trait_implementations.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | #[tagged_dispatch] [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 4 | trait Draw { [INFO] [stdout] 5 | fn draw(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | #[tagged_dispatch(Draw)] [INFO] [stdout] | ------------------------ in this attribute macro expansion [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_draw_dispatch` which comes from the expansion of the attribute macro `tagged_dispatch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Button`, `Input`, and `Label` are never constructed [INFO] [stdout] --> tests/mixed_scenarios.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | enum Component { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 46 | Button, // Simplified: expands to Button(Button) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | Input, // Simplified: expands to Input(Input) [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | Label, // Simplified: expands to Label(Label) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: variants `Adder` and `Multiplier` are never constructed [INFO] [stdout] --> tests/no_dispatch.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum Calculator { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | Adder(Adder), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Multiplier(Multiplier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalculatorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TypeA` and `TypeB` are never constructed [INFO] [stdout] --> tests/no_dispatch.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | enum MixedType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 127 | TypeA(TypeA), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 128 | TypeB(TypeB), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MixedTypeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tagged_dispatch` (test "arena_builder") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "48effb339803bab01455b746c541182c801c184211621254855b444b370461d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48effb339803bab01455b746c541182c801c184211621254855b444b370461d5", kill_on_drop: false }` [INFO] [stdout] 48effb339803bab01455b746c541182c801c184211621254855b444b370461d5