[INFO] cloning repository https://github.com/wznmickey/canvas_syncer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wznmickey/canvas_syncer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwznmickey%2Fcanvas_syncer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwznmickey%2Fcanvas_syncer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 796c4a2dbc0e5f098da67612af9dfd6b5fa6d5c4 [INFO] checking wznmickey/canvas_syncer against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwznmickey%2Fcanvas_syncer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wznmickey/canvas_syncer on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wznmickey/canvas_syncer [INFO] finished tweaking git repo https://github.com/wznmickey/canvas_syncer [INFO] tweaked toml for git repo https://github.com/wznmickey/canvas_syncer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wznmickey/canvas_syncer 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded file v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28496a3070dccc6a8832db6489ce418666f8459f8f6d344bd6a21ac1ef0559b9 [INFO] running `Command { std: "docker" "start" "-a" "28496a3070dccc6a8832db6489ce418666f8459f8f6d344bd6a21ac1ef0559b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28496a3070dccc6a8832db6489ce418666f8459f8f6d344bd6a21ac1ef0559b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28496a3070dccc6a8832db6489ce418666f8459f8f6d344bd6a21ac1ef0559b9", kill_on_drop: false }` [INFO] [stdout] 28496a3070dccc6a8832db6489ce418666f8459f8f6d344bd6a21ac1ef0559b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb72878c566da5fedcbd18f535b66c37aaa196fc7fdbef1afc1b2b6d5f4e85aa [INFO] running `Command { std: "docker" "start" "-a" "eb72878c566da5fedcbd18f535b66c37aaa196fc7fdbef1afc1b2b6d5f4e85aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking file v1.1.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking canvas_syncer v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/account.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (self.need_update_files.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (self.need_update_files.len() == 0) { [INFO] [stdout] 196 + if self.need_update_files.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/account.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (self.need_update_files.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (self.need_update_files.len() == 0) { [INFO] [stdout] 196 + if self.need_update_files.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::CourseFilter` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::CourseFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::CourseFilter` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::CourseFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::FileFilter` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::FileFilter` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::TermFilter` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::TermFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::TermFilter` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::TermFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::yield_now` [INFO] [stdout] --> src/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::yield_now` [INFO] [stdout] --> src/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/download.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < 0.0) { [INFO] [stdout] 66 + if temp < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/download.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < 0.0) { [INFO] [stdout] 66 + if temp < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | thread::{self, JoinHandle}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | thread::{self, JoinHandle}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/download.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | while let chunk = temp.chunk().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `length` is assigned to, but never used [INFO] [stdout] --> src/download.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut length = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_length` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/download.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | while let chunk = temp.chunk().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `length` is assigned to, but never used [INFO] [stdout] --> src/download.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut length = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_length` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/account.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let msg = rt.block_on(self.download_files_helper()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/account.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let msg = rt.block_on(self.download_files_helper()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `course_code` and `term_id` are never read [INFO] [stdout] --> src/course.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub course_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub term_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/course.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Folder { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Folder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `filename`, `folder`, and `content_type` are never read [INFO] [stdout] --> src/course.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct CourseFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub display_name: String, [INFO] [stdout] 62 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub url: String, [INFO] [stdout] 64 | pub folder: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accV` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut accV: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acc_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `course_code` and `term_id` are never read [INFO] [stdout] --> src/course.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub course_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub term_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/course.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Folder { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Folder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `filename`, `folder`, and `content_type` are never read [INFO] [stdout] --> src/course.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct CourseFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub display_name: String, [INFO] [stdout] 62 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub url: String, [INFO] [stdout] 64 | pub folder: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accV` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut accV: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acc_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/account.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | fs::copy(my_full_path_new, my_full_path_old); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = fs::copy(my_full_path_new, my_full_path_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | ... buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | / fs::rename( [INFO] [stdout] 215 | | path.join(file_name.to_string() + ".temp"), [INFO] [stdout] 216 | | path.join(file_name.to_string()), [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = fs::rename( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/account.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | fs::copy(my_full_path_new, my_full_path_old); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = fs::copy(my_full_path_new, my_full_path_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | ... buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | / fs::rename( [INFO] [stdout] 215 | | path.join(file_name.to_string() + ".temp"), [INFO] [stdout] 216 | | path.join(file_name.to_string()), [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = fs::rename( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.06s [INFO] running `Command { std: "docker" "inspect" "eb72878c566da5fedcbd18f535b66c37aaa196fc7fdbef1afc1b2b6d5f4e85aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb72878c566da5fedcbd18f535b66c37aaa196fc7fdbef1afc1b2b6d5f4e85aa", kill_on_drop: false }` [INFO] [stdout] eb72878c566da5fedcbd18f535b66c37aaa196fc7fdbef1afc1b2b6d5f4e85aa [INFO] checking wznmickey/canvas_syncer against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwznmickey%2Fcanvas_syncer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wznmickey/canvas_syncer on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wznmickey/canvas_syncer [INFO] finished tweaking git repo https://github.com/wznmickey/canvas_syncer [INFO] tweaked toml for git repo https://github.com/wznmickey/canvas_syncer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wznmickey/canvas_syncer 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36a11e4b51d66e4d14c721da86fcafbc653d7379ac71377f3dd791eae096857a [INFO] running `Command { std: "docker" "start" "-a" "36a11e4b51d66e4d14c721da86fcafbc653d7379ac71377f3dd791eae096857a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36a11e4b51d66e4d14c721da86fcafbc653d7379ac71377f3dd791eae096857a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a11e4b51d66e4d14c721da86fcafbc653d7379ac71377f3dd791eae096857a", kill_on_drop: false }` [INFO] [stdout] 36a11e4b51d66e4d14c721da86fcafbc653d7379ac71377f3dd791eae096857a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f6c132c6178a059999f03ff79976a74e5158490fffba1665eeb251d8776e7af [INFO] running `Command { std: "docker" "start" "-a" "0f6c132c6178a059999f03ff79976a74e5158490fffba1665eeb251d8776e7af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking file v1.1.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking canvas_syncer v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/account.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (self.need_update_files.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (self.need_update_files.len() == 0) { [INFO] [stdout] 196 + if self.need_update_files.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::CourseFilter` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::CourseFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::FileFilter` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::TermFilter` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::TermFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::yield_now` [INFO] [stdout] --> src/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/download.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < 0.0) { [INFO] [stdout] 66 + if temp < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/account.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (self.need_update_files.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (self.need_update_files.len() == 0) { [INFO] [stdout] 196 + if self.need_update_files.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::CourseFilter` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::filter::CourseFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::FileFilter` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::filter::FileFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::filter::TermFilter` [INFO] [stdout] --> src/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::filter::TermFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::yield_now` [INFO] [stdout] --> src/download.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | thread::{self, JoinHandle}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/download.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < 0.0) { [INFO] [stdout] 66 + if temp < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | thread::{self, JoinHandle}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/download.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | while let chunk = temp.chunk().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/download.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | while let chunk = temp.chunk().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/download.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let permit = self.sem.acquire_many(50).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `length` is assigned to, but never used [INFO] [stdout] --> src/download.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut length = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_length` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `length` is assigned to, but never used [INFO] [stdout] --> src/download.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut length = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_length` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/download.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/account.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let msg = rt.block_on(self.download_files_helper()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/account.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let msg = rt.block_on(self.download_files_helper()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `course_code` and `term_id` are never read [INFO] [stdout] --> src/course.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub course_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub term_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `course_code` and `term_id` are never read [INFO] [stdout] --> src/course.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub course_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub term_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/course.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Folder { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Folder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/course.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Folder { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Folder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `filename`, `folder`, and `content_type` are never read [INFO] [stdout] --> src/course.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct CourseFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub display_name: String, [INFO] [stdout] 62 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub url: String, [INFO] [stdout] 64 | pub folder: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `filename`, `folder`, and `content_type` are never read [INFO] [stdout] --> src/course.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct CourseFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub display_name: String, [INFO] [stdout] 62 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | pub url: String, [INFO] [stdout] 64 | pub folder: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CourseFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accV` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut accV: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acc_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `accV` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut accV: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acc_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/account.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 189 | let rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | rt.block_on(self.update_files_helper()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/account.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 189 | let rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | rt.block_on(self.update_files_helper()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/account.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | fs::copy(my_full_path_new, my_full_path_old); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = fs::copy(my_full_path_new, my_full_path_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | let file = File::open(s).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | serde_json::from_reader(reader).expect("Error while reading config file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mut header = header::HeaderMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | async_client: reqwest::ClientBuilder::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | .default_headers(header) [INFO] [stdout] 32 | | .build() [INFO] [stdout] 33 | | .unwrap(), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/account.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | fs::copy(my_full_path_new, my_full_path_old); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = fs::copy(my_full_path_new, my_full_path_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 26 | let mut header = header::HeaderMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | sem: Arc::new(Semaphore::new(600)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 136 | let rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | rt.block_on(self.get_course_list_helper()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | ... buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | let file = File::open(s).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | serde_json::from_reader(reader).expect("Error while reading config file") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | / fs::rename( [INFO] [stdout] 215 | | path.join(file_name.to_string() + ".temp"), [INFO] [stdout] 216 | | path.join(file_name.to_string()), [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = fs::rename( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mut header = header::HeaderMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | async_client: reqwest::ClientBuilder::new() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | .default_headers(header) [INFO] [stdout] 32 | | .build() [INFO] [stdout] 33 | | .unwrap(), [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 26 | let mut header = header::HeaderMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | sem: Arc::new(Semaphore::new(600)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/download.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 136 | let rt = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | rt.block_on(self.get_course_list_helper()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | ... buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = buf.write(&chunk.slice(0..chunk.len())).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/download.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | / fs::rename( [INFO] [stdout] 215 | | path.join(file_name.to_string() + ".temp"), [INFO] [stdout] 216 | | path.join(file_name.to_string()), [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = fs::rename( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `canvas_syncer` (bin "canvas_syncer" test) due to 6 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `canvas_syncer` (bin "canvas_syncer") due to 6 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f6c132c6178a059999f03ff79976a74e5158490fffba1665eeb251d8776e7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6c132c6178a059999f03ff79976a74e5158490fffba1665eeb251d8776e7af", kill_on_drop: false }` [INFO] [stdout] 0f6c132c6178a059999f03ff79976a74e5158490fffba1665eeb251d8776e7af