[INFO] cloning repository https://github.com/Lightdrew/ig-downloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lightdrew/ig-downloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightdrew%2Fig-downloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightdrew%2Fig-downloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ceddda69dc11fe2c2656c3fa9f035d26bf0bddb [INFO] linting Lightdrew/ig-downloader against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightdrew%2Fig-downloader" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lightdrew/ig-downloader [INFO] finished tweaking git repo https://github.com/Lightdrew/ig-downloader [INFO] tweaked toml for git repo https://github.com/Lightdrew/ig-downloader written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lightdrew/ig-downloader on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lightdrew/ig-downloader 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded tl v0.7.8 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ae1ece13e7a43377920161bd4f5383d9a5ac89e238b5f9d79e6fe23a01ab4b [INFO] running `Command { std: "docker" "start" "-a" "05ae1ece13e7a43377920161bd4f5383d9a5ac89e238b5f9d79e6fe23a01ab4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ae1ece13e7a43377920161bd4f5383d9a5ac89e238b5f9d79e6fe23a01ab4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ae1ece13e7a43377920161bd4f5383d9a5ac89e238b5f9d79e6fe23a01ab4b", kill_on_drop: false }` [INFO] [stdout] 05ae1ece13e7a43377920161bd4f5383d9a5ac89e238b5f9d79e6fe23a01ab4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a062c5c54bfae74cd7120b63637497d02e98a0d1d7c3d3a94d7022e638c3b3 [INFO] running `Command { std: "docker" "start" "-a" "d9a062c5c54bfae74cd7120b63637497d02e98a0d1d7c3d3a94d7022e638c3b3", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tl v0.7.8 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking ig-downloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | ... if !tokio::fs::read_dir("download").await.is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tokio::fs::read_dir("download").await.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `while let` loop [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | / loop { [INFO] [stdout] 32 | | let script = match scripts.next() { [INFO] [stdout] 33 | | Some(script) => script, [INFO] [stdout] 34 | | None => break, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________________^ help: try: `while let Some(script) = scripts.next() { .. }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stdout] = note: `#[warn(clippy::while_let_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | / ... match tokio::fs::create_dir("download").await { [INFO] [stdout] 105 | | ... Err(e) => { [INFO] [stdout] 106 | | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] 107 | | ... std::io::ErrorKind::Other, [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... _ => {} [INFO] [stdout] 115 | | ... }; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 104 ~ if let Err(e) = tokio::fs::create_dir("download").await { [INFO] [stdout] 105 + return Err(Box::new(std::io::Error::new( [INFO] [stdout] 106 + std::io::ErrorKind::Other, [INFO] [stdout] 107 + format!( [INFO] [stdout] 108 + "{}", [INFO] [stdout] 109 + e [INFO] [stdout] 110 + ), [INFO] [stdout] 111 + ))) [INFO] [stdout] 112 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 107 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 108 | | ... format!( [INFO] [stdout] 109 | | ... "{}", [INFO] [stdout] 110 | | ... e [INFO] [stdout] 111 | | ... ), [INFO] [stdout] 112 | | ... ))) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 106 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 107 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:133:53 [INFO] [stdout] | [INFO] [stdout] 133 | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 134 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 135 | | ... format!( [INFO] [stdout] 136 | | ... "Failed to download video: Request failed ({})", [INFO] [stdout] 137 | | ... video_response.status() [INFO] [stdout] 138 | | ... ), [INFO] [stdout] 139 | | ... ))); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 133 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 134 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 147 | | std::io::ErrorKind::Other, [INFO] [stdout] 148 | | "Failed to fetch reel: No data scripts found", [INFO] [stdout] 149 | | ))); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 146 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 147 ~ "Failed to fetch reel: No data scripts found", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 153 | | std::io::ErrorKind::Other, [INFO] [stdout] 154 | | "Failed to fetch reel: Failed to parse response", [INFO] [stdout] 155 | | ))); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 152 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 153 ~ "Failed to fetch reel: Failed to parse response", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 159 | | std::io::ErrorKind::Other, [INFO] [stdout] 160 | | format!( [INFO] [stdout] 161 | | "Failed to fetch reel: Request failed ({})", [INFO] [stdout] 162 | | response.status() [INFO] [stdout] 163 | | ), [INFO] [stdout] 164 | | ))); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 158 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 159 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | false => Err(Box::new(std::io::Error::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 170 | | std::io::ErrorKind::Other, [INFO] [stdout] 171 | | "Failed to fetch reel: No video found", [INFO] [stdout] 172 | | ))), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 169 ~ false => Err(Box::new(std::io::Error::other( [INFO] [stdout] 170 ~ "Failed to fetch reel: No video found", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | ... if !tokio::fs::read_dir("download").await.is_ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tokio::fs::read_dir("download").await.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `while let` loop [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | / loop { [INFO] [stdout] 32 | | let script = match scripts.next() { [INFO] [stdout] 33 | | Some(script) => script, [INFO] [stdout] 34 | | None => break, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________________^ help: try: `while let Some(script) = scripts.next() { .. }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stdout] = note: `#[warn(clippy::while_let_loop)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | / ... match tokio::fs::create_dir("download").await { [INFO] [stdout] 105 | | ... Err(e) => { [INFO] [stdout] 106 | | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] 107 | | ... std::io::ErrorKind::Other, [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... _ => {} [INFO] [stdout] 115 | | ... }; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stdout] = note: `#[warn(clippy::single_match)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 104 ~ if let Err(e) = tokio::fs::create_dir("download").await { [INFO] [stdout] 105 + return Err(Box::new(std::io::Error::new( [INFO] [stdout] 106 + std::io::ErrorKind::Other, [INFO] [stdout] 107 + format!( [INFO] [stdout] 108 + "{}", [INFO] [stdout] 109 + e [INFO] [stdout] 110 + ), [INFO] [stdout] 111 + ))) [INFO] [stdout] 112 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 107 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 108 | | ... format!( [INFO] [stdout] 109 | | ... "{}", [INFO] [stdout] 110 | | ... e [INFO] [stdout] 111 | | ... ), [INFO] [stdout] 112 | | ... ))) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 106 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 107 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:133:53 [INFO] [stdout] | [INFO] [stdout] 133 | ... return Err(Box::new(std::io::Error::new( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 134 | | ... std::io::ErrorKind::Other, [INFO] [stdout] 135 | | ... format!( [INFO] [stdout] 136 | | ... "Failed to download video: Request failed ({})", [INFO] [stdout] 137 | | ... video_response.status() [INFO] [stdout] 138 | | ... ), [INFO] [stdout] 139 | | ... ))); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 133 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 134 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 147 | | std::io::ErrorKind::Other, [INFO] [stdout] 148 | | "Failed to fetch reel: No data scripts found", [INFO] [stdout] 149 | | ))); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 146 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 147 ~ "Failed to fetch reel: No data scripts found", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 153 | | std::io::ErrorKind::Other, [INFO] [stdout] 154 | | "Failed to fetch reel: Failed to parse response", [INFO] [stdout] 155 | | ))); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 152 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 153 ~ "Failed to fetch reel: Failed to parse response", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | return Err(Box::new(std::io::Error::new( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 159 | | std::io::ErrorKind::Other, [INFO] [stdout] 160 | | format!( [INFO] [stdout] 161 | | "Failed to fetch reel: Request failed ({})", [INFO] [stdout] 162 | | response.status() [INFO] [stdout] 163 | | ), [INFO] [stdout] 164 | | ))); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 158 ~ return Err(Box::new(std::io::Error::other( [INFO] [stdout] 159 ~ format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/main.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | false => Err(Box::new(std::io::Error::new( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 170 | | std::io::ErrorKind::Other, [INFO] [stdout] 171 | | "Failed to fetch reel: No video found", [INFO] [stdout] 172 | | ))), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 169 ~ false => Err(Box::new(std::io::Error::other( [INFO] [stdout] 170 ~ "Failed to fetch reel: No video found", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.17s [INFO] running `Command { std: "docker" "inspect" "d9a062c5c54bfae74cd7120b63637497d02e98a0d1d7c3d3a94d7022e638c3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a062c5c54bfae74cd7120b63637497d02e98a0d1d7c3d3a94d7022e638c3b3", kill_on_drop: false }` [INFO] [stdout] d9a062c5c54bfae74cd7120b63637497d02e98a0d1d7c3d3a94d7022e638c3b3