[INFO] cloning repository https://github.com/MasonEG/rss_reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MasonEG/rss_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonEG%2Frss_reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonEG%2Frss_reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f75052d2d5afe58dfd02cc335b549a627c6f2849 [INFO] testing MasonEG/rss_reader 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%2FMasonEG%2Frss_reader" "/workspace/builds/worker-45/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-45/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MasonEG/rss_reader 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/MasonEG/rss_reader [INFO] finished tweaking git repo https://github.com/MasonEG/rss_reader [INFO] tweaked toml for git repo https://github.com/MasonEG/rss_reader written to /workspace/builds/worker-45/source/Cargo.toml [INFO] crate git repo https://github.com/MasonEG/rss_reader 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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] 8469bb75c6668cef89923654b9f4c42b46f5560e110d00faf9142155fdd19166 [INFO] running `Command { std: "docker" "start" "-a" "8469bb75c6668cef89923654b9f4c42b46f5560e110d00faf9142155fdd19166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8469bb75c6668cef89923654b9f4c42b46f5560e110d00faf9142155fdd19166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8469bb75c6668cef89923654b9f4c42b46f5560e110d00faf9142155fdd19166", kill_on_drop: false }` [INFO] [stdout] 8469bb75c6668cef89923654b9f4c42b46f5560e110d00faf9142155fdd19166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-45/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] 34c6ec9fab7b28a42801c8db4d97046b621635ddb0312a9214181fe8b37d5c67 [INFO] running `Command { std: "docker" "start" "-a" "34c6ec9fab7b28a42801c8db4d97046b621635ddb0312a9214181fe8b37d5c67", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling rss-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `color`, `event::Key`, `input::TermRead`, `raw::IntoRawMode` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | event::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | input::TermRead, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | raw::IntoRawMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rss_item` should have an upper camel case name [INFO] [stdout] --> src/lib/rss_item.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct rss_item { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RssItem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib/rss_channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rss_channel` should have an upper camel case name [INFO] [stdout] --> src/lib/rss_channel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct rss_channel { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RssChannel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `title` should have an upper camel case name [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | title, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `description` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | description, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `date` should have an upper camel case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | date, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `url` should have an upper camel case name [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | url, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `author` should have an upper camel case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | author, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Author` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `summary` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | summary, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `irrelevant` should have an upper camel case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | irrelevant, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Irrelevant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | if (name.local_name.as_str() == "item") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - if (name.local_name.as_str() == "item") { [INFO] [stdout] 97 + if name.local_name.as_str() == "item" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 44 | / fn main() -> Result<(), Box> { [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | let args: Vec = env::args().collect(); [INFO] [stdout] 47 | | println!("RSS feed from: {}", args.get(1)?); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), Box>` [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(()) [INFO] [stdout] 156 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 44 | / fn main() -> Result<(), Box> { [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | let args: Vec = env::args().collect(); [INFO] [stdout] 47 | | println!("RSS feed from: {}", args.get(1)?); [INFO] [stdout] ... | [INFO] [stdout] 50 | | let resp = reqwest::blocking::get(args.get(1)?)? // ny times rss: https://feeds.simplecast.com/54nAGcIl [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), Box>` [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(()) [INFO] [stdout] 156 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rss-reader` due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "34c6ec9fab7b28a42801c8db4d97046b621635ddb0312a9214181fe8b37d5c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c6ec9fab7b28a42801c8db4d97046b621635ddb0312a9214181fe8b37d5c67", kill_on_drop: false }` [INFO] [stdout] 34c6ec9fab7b28a42801c8db4d97046b621635ddb0312a9214181fe8b37d5c67