mononoke: fix the build

Summary:
I had a diff that removed `safe_writes` that landed at about the same time
ikostia's diff that added a new command that includes `safe_writes`, so the
`mononoke-buck` build is broken as a result. This fixes that.

I also noticed a build warning (unused future) while checking that the build
was fixed, so I also fixed that.

Reviewed By: ikostia, StanislavGlebik

Differential Revision: D17257765

fbshipit-source-id: 47ac7e46b5263878f8aa7fd3e3326e356fecbbe6
This commit is contained in:
Thomas Orozco 2019-09-09 02:46:00 -07:00 committed by Facebook Github Bot
parent 55d702aba5
commit e191abb929

View File

@ -1983,7 +1983,9 @@ mod test {
// This test partially indexes the top few of the graph.
// Then it does a query that traverses from indexed to unindexed nodes.
sli.add_node(ctx.clone(), repo.get_changeset_fetcher(), merge_node, 2);
sli.add_node(ctx.clone(), repo.get_changeset_fetcher(), merge_node, 2)
.wait()
.unwrap();
// Generation 1
// This call should index the rest of the graph,