[INFO] cloning repository https://github.com/ja153903/reddit-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ja153903/reddit-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fja153903%2Freddit-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fja153903%2Freddit-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7884a1fdb4207c868d9f0446a1d301b4bd2172cb [INFO] testing ja153903/reddit-tui against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fja153903%2Freddit-tui" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ja153903/reddit-tui on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ja153903/reddit-tui [INFO] finished tweaking git repo https://github.com/ja153903/reddit-tui [INFO] tweaked toml for git repo https://github.com/ja153903/reddit-tui written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ja153903/reddit-tui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c09665bd30abb6e2c311b161c5ed451972bf00ad4285b9c6a77d15dc0caf9dd [INFO] running `Command { std: "docker" "start" "-a" "1c09665bd30abb6e2c311b161c5ed451972bf00ad4285b9c6a77d15dc0caf9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c09665bd30abb6e2c311b161c5ed451972bf00ad4285b9c6a77d15dc0caf9dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c09665bd30abb6e2c311b161c5ed451972bf00ad4285b9c6a77d15dc0caf9dd", kill_on_drop: false }` [INFO] [stdout] 1c09665bd30abb6e2c311b161c5ed451972bf00ad4285b9c6a77d15dc0caf9dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49f656b81767474b3f9d03546eb89535a96580c8e0fd46df94f2d0bf1aa8f469 [INFO] running `Command { std: "docker" "start" "-a" "49f656b81767474b3f9d03546eb89535a96580c8e0fd46df94f2d0bf1aa8f469", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.5 [INFO] [stderr] Compiling reddit v0.1.0 (/opt/rustwide/workdir/reddit) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reddit/src/subreddit/mod.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | Some(add_query_config_options(url, frequency, limit)) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option: IntoUrl` is not satisfied [INFO] [stdout] --> reddit/src/subreddit/mod.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | self.client.get(url_with_options).send().await? [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ the trait `IntoUrl` is not implemented for `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Client::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.11.5/src/async_impl/client.rs:1242:19 [INFO] [stdout] | [INFO] [stdout] 1242 | pub fn get(&self, url: U) -> RequestBuilder { [INFO] [stdout] | ^^^^^^^ required by this bound in `Client::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `()` [INFO] [stdout] --> reddit/src/subreddit/mod.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | self.client.get(url_with_options).send().await? [INFO] [stdout] | ^ the trait `From` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> reddit/src/subreddit/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 32 | let result = if let Some(url) = url_with_options { [INFO] [stdout] | ______________________- [INFO] [stdout] 33 | | self.client.get(url_with_options).send().await? [INFO] [stdout] | | ----------------------------------------------- expected because of this [INFO] [stdout] 34 | | } else { [INFO] [stdout] 35 | | None [INFO] [stdout] | | ^^^^ expected struct `Response`, found enum `Option` [INFO] [stdout] 36 | | }; [INFO] [stdout] | |_________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected type `Response` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> reddit/src/subreddit/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Self { client } [INFO] [stdout] | ^^^^^^ expected struct `Client`, found `&Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reddit` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "49f656b81767474b3f9d03546eb89535a96580c8e0fd46df94f2d0bf1aa8f469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f656b81767474b3f9d03546eb89535a96580c8e0fd46df94f2d0bf1aa8f469", kill_on_drop: false }` [INFO] [stdout] 49f656b81767474b3f9d03546eb89535a96580c8e0fd46df94f2d0bf1aa8f469