Gtk-rs Error: Failed to load module "appmenu-gtk-module"

When I try to run my gtk-rs project it shows this error: Failed to load module "appmenu-gtk-module"

and also this error: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown

My toml file looks like:

name = "something"
version = "0.1.0"
authors = ["gd"]
edition = "2018"

# See more keys and their definitions at

gtk = { git = "" }
gio = { git = "" }

I have tried re-installing appmenu-gtk3-module/appmenu-gtk2-module:

sudo apt reinstall appmenu-gtk3-module appmenu-gtk2-module

I use Pop-os (Ubuntu).