[INFO] cloning repository https://github.com/atareao/podcli-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atareao/podcli-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatareao%2Fpodcli-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatareao%2Fpodcli-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 403d4292d68f5165dd0269bab43c89e11ce63a48 [INFO] testing atareao/podcli-rs against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatareao%2Fpodcli-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atareao/podcli-rs on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atareao/podcli-rs [INFO] finished tweaking git repo https://github.com/atareao/podcli-rs [INFO] tweaked toml for git repo https://github.com/atareao/podcli-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63c42cd527a1999b4d1ce81392babbf0603ad5eeb201cfc01714371962c29e44 [INFO] running `Command { std: "docker" "start" "-a" "63c42cd527a1999b4d1ce81392babbf0603ad5eeb201cfc01714371962c29e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63c42cd527a1999b4d1ce81392babbf0603ad5eeb201cfc01714371962c29e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c42cd527a1999b4d1ce81392babbf0603ad5eeb201cfc01714371962c29e44", kill_on_drop: false }` [INFO] [stdout] 63c42cd527a1999b4d1ce81392babbf0603ad5eeb201cfc01714371962c29e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d17133ba2210003887b0525f8d06a4e096cd67aeee597cbfdba709d944db862 [INFO] running `Command { std: "docker" "start" "-a" "8d17133ba2210003887b0525f8d06a4e096cd67aeee597cbfdba709d944db862", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling openssl-src v111.24.0+1.1.1s [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling spinner v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling newline-converter v0.2.2 [INFO] [stderr] Compiling minimad v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling xmlparser v0.13.5 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling termimad v0.14.3 [INFO] [stderr] Compiling inquire v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling spinners v2.0.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling html2md v0.2.14 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling podcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use inquire::{Select, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `description`, `link`, and `image` are never read [INFO] [stdout] --> src/podcast.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Podcast { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/podcast.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_title` is never used [INFO] [stdout] --> src/podcast.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_description` is never used [INFO] [stdout] --> src/podcast.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_raw_rss` is never used [INFO] [stdout] --> src/podcast.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | async fn get_raw_rss(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_id` is never used [INFO] [stdout] --> src/podcast.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_id(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_title` is never used [INFO] [stdout] --> src/podcast.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_enclosure` is never used [INFO] [stdout] --> src/podcast.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn get_enclosure(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_link` is never used [INFO] [stdout] --> src/podcast.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn get_link(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | episode.download(&filename).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/podcast.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | file.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 35s [INFO] running `Command { std: "docker" "inspect" "8d17133ba2210003887b0525f8d06a4e096cd67aeee597cbfdba709d944db862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d17133ba2210003887b0525f8d06a4e096cd67aeee597cbfdba709d944db862", kill_on_drop: false }` [INFO] [stdout] 8d17133ba2210003887b0525f8d06a4e096cd67aeee597cbfdba709d944db862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d274abaa688a263eed7cf2d81b8a4c78821f20cf94eb77d1c3c8a82006c33f18 [INFO] running `Command { std: "docker" "start" "-a" "d274abaa688a263eed7cf2d81b8a4c78821f20cf94eb77d1c3c8a82006c33f18", kill_on_drop: false }` [INFO] [stderr] Compiling podcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Text` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use inquire::{Select, Text}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `description`, `link`, and `image` are never read [INFO] [stdout] --> src/podcast.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Podcast { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | image: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/podcast.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_title` is never used [INFO] [stdout] --> src/podcast.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_description` is never used [INFO] [stdout] --> src/podcast.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_raw_rss` is never used [INFO] [stdout] --> src/podcast.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | async fn get_raw_rss(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_id` is never used [INFO] [stdout] --> src/podcast.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_id(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_title` is never used [INFO] [stdout] --> src/podcast.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn get_title(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_enclosure` is never used [INFO] [stdout] --> src/podcast.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn get_enclosure(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_link` is never used [INFO] [stdout] --> src/podcast.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn get_link(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | episode.download(&filename).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/podcast.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | file.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "d274abaa688a263eed7cf2d81b8a4c78821f20cf94eb77d1c3c8a82006c33f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d274abaa688a263eed7cf2d81b8a4c78821f20cf94eb77d1c3c8a82006c33f18", kill_on_drop: false }` [INFO] [stdout] d274abaa688a263eed7cf2d81b8a4c78821f20cf94eb77d1c3c8a82006c33f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2df2931348da76e3a05f56b757ce1b2ee77328bcbf8f55cd65b67f306ee3baea [INFO] running `Command { std: "docker" "start" "-a" "2df2931348da76e3a05f56b757ce1b2ee77328bcbf8f55cd65b67f306ee3baea", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Text` [INFO] [stderr] --> src/main.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | use inquire::{Select, Text}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `source::Source` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `url`, `title`, `description`, `link`, and `image` are never read [INFO] [stderr] --> src/podcast.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Podcast { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 25 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 26 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 28 | link: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | image: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/podcast.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | pub async fn new(url: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_title` is never used [INFO] [stderr] --> src/podcast.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_title(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_description` is never used [INFO] [stderr] --> src/podcast.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_description(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_raw_rss` is never used [INFO] [stderr] --> src/podcast.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | async fn get_raw_rss(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_id` is never used [INFO] [stderr] --> src/podcast.rs:188:12 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn get_id(&self) -> &usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_title` is never used [INFO] [stderr] --> src/podcast.rs:192:12 [INFO] [stderr] | [INFO] [stderr] 192 | pub fn get_title(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_enclosure` is never used [INFO] [stderr] --> src/podcast.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn get_enclosure(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_link` is never used [INFO] [stderr] --> src/podcast.rs:204:12 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn get_link(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | episode.download(&filename).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/podcast.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 227 | file.sync_all(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `podcli` (bin "podcli" test) generated 13 warnings (run `cargo fix --bin "podcli" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/podcli-0dd238d92ef072e7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_get_rss ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_get_rss stdout ---- [INFO] [stdout] thread 'test_get_rss' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"!"`, [INFO] [stdout] right: `""`', src/main.rs:174:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a057ddaafa - std::backtrace_rs::backtrace::libunwind::trace::he494f4174c7b193d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a057ddaafa - std::backtrace_rs::backtrace::trace_unsynchronized::h576ffc8be8cf606d [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a057ddaafa - std::sys_common::backtrace::_print_fmt::h785643da434656fb [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x55a057ddaafa - ::fmt::h9b4bec46148aa515 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55a057dfe73e - core::fmt::write::h9b2447b2a0bad8cd [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x55a057dd7f35 - std::io::Write::write_fmt::h01b310af65ec4db4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x55a057dda8c5 - std::sys_common::backtrace::_print::hb761e44df96032bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x55a057dda8c5 - std::sys_common::backtrace::print::h38eae7c422ff66f6 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x55a057ddc6bf - std::panicking::default_hook::{{closure}}::h54755764573e4b37 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x55a057ddc37f - std::panicking::default_hook::h978c28978503d61b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x55a057daf027 - as core::ops::function::Fn>::call::hc75c380c644eb7dc [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x55a057daf027 - test::test_main::{{closure}}::hf8df6ffaec03f459 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x55a057ddcdea - as core::ops::function::Fn>::call::hf7b5b3aa2a34e491 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x55a057ddcdea - std::panicking::rust_panic_with_hook::h334ed9b3cc817783 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x55a057ddcb69 - std::panicking::begin_panic_handler::{{closure}}::h2ab7fcc83540cf23 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:579:13 [INFO] [stdout] 15: 0x55a057ddafac - std::sys_common::backtrace::__rust_end_short_backtrace::h65758a09a74021a8 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x55a057ddc872 - rust_begin_unwind [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:575:5 [INFO] [stdout] 17: 0x55a057d7fa43 - core::panicking::panic_fmt::h157cca2ea8c38d2f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:64:14 [INFO] [stdout] 18: 0x55a057d7fd1f - core::panicking::assert_failed_inner::h690f1dc2710bd5e9 [INFO] [stdout] 19: 0x55a057d7c0ab - core::panicking::assert_failed::h7fcd6c89a8834f62 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:212:5 [INFO] [stdout] 20: 0x55a057d80161 - podcli::test_get_rss::h8687f0625f386d55 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:174:5 [INFO] [stdout] 21: 0x55a057d80161 - podcli::test_get_rss::{{closure}}::hee61925104d62220 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:172:19 [INFO] [stdout] 22: 0x55a057d80161 - core::ops::function::FnOnce::call_once::h12d0d9dda702b1ba [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55a057db44bf - core::ops::function::FnOnce::call_once::h01f8fec7cfa52c10 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55a057db44bf - test::__rust_begin_short_backtrace::hd9df3824e14a263a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:656:18 [INFO] [stdout] 25: 0x55a057d85ddc - test::run_test::{{closure}}::h14eccc3df692cf45 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:647:30 [INFO] [stdout] 26: 0x55a057d85ddc - core::ops::function::FnOnce::call_once{{vtable.shim}}::h22daa4200e93d413 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x55a057db344a - as core::ops::function::FnOnce>::call_once::hf53e6a300c60e24c [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 28: 0x55a057db344a - as core::ops::function::FnOnce<()>>::call_once::h6791832c0d80daf4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x55a057db344a - std::panicking::try::do_call::h8cc8eae26cdc3fd4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 30: 0x55a057db344a - std::panicking::try::hda02a22cf2e8baa4 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 31: 0x55a057db344a - std::panic::catch_unwind::h3eae6cdd2df69f71 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 32: 0x55a057db344a - test::run_test_in_process::h16fa719e43e0b71b [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:679:27 [INFO] [stdout] 33: 0x55a057db344a - test::run_test::run_test_inner::{{closure}}::h17c8526637871e5a [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:573:39 [INFO] [stdout] 34: 0x55a057d80551 - test::run_test::run_test_inner::{{closure}}::h2af69c9d277fc069 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/test/src/lib.rs:600:37 [INFO] [stdout] 35: 0x55a057d80551 - std::sys_common::backtrace::__rust_begin_short_backtrace::h399ac55f3162af04 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 36: 0x55a057d85f1b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5a9b49c4b29a004f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 37: 0x55a057d85f1b - as core::ops::function::FnOnce<()>>::call_once::h204fece3743b973e [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x55a057d85f1b - std::panicking::try::do_call::he9e3e4b585f918a2 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stdout] 39: 0x55a057d85f1b - std::panicking::try::h4de93a5845ac1690 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stdout] 40: 0x55a057d85f1b - std::panic::catch_unwind::ha9ec01218adeb4c0 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stdout] 41: 0x55a057d85f1b - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c8e32d46eb0d8ba [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x55a057d85f1b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbddd861cd79853bf [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x55a057de1473 - as core::ops::function::FnOnce>::call_once::hb2ad3b54544c79ff [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 44: 0x55a057de1473 - as core::ops::function::FnOnce>::call_once::hb64cd5ea55c83f79 [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x55a057de1473 - std::sys::unix::thread::Thread::new::thread_start::ha585169903024f8f [INFO] [stdout] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7fbb3c1c1b43 - [INFO] [stdout] 47: 0x7fbb3c252bb4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_get_rss [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin podcli` [INFO] running `Command { std: "docker" "inspect" "2df2931348da76e3a05f56b757ce1b2ee77328bcbf8f55cd65b67f306ee3baea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df2931348da76e3a05f56b757ce1b2ee77328bcbf8f55cd65b67f306ee3baea", kill_on_drop: false }` [INFO] [stdout] 2df2931348da76e3a05f56b757ce1b2ee77328bcbf8f55cd65b67f306ee3baea