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 7 minutes and 34 seconds (queued for 2 seconds)
detached
Status Name Job ID Coverage
  Prepare
passed prepare:cargo-cache-newest #5815662
build docker linux

00:02:04

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

00:01:32

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

00:00:27

passed build:cargo-minimum #5815665
build docker linux

00:03:05

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

00:01:33

passed build:cargo-nightly #5815670
build docker linux

00:03:10

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

00:01:28

passed build:cargo-stable #5815667
build docker linux

00:02:44

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

00:01:35

passed build:cargo-tarpaulin #5815669
build docker linux

00:03:38

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

00:00:40

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

00:00:23

passed test:cargo-nightly #5815677
build docker linux

00:01:15

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

00:00:56

passed test:cargo-stable #5815674
build docker linux

00:00:43

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

00:00:51

canceled test:cargo-tarpaulin #5815676
docker linux privileged

00:01:50

 
  External
passed ghostflow-check-master

 
Name Stage Failure
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
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