[INFO] fetching crate oauth-lib 2.0.0... [INFO] building oauth-lib-2.0.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate oauth-lib 2.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate oauth-lib 2.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate oauth-lib 2.0.0 [INFO] tweaked toml for crates.io crate oauth-lib 2.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oauth-lib 2.0.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oauth-lib 2.0.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76839bff2041650f421bd5f8092887a10065115fd848b079b09bd080d21bb39c [INFO] running `Command { std: "docker" "start" "-a" "76839bff2041650f421bd5f8092887a10065115fd848b079b09bd080d21bb39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76839bff2041650f421bd5f8092887a10065115fd848b079b09bd080d21bb39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76839bff2041650f421bd5f8092887a10065115fd848b079b09bd080d21bb39c", kill_on_drop: false }` [INFO] [stdout] 76839bff2041650f421bd5f8092887a10065115fd848b079b09bd080d21bb39c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2006837873ad67a4d0b85c83c903f465246b35e859d9e70e4685d9ee4dd47feb [INFO] running `Command { std: "docker" "start" "-a" "2006837873ad67a4d0b85c83c903f465246b35e859d9e70e4685d9ee4dd47feb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling ureq-proto v0.2.0 [INFO] [stderr] Compiling oauth2 v5.0.0-rc.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-platform-verifier v0.3.4 [INFO] [stderr] Compiling ureq v3.0.0-rc3 [INFO] [stderr] Compiling http-lib v0.1.0 [INFO] [stderr] Compiling oauth-lib v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.83s [INFO] running `Command { std: "docker" "inspect" "2006837873ad67a4d0b85c83c903f465246b35e859d9e70e4685d9ee4dd47feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2006837873ad67a4d0b85c83c903f465246b35e859d9e70e4685d9ee4dd47feb", kill_on_drop: false }` [INFO] [stdout] 2006837873ad67a4d0b85c83c903f465246b35e859d9e70e4685d9ee4dd47feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f557ad86b091818e78186455ff7cf4ebe824ccbe1a29694bbf669c360280af [INFO] running `Command { std: "docker" "start" "-a" "31f557ad86b091818e78186455ff7cf4ebe824ccbe1a29694bbf669c360280af", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling ureq-proto v0.2.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling oauth2 v5.0.0-rc.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling test-log v0.2.16 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling rustls-platform-verifier v0.3.4 [INFO] [stderr] Compiling ureq v3.0.0-rc3 [INFO] [stderr] Compiling http-lib v0.1.0 [INFO] [stderr] Compiling oauth-lib v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/gmail.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | let client = Client::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] 22 | client_id, [INFO] [stdout] 23 | client_secret, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Option<_>`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/v2_0/client.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 23 | Some(client_secret), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/outlook.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | let client = Client::new( [INFO] [stdout] | ----------- arguments to this function are incorrect [INFO] [stdout] 22 | client_id, [INFO] [stdout] 23 | client_secret, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Option<_>`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/v2_0/client.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 23 | Some(client_secret), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oauth-lib` (example "outlook") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oauth-lib` (example "gmail") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "31f557ad86b091818e78186455ff7cf4ebe824ccbe1a29694bbf669c360280af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f557ad86b091818e78186455ff7cf4ebe824ccbe1a29694bbf669c360280af", kill_on_drop: false }` [INFO] [stdout] 31f557ad86b091818e78186455ff7cf4ebe824ccbe1a29694bbf669c360280af