sapling/eden/mononoke/repo_client
David Tolnay ba87c55127 third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor
Summary:
The mockall crate's `automock` attribute previously created nondeterministic output, which leads to frequent random "Found possibly newer version of crate" failures in Buck builds that involve cache.

The affected trait in Conveyor is:

https://www.internalfb.com/code/fbsource/[4753807291f7275a061d67cead04ea12e7b38ae2]/fbcode/conveyor/common/just_knobs/src/lib.rs?lines=13-23

which has a method with two lifetime parameters. Mockall's generated code shuffled them in random order due to emitting the lifetimes in HashSet order. The generated code would randomly contain one of these two types:

`Box<dyn for<'b, 'a> FnMut(&str, Option<&'a str>, Option<&'b str>) -> Result<bool> + Send>`

`Box<dyn for<'a, 'b> FnMut(&str, Option<&'a str>, Option<&'b str>) -> Result<bool> + Send>`

Reviewed By: jsgf

Differential Revision: D30656936

fbshipit-source-id: c1a251774333d7a4001a7492c1995efd84ff22e5
2021-08-30 21:12:18 -07:00
..
getbundle_response third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
mononoke_repo third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
obsolete third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
remotefilelog third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
repo_read_write_status third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
reverse_filler_queue third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
schemas reversefillerqueue: change bundle from varchar to varbinary 2020-05-20 07:34:22 -07:00
scribe_commit_queue third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
src mononoke: Remove lfs rollout tier 2021-08-26 09:22:28 -07:00
streaming_clone third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
unbundle third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
wirepack third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00
Cargo.toml third-party/rust: Patch mockall_derive to fix nondeterminism failures in Conveyor 2021-08-30 21:12:18 -07:00