As the picture shows,I am really confuesd.
For the upcoming Bitcoin Core 0.18 release, the
generate command has been deprecated and its functionality disabled. For the following major release, 0.19.0, the
generate command has been removed entirely. This removal is already in the master branch of Bitcoin Core's source code. If you have built that branch from source, then the
generate command does not exist.