[INFO] cloning repository https://github.com/Hyde46/reddit-view-portal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hyde46/reddit-view-portal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyde46%2Freddit-view-portal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyde46%2Freddit-view-portal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96abd14b7a13b5f931f43f60906cab44f34165ce [INFO] checking Hyde46/reddit-view-portal against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyde46%2Freddit-view-portal" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hyde46/reddit-view-portal on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hyde46/reddit-view-portal [INFO] finished tweaking git repo https://github.com/Hyde46/reddit-view-portal [INFO] tweaked toml for git repo https://github.com/Hyde46/reddit-view-portal written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Hyde46/reddit-view-portal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.56 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded chunked_transfer v1.1.0 [INFO] [stderr] Downloaded tiny_http v0.7.0 [INFO] [stderr] Downloaded curl v0.4.29 [INFO] [stderr] Downloaded proc-macro2 v1.0.15 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Downloaded webbrowser v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eff3e23621d9a7d8cac34f46a2f2647df335b4caa028328fd7110ff30ebbb55 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7eff3e23621d9a7d8cac34f46a2f2647df335b4caa028328fd7110ff30ebbb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eff3e23621d9a7d8cac34f46a2f2647df335b4caa028328fd7110ff30ebbb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eff3e23621d9a7d8cac34f46a2f2647df335b4caa028328fd7110ff30ebbb55", kill_on_drop: false }` [INFO] [stdout] 7eff3e23621d9a7d8cac34f46a2f2647df335b4caa028328fd7110ff30ebbb55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fc8f5944abd05d7694842ac41b068ae8c86cdbce02553a85df641c9137b27d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5fc8f5944abd05d7694842ac41b068ae8c86cdbce02553a85df641c9137b27d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking chunked_transfer v1.1.0 [INFO] [stderr] Checking webbrowser v0.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.15 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tiny_http v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking serde v1.0.110 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking reddit-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable if-let pattern [INFO] [stdout] --> src/oauth.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / if let token = self.oauth_token.as_ref().unwrap() { [INFO] [stdout] 54 | | return token.access_token.clone(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable if-let pattern [INFO] [stdout] --> src/oauth.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / if let token = self.oauth_token.as_ref().unwrap() { [INFO] [stdout] 54 | | return token.access_token.clone(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `passed_seconds` [INFO] [stdout] --> src/oauth.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | for passed_seconds in 0..wait_time { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_passed_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_response` [INFO] [stdout] --> src/oauth.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let final_response = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `passed_seconds` [INFO] [stdout] --> src/oauth.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | for passed_seconds in 0..wait_time { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_passed_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_response` [INFO] [stdout] --> src/oauth.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let final_response = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/rvp_api.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let comments = self.get_thread_comments(&selected_post.permalink, 100, "", ""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:214:63 [INFO] [stdout] | [INFO] [stdout] 214 | fn previous_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | fn next_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:238:59 [INFO] [stdout] | [INFO] [stdout] 238 | fn show_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comments` [INFO] [stdout] --> src/rvp_api.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let comments = self.get_thread_comments(&selected_post.permalink, 100, "", ""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:214:63 [INFO] [stdout] | [INFO] [stdout] 214 | fn previous_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | fn next_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/rvp_api.rs:238:59 [INFO] [stdout] | [INFO] [stdout] 238 | fn show_posts(&mut self, history: &mut RedditHistory, command: &Command) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut posts: Vec = self.get_subreddit_posts( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut posts: Vec = self.get_subreddit_posts( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut posts: Vec = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut posts: Vec = self.get_subreddit_posts( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut posts: Vec = self.get_subreddit_posts( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rvp_api.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut posts: Vec = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/error.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn exit(message: &str) -> Result<(), OAuthError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_access_token` [INFO] [stdout] --> src/oauth.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_access_token(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `request_site` [INFO] [stdout] --> src/oauth.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn request_site(token: String, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_subreddit` [INFO] [stdout] --> src/rvp_api.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_top_subreddit(&mut self, amount: usize, subreddit: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_profile_info` [INFO] [stdout] --> src/rvp_api.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_profile_info(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_url` [INFO] [stdout] --> src/rvp_ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oauth_base_url` [INFO] [stdout] --> src/rvp_ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | oauth_base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exit` [INFO] [stdout] --> src/error.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn exit(message: &str) -> Result<(), OAuthError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_access_token` [INFO] [stdout] --> src/oauth.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_access_token(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `request_site` [INFO] [stdout] --> src/oauth.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn request_site(token: String, url: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_top_subreddit` [INFO] [stdout] --> src/rvp_api.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn get_top_subreddit(&mut self, amount: usize, subreddit: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_profile_info` [INFO] [stdout] --> src/rvp_api.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_profile_info(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_url` [INFO] [stdout] --> src/rvp_ui.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oauth_base_url` [INFO] [stdout] --> src/rvp_ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | oauth_base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/oauth.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | tx_authentication.send(auth_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/oauth.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | tx_authentication.send(auth_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "5fc8f5944abd05d7694842ac41b068ae8c86cdbce02553a85df641c9137b27d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc8f5944abd05d7694842ac41b068ae8c86cdbce02553a85df641c9137b27d1", kill_on_drop: false }` [INFO] [stdout] 5fc8f5944abd05d7694842ac41b068ae8c86cdbce02553a85df641c9137b27d1