Similar to #5053, geom_violin() also warns that weight is dropped, although it appears to be used as expected.
Reprex: (note that the two geom_violin() calls produce different outlines)
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point(aes(size = cyl)) +
geom_violin(aes(weight = cyl)) +
geom_violin()