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

00:00:49

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

00:00:25

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

00:00:22

passed build:cargo-minimum #5815707
build docker linux

00:02:51

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

00:02:30

passed build:cargo-nightly #5815712
build docker linux

00:02:27

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

00:01:02

passed build:cargo-stable #5815709
build docker linux

00:02:20

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

00:01:11

passed build:cargo-tarpaulin #5815711
build docker linux

00:02:18

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

00:00:36

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

00:00:24

passed test:cargo-nightly #5815719
build docker linux

00:00:53

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

00:00:35

passed test:cargo-stable #5815716
build docker linux

00:00:34

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

00:00:27

passed test:cargo-tarpaulin #5815718
docker linux privileged

00:01:04

92.13%
 
  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