[INFO] cloning repository https://github.com/nzengi/wasm-oauth2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nzengi/wasm-oauth2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnzengi%2Fwasm-oauth2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnzengi%2Fwasm-oauth2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24bc17d339333072d2db38bdb5d7e1c0688e42b8
[INFO] testing nzengi/wasm-oauth2 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnzengi%2Fwasm-oauth2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nzengi/wasm-oauth2
[INFO] finished tweaking git repo https://github.com/nzengi/wasm-oauth2
[INFO] tweaked toml for git repo https://github.com/nzengi/wasm-oauth2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nzengi/wasm-oauth2 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nzengi/wasm-oauth2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d21916d4381e3539c181dbddd2c5bb9a8c63269a37555fe99d7c9d5c75181c9
[INFO] running `Command { std: "docker" "start" "-a" "2d21916d4381e3539c181dbddd2c5bb9a8c63269a37555fe99d7c9d5c75181c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d21916d4381e3539c181dbddd2c5bb9a8c63269a37555fe99d7c9d5c75181c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d21916d4381e3539c181dbddd2c5bb9a8c63269a37555fe99d7c9d5c75181c9", kill_on_drop: false }`
[INFO] [stdout] 2d21916d4381e3539c181dbddd2c5bb9a8c63269a37555fe99d7c9d5c75181c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7709fcd728fecafeaac49147739a92e23efa7bb81c1555692eb207eb909eb87c
[INFO] running `Command { std: "docker" "start" "-a" "7709fcd728fecafeaac49147739a92e23efa7bb81c1555692eb207eb909eb87c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.93
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling cc v1.1.18
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling wasm-bindgen v0.2.93
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling rustls-pki-types v1.8.0
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling ipnet v2.10.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling rustls-pemfile v2.1.3
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.93
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.93
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.93
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling js-sys v0.3.70
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-util v0.1.8
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.43
[INFO] [stderr]    Compiling web-sys v0.3.70
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.7
[INFO] [stderr]    Compiling wasm-oauth2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `web_sys::console`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web_sys::console;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no `console` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `authorize` in module `oauth_client`
[INFO] [stdout]   --> src/lib.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     oauth_client::authorize()
[INFO] [stdout]    |                   ^^^^^^^^^ not found in `oauth_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `js_sys` in this scope
[INFO] [stdout]   --> src/lib.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn exchange_code(code: String) -> js_sys::Promise {
[INFO] [stdout]    |                                       ^^^^^^ use of unresolved module or unlinked crate `js_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `js_sys`, use `cargo add js_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these crates
[INFO] [stdout]    |
[INFO] [stdout]  1 + use wasm_bindgen_futures::js_sys;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use web_sys::js_sys;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exchange_code` in module `oauth_client`
[INFO] [stdout]   --> src/lib.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |     future_to_promise(oauth_client::exchange_code(code))
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ not found in `oauth_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/oauth_client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_futures::future_to_promise`
[INFO] [stdout]  --> src/oauth_client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use wasm_bindgen_futures::future_to_promise;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `json` found for struct `RequestBuilder` in the current scope
[INFO] [stdout]   --> src/http/fetch_client.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let res = client.post("https://example.com/token")
[INFO] [stdout]    |  _______________-
[INFO] [stdout] 14 | |         .json(&params)
[INFO] [stdout]    | |         -^^^^ method not found in `RequestBuilder`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]  --> src/utils.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn is_token_expired(token: &str) -> bool {
[INFO] [stdout]   |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm-oauth2` (lib) due to 5 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7709fcd728fecafeaac49147739a92e23efa7bb81c1555692eb207eb909eb87c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7709fcd728fecafeaac49147739a92e23efa7bb81c1555692eb207eb909eb87c", kill_on_drop: false }`
[INFO] [stdout] 7709fcd728fecafeaac49147739a92e23efa7bb81c1555692eb207eb909eb87c
