api/users: Allow string UIDs for the ExternalProvider API data.

The GitLab API expects and allows arbitrary strings as UID as some
providers have non integer UIDs for mapping. Reflect the API and struct
name according to the actual API.
18 jobs for !295 with fix/api-users-external-uid-string in 6 minutes and 16 seconds (queued for 2 seconds)
detached
Status Name Job ID Coverage
  Prepare
passed prepare:cargo-cache-newest #5815816
build docker linux

00:00:46

 
  Build
failed build:cargo-clippy #5815817
build docker linux

00:00:27

failed build:cargo-clippy-no-default-features #5815818
build docker linux

00:00:36

passed build:cargo-minimum #5815819
build docker linux

00:02:56

passed build:cargo-minimum-no-default-features #5815820
build docker linux

00:00:59

passed build:cargo-nightly #5815824
build docker linux

00:03:32

passed build:cargo-nightly-no-default-features #5815825
build docker linux

00:01:49

passed build:cargo-stable #5815821
build docker linux

00:02:31

passed build:cargo-stable-no-default-features #5815822
build docker linux

00:01:47

passed build:cargo-tarpaulin #5815823
build docker linux

00:03:50

 
  Test
passed test:cargo-minimum #5815826
build docker linux

00:01:17

passed test:cargo-minimum-no-default-features #5815827
build docker linux

00:00:21

passed test:cargo-nightly #5815831
build docker linux

00:00:38

passed test:cargo-nightly-no-default-features #5815832
build docker linux

00:00:22

passed test:cargo-stable #5815828
build docker linux

00:01:06

passed test:cargo-stable-no-default-features #5815829
build docker linux

00:00:26

passed test:cargo-tarpaulin #5815830
docker linux privileged

00:01:38

92.12%
 
  External
passed ghostflow-check-master

 
Name Stage Failure
failed
build:cargo-clippy-no-default-features Build
     Running `/builds/rust/.gitlab/sccache /usr/local/rustup/toolchains/1.52.1-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name gitlab --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test -C metadata=73111ff1627bffdc -C extra-filename=-73111ff1627bffdc --out-dir /builds/rust/target/debug/deps -C incremental=/builds/rust/target/debug/incremental -L dependency=/builds/rust/target/debug/deps --extern base64=/builds/rust/target/debug/deps/libbase64-f94557e62c40f1ef.rmeta --extern bytes=/builds/rust/target/debug/deps/libbytes-7a6e657daebb7eb8.rmeta --extern chrono=/builds/rust/target/debug/deps/libchrono-d9232e52bcd96bd5.rmeta --extern derive_builder=/builds/rust/target/debug/deps/libderive_builder-9f3598e0303e5b06.so --extern http=/builds/rust/target/debug/deps/libhttp-39c7a260215b5e1e.rmeta --extern itertools=/builds/rust/target/debug/deps/libitertools-ea633bf4466d2f96.rmeta --extern log=/builds/rust/target/debug/deps/liblog-2b87c96981244f04.rmeta --extern serde=/builds/rust/target/debug/deps/libserde-6eee7a5e472d42fe.rmeta --extern serde_json=/builds/rust/target/debug/deps/libserde_json-33998b4882467d92.rmeta --extern serde_urlencoded=/builds/rust/target/debug/deps/libserde_urlencoded-021683d20658d48b.rmeta --extern tokio=/builds/rust/target/debug/deps/libtokio-af2f722de6d55558.rmeta --extern url=/builds/rust/target/debug/deps/liburl-ce59d45e363c184d.rmeta`
error: failed to execute compile
caused by: Compiler not supported: "error: Unrecognized option: \'E\'\n\n"
error: could not compile `gitlab`

Caused by:
process didn't exit successfully: `/builds/rust/.gitlab/sccache /usr/local/rustup/toolchains/1.52.1-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name gitlab --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test -C metadata=73111ff1627bffdc -C extra-filename=-73111ff1627bffdc --out-dir /builds/rust/target/debug/deps -C incremental=/builds/rust/target/debug/incremental -L dependency=/builds/rust/target/debug/deps --extern base64=/builds/rust/target/debug/deps/libbase64-f94557e62c40f1ef.rmeta --extern bytes=/builds/rust/target/debug/deps/libbytes-7a6e657daebb7eb8.rmeta --extern chrono=/builds/rust/target/debug/deps/libchrono-d9232e52bcd96bd5.rmeta --extern derive_builder=/builds/rust/target/debug/deps/libderive_builder-9f3598e0303e5b06.so --extern http=/builds/rust/target/debug/deps/libhttp-39c7a260215b5e1e.rmeta --extern itertools=/builds/rust/target/debug/deps/libitertools-ea633bf4466d2f96.rmeta --extern log=/builds/rust/target/debug/deps/liblog-2b87c96981244f04.rmeta --extern serde=/builds/rust/target/debug/deps/libserde-6eee7a5e472d42fe.rmeta --extern serde_json=/builds/rust/target/debug/deps/libserde_json-33998b4882467d92.rmeta --extern serde_urlencoded=/builds/rust/target/debug/deps/libserde_urlencoded-021683d20658d48b.rmeta --extern tokio=/builds/rust/target/debug/deps/libtokio-af2f722de6d55558.rmeta --extern url=/builds/rust/target/debug/deps/liburl-ce59d45e363c184d.rmeta` (exit code: 2)
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build:cargo-clippy Build
     Running `/builds/rust/.gitlab/sccache /usr/local/rustup/toolchains/1.52.1-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name gitlab --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="async-trait"' --cfg 'feature="client_api"' --cfg 'feature="default"' --cfg 'feature="futures-util"' --cfg 'feature="graphql_client"' --cfg 'feature="itertools"' --cfg 'feature="percent-encoding"' --cfg 'feature="reqwest"' --cfg 'feature="thiserror"' -C metadata=46d368a21c1dd1b8 -C extra-filename=-46d368a21c1dd1b8 --out-dir /builds/rust/target/debug/deps -C incremental=/builds/rust/target/debug/incremental -L dependency=/builds/rust/target/debug/deps --extern async_trait=/builds/rust/target/debug/deps/libasync_trait-e9e8f6d02814f95a.so --extern base64=/builds/rust/target/debug/deps/libbase64-f94557e62c40f1ef.rmeta --extern bytes=/builds/rust/target/debug/deps/libbytes-7a6e657daebb7eb8.rmeta --extern chrono=/builds/rust/target/debug/deps/libchrono-9cd9bb5b7d9a45d1.rmeta --extern derive_builder=/builds/rust/target/debug/deps/libderive_builder-f363327898fdbaee.so --extern futures_util=/builds/rust/target/debug/deps/libfutures_util-33313c7d09df6baa.rmeta --extern graphql_client=/builds/rust/target/debug/deps/libgraphql_client-f4763505fc1d301f.rmeta --extern http=/builds/rust/target/debug/deps/libhttp-39c7a260215b5e1e.rmeta --extern itertools=/builds/rust/target/debug/deps/libitertools-f3183ae45075e1a6.rmeta --extern log=/builds/rust/target/debug/deps/liblog-2b87c96981244f04.rmeta --extern percent_encoding=/builds/rust/target/debug/deps/libpercent_encoding-8bee3b7c3c2034a5.rmeta --extern reqwest=/builds/rust/target/debug/deps/libreqwest-c5a42d50c103cbf9.rmeta --extern serde=/builds/rust/target/debug/deps/libserde-cc44f1e51b69fa12.rmeta --extern serde_json=/builds/rust/target/debug/deps/libserde_json-fdf4d53bb3a0b2a2.rmeta --extern serde_urlencoded=/builds/rust/target/debug/deps/libserde_urlencoded-5836706737a3394a.rmeta --extern thiserror=/builds/rust/target/debug/deps/libthiserror-c26899b598bd1058.rmeta --extern tokio=/builds/rust/target/debug/deps/libtokio-9420fc06700b9c76.rmeta --extern url=/builds/rust/target/debug/deps/liburl-ce59d45e363c184d.rmeta`
error: failed to execute compile
caused by: Compiler not supported: "error: Unrecognized option: \'E\'\n\n"
error: could not compile `gitlab`

Caused by:
process didn't exit successfully: `/builds/rust/.gitlab/sccache /usr/local/rustup/toolchains/1.52.1-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name gitlab --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="async-trait"' --cfg 'feature="client_api"' --cfg 'feature="default"' --cfg 'feature="futures-util"' --cfg 'feature="graphql_client"' --cfg 'feature="itertools"' --cfg 'feature="percent-encoding"' --cfg 'feature="reqwest"' --cfg 'feature="thiserror"' -C metadata=46d368a21c1dd1b8 -C extra-filename=-46d368a21c1dd1b8 --out-dir /builds/rust/target/debug/deps -C incremental=/builds/rust/target/debug/incremental -L dependency=/builds/rust/target/debug/deps --extern async_trait=/builds/rust/target/debug/deps/libasync_trait-e9e8f6d02814f95a.so --extern base64=/builds/rust/target/debug/deps/libbase64-f94557e62c40f1ef.rmeta --extern bytes=/builds/rust/target/debug/deps/libbytes-7a6e657daebb7eb8.rmeta --extern chrono=/builds/rust/target/debug/deps/libchrono-9cd9bb5b7d9a45d1.rmeta --extern derive_builder=/builds/rust/target/debug/deps/libderive_builder-f363327898fdbaee.so --extern futures_util=/builds/rust/target/debug/deps/libfutures_util-33313c7d09df6baa.rmeta --extern graphql_client=/builds/rust/target/debug/deps/libgraphql_client-f4763505fc1d301f.rmeta --extern http=/builds/rust/target/debug/deps/libhttp-39c7a260215b5e1e.rmeta --extern itertools=/builds/rust/target/debug/deps/libitertools-f3183ae45075e1a6.rmeta --extern log=/builds/rust/target/debug/deps/liblog-2b87c96981244f04.rmeta --extern percent_encoding=/builds/rust/target/debug/deps/libpercent_encoding-8bee3b7c3c2034a5.rmeta --extern reqwest=/builds/rust/target/debug/deps/libreqwest-c5a42d50c103cbf9.rmeta --extern serde=/builds/rust/target/debug/deps/libserde-cc44f1e51b69fa12.rmeta --extern serde_json=/builds/rust/target/debug/deps/libserde_json-fdf4d53bb3a0b2a2.rmeta --extern serde_urlencoded=/builds/rust/target/debug/deps/libserde_urlencoded-5836706737a3394a.rmeta --extern thiserror=/builds/rust/target/debug/deps/libthiserror-c26899b598bd1058.rmeta --extern tokio=/builds/rust/target/debug/deps/libtokio-9420fc06700b9c76.rmeta --extern url=/builds/rust/target/debug/deps/liburl-ce59d45e363c184d.rmeta` (exit code: 2)
Cleaning up file based variables
ERROR: Job failed: exit code 1