[INFO] fetching crate mercadolibre 0.0.0... [INFO] testing mercadolibre-0.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate mercadolibre 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mercadolibre 0.0.0 [INFO] finished tweaking crates.io crate mercadolibre 0.0.0 [INFO] tweaked toml for crates.io crate mercadolibre 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mercadolibre 0.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f03b87f1d74fd341582cdf6443308f3aafeed7f08b08613f3e614a6db0e86c1 [INFO] running `Command { std: "docker" "start" "-a" "6f03b87f1d74fd341582cdf6443308f3aafeed7f08b08613f3e614a6db0e86c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f03b87f1d74fd341582cdf6443308f3aafeed7f08b08613f3e614a6db0e86c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f03b87f1d74fd341582cdf6443308f3aafeed7f08b08613f3e614a6db0e86c1", kill_on_drop: false }` [INFO] [stdout] 6f03b87f1d74fd341582cdf6443308f3aafeed7f08b08613f3e614a6db0e86c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9af6fc2ace5b7c1d593d12b90542ad2da0b5df9389b15d88593cb7678e49fd0 [INFO] running `Command { std: "docker" "start" "-a" "b9af6fc2ace5b7c1d593d12b90542ad2da0b5df9389b15d88593cb7678e49fd0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling mercadolibre v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MercadoLibre { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | client: HttpClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "b9af6fc2ace5b7c1d593d12b90542ad2da0b5df9389b15d88593cb7678e49fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9af6fc2ace5b7c1d593d12b90542ad2da0b5df9389b15d88593cb7678e49fd0", kill_on_drop: false }` [INFO] [stdout] b9af6fc2ace5b7c1d593d12b90542ad2da0b5df9389b15d88593cb7678e49fd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc0c4b542e90bf4a62ced8f40de2e8becf8d36e9eebd88224482058fcc01dfa4 [INFO] running `Command { std: "docker" "start" "-a" "bc0c4b542e90bf4a62ced8f40de2e8becf8d36e9eebd88224482058fcc01dfa4", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling mercadolibre v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MercadoLibre { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | client: HttpClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MercadoLibre { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | client: HttpClient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.40s [INFO] running `Command { std: "docker" "inspect" "bc0c4b542e90bf4a62ced8f40de2e8becf8d36e9eebd88224482058fcc01dfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0c4b542e90bf4a62ced8f40de2e8becf8d36e9eebd88224482058fcc01dfa4", kill_on_drop: false }` [INFO] [stdout] bc0c4b542e90bf4a62ced8f40de2e8becf8d36e9eebd88224482058fcc01dfa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7940e17ff709ec49efecbad54f311f18edd9a8dd6212cf78a02b04d2ad50ccfd [INFO] running `Command { std: "docker" "start" "-a" "7940e17ff709ec49efecbad54f311f18edd9a8dd6212cf78a02b04d2ad50ccfd", kill_on_drop: false }` [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MercadoLibre { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 10 | client: HttpClient, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mercadolibre` (lib) generated 1 warning [INFO] [stderr] warning: `mercadolibre` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mercadolibre-4844e8fba88f9131) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test client::tests::create_access_token_instance ... ok [INFO] [stdout] test client::tests::create_new_client_instance ... ok [INFO] [stdout] test client::tests::create_new_client_instance_from_env ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mercadolibre [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/client.rs - client::AccessToken (line 14) ... ignored [INFO] [stdout] test src/client.rs - client::Client::exchange_authorization_code (line 112) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::Client::exchange_authorization_code (line 112) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/client.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | curl -X POST \ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: prefix `json` is unknown [INFO] [stdout] --> src/client.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | -H 'accept: application/json' \ [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 114 - -H 'accept: application/json' \ [INFO] [stdout] 114 + -H "accept: application/json" \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | -H 'accept: application/json' \ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 115 | | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 114 ~ -H 'accept: application/json" \ [INFO] [stdout] 115 ~ -H "content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: prefix `urlencoded` is unknown [INFO] [stdout] --> src/client.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | ^^^^^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 115 | -H 'content-type: application/x-www-form-urlencoded ' \ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 116 | | 'https://api.mercadolibre.com/oauth/token' \ [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: there are non-printing characters, the full sequence is ` \\\n` [INFO] [stdout] --> src/client.rs:115:53 [INFO] [stdout] | [INFO] [stdout] 115 | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | ^^ [INFO] [stdout] help: consider removing the non-printing characters [INFO] [stdout] | [INFO] [stdout] 115 | -H 'content-type: application/x-www-form-urlencoded'\ [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] error: prefix `authorization_code` is unknown [INFO] [stdout] --> src/client.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | -d 'grant_type=authorization_code' \ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 117 - -d 'grant_type=authorization_code' \ [INFO] [stdout] 117 + -d "grant_type=authorization_code" \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | -d 'grant_type=authorization_code' \ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 118 | | -d 'client_id=$APP_ID' \ [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 117 ~ -d 'grant_type=authorization_code" \ [INFO] [stdout] 118 ~ -d "client_id=$APP_ID' \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: prefix `APP_ID` is unknown [INFO] [stdout] --> src/client.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | -d 'client_id=$APP_ID' \ [INFO] [stdout] | ^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 118 | -d 'client_id=$APP_ID ' \ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | -d 'client_id=$APP_ID' \ [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 118 ~ -d 'client_id=$APP_ID" \ [INFO] [stdout] 119 ~ -d "client_secret=$SECRET_KEY' \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: prefix `SECRET_KEY` is unknown [INFO] [stdout] --> src/client.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] | ^^^^^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 119 | -d 'client_secret=$SECRET_KEY ' \ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 120 | | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 119 ~ -d 'client_secret=$SECRET_KEY" \ [INFO] [stdout] 120 ~ -d "code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: prefix `SERVER_GENERATED_AUTHORIZATION_CODE` is unknown [INFO] [stdout] --> src/client.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 120 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE ' \ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/client.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 121 | | -d 'redirect_uri=$REDIRECT_URI' [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 120 ~ -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE" \ [INFO] [stdout] 121 ~ -d "redirect_uri=$REDIRECT_URI' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: prefix `REDIRECT_URI` is unknown [INFO] [stdout] --> src/client.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | -d 'redirect_uri=$REDIRECT_URI' [INFO] [stdout] | ^^^^^^^^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 121 | -d 'redirect_uri=$REDIRECT_URI ' [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/client.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | -d 'redirect_uri=$REDIRECT_URI' [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 117 ~ -d "grant_type=authorization_code' \ [INFO] [stdout] 118 | -d 'client_id=$APP_ID' \ [INFO] [stdout] 119 | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] 120 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] 121 ~ -d 'redirect_uri=$REDIRECT_URI" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Client::exchange_authorization_code (line 112) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7940e17ff709ec49efecbad54f311f18edd9a8dd6212cf78a02b04d2ad50ccfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7940e17ff709ec49efecbad54f311f18edd9a8dd6212cf78a02b04d2ad50ccfd", kill_on_drop: false }` [INFO] [stdout] 7940e17ff709ec49efecbad54f311f18edd9a8dd6212cf78a02b04d2ad50ccfd