[INFO] fetching crate mercadolibre 0.0.0... [INFO] testing mercadolibre-0.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mercadolibre 0.0.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mercadolibre 0.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03141fcbe2eb6ed02d61baf3ede3483906df57fbd6319e316bdb94b1af649ab1 [INFO] running `Command { std: "docker" "start" "-a" "03141fcbe2eb6ed02d61baf3ede3483906df57fbd6319e316bdb94b1af649ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03141fcbe2eb6ed02d61baf3ede3483906df57fbd6319e316bdb94b1af649ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03141fcbe2eb6ed02d61baf3ede3483906df57fbd6319e316bdb94b1af649ab1", kill_on_drop: false }` [INFO] [stdout] 03141fcbe2eb6ed02d61baf3ede3483906df57fbd6319e316bdb94b1af649ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7c50400422b4c04215e0816f2a0b1ed4420971235322e954fd446896e77e2a7 [INFO] running `Command { std: "docker" "start" "-a" "b7c50400422b4c04215e0816f2a0b1ed4420971235322e954fd446896e77e2a7", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-util v0.3.31 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.26s [INFO] running `Command { std: "docker" "inspect" "b7c50400422b4c04215e0816f2a0b1ed4420971235322e954fd446896e77e2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c50400422b4c04215e0816f2a0b1ed4420971235322e954fd446896e77e2a7", kill_on_drop: false }` [INFO] [stdout] b7c50400422b4c04215e0816f2a0b1ed4420971235322e954fd446896e77e2a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f388530c6ed82a44ae569822ca4c2d3cacd9c8e2784f3540b8af4ce8c3c907fd [INFO] running `Command { std: "docker" "start" "-a" "f388530c6ed82a44ae569822ca4c2d3cacd9c8e2784f3540b8af4ce8c3c907fd", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.55s [INFO] running `Command { std: "docker" "inspect" "f388530c6ed82a44ae569822ca4c2d3cacd9c8e2784f3540b8af4ce8c3c907fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f388530c6ed82a44ae569822ca4c2d3cacd9c8e2784f3540b8af4ce8c3c907fd", kill_on_drop: false }` [INFO] [stdout] f388530c6ed82a44ae569822ca4c2d3cacd9c8e2784f3540b8af4ce8c3c907fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b34ad7b775d2b8cd87ddec1cc8a2bad77448b8cec8a90a18bdb4f95d6e8833a [INFO] running `Command { std: "docker" "start" "-a" "8b34ad7b775d2b8cd87ddec1cc8a2bad77448b8cec8a90a18bdb4f95d6e8833a", 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)]` 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mercadolibre-3c9acc71bbfb81b8) [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] [stderr] Doc-tests mercadolibre [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] [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] 1 | 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] 2 | -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] 2 - -H 'accept: application/json' \ [INFO] [stdout] 2 + -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] 2 | -H 'accept: application/json' \ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 3 | | -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] 2 ~ -H 'accept: application/json" \ [INFO] [stdout] 3 ~ -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] 3 | -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] 3 | -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] 3 | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 4 | | '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] 3 | -H 'content-type: application/x-www-form-urlencoded' \ [INFO] [stdout] | ^^ [INFO] [stdout] help: consider removing the non-printing characters [INFO] [stdout] | [INFO] [stdout] 3 | -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] 5 | -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] 5 - -d 'grant_type=authorization_code' \ [INFO] [stdout] 5 + -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] 5 | -d 'grant_type=authorization_code' \ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 6 | | -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] 5 ~ -d 'grant_type=authorization_code" \ [INFO] [stdout] 6 ~ -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] 6 | -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] 6 | -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] 6 | -d 'client_id=$APP_ID' \ [INFO] [stdout] | ______________________^ [INFO] [stdout] 7 | | -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] 6 ~ -d 'client_id=$APP_ID" \ [INFO] [stdout] 7 ~ -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] 7 | -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] 7 | -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] 7 | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 8 | | -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] 7 ~ -d 'client_secret=$SECRET_KEY" \ [INFO] [stdout] 8 ~ -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] 8 | -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] 8 | -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] 8 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 9 | | -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] 8 ~ -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE" \ [INFO] [stdout] 9 ~ -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] 9 | -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] 9 | -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] 9 | -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] 5 ~ -d "grant_type=authorization_code' \ [INFO] [stdout] 6 | -d 'client_id=$APP_ID' \ [INFO] [stdout] 7 | -d 'client_secret=$SECRET_KEY' \ [INFO] [stdout] 8 | -d 'code=$SERVER_GENERATED_AUTHORIZATION_CODE' \ [INFO] [stdout] 9 ~ -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.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8b34ad7b775d2b8cd87ddec1cc8a2bad77448b8cec8a90a18bdb4f95d6e8833a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b34ad7b775d2b8cd87ddec1cc8a2bad77448b8cec8a90a18bdb4f95d6e8833a", kill_on_drop: false }` [INFO] [stdout] 8b34ad7b775d2b8cd87ddec1cc8a2bad77448b8cec8a90a18bdb4f95d6e8833a