[INFO] fetching crate canvas-lms-sync 0.3.0... [INFO] checking canvas-lms-sync-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate canvas-lms-sync 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate canvas-lms-sync 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate canvas-lms-sync 0.3.0 [INFO] finished tweaking crates.io crate canvas-lms-sync 0.3.0 [INFO] tweaked toml for crates.io crate canvas-lms-sync 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate canvas-lms-sync 0.3.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b605540dbe91a70a46e67feb9ea3fe11865653cad7e9aaf010eaf1b9f627b5bf [INFO] running `Command { std: "docker" "start" "-a" "b605540dbe91a70a46e67feb9ea3fe11865653cad7e9aaf010eaf1b9f627b5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b605540dbe91a70a46e67feb9ea3fe11865653cad7e9aaf010eaf1b9f627b5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b605540dbe91a70a46e67feb9ea3fe11865653cad7e9aaf010eaf1b9f627b5bf", kill_on_drop: false }` [INFO] [stdout] b605540dbe91a70a46e67feb9ea3fe11865653cad7e9aaf010eaf1b9f627b5bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c3533a82023579490a6ed5c9f7225408dd2375450f3c9610f65931a2373be5 [INFO] running `Command { std: "docker" "start" "-a" "83c3533a82023579490a6ed5c9f7225408dd2375450f3c9610f65931a2373be5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking canvas-lms-sync v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/files.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 63 | / stream! { [INFO] [stdout] 64 | | let mut next = Some(url); [INFO] [stdout] 65 | | while let Some(url) = next { [INFO] [stdout] 66 | | let (data, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/files.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 63 | / stream! { [INFO] [stdout] 64 | | let mut next = Some(url); [INFO] [stdout] 65 | | while let Some(url) = next { [INFO] [stdout] 66 | | let (data, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/files.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 77 | / stream! { [INFO] [stdout] 78 | | let mut next = Some(url); [INFO] [stdout] 79 | | while let Some(url) = next { [INFO] [stdout] 80 | | let (data, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/files.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 77 | / stream! { [INFO] [stdout] 78 | | let mut next = Some(url); [INFO] [stdout] 79 | | while let Some(url) = next { [INFO] [stdout] 80 | | let (data, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/modules.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 44 | / stream! { [INFO] [stdout] 45 | | let mut next = Some(url); [INFO] [stdout] 46 | | while let Some(url) = next { [INFO] [stdout] 47 | | let (resp, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/modules.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 44 | / stream! { [INFO] [stdout] 45 | | let mut next = Some(url); [INFO] [stdout] 46 | | while let Some(url) = next { [INFO] [stdout] 47 | | let (resp, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/modules.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 67 | / stream! { [INFO] [stdout] 68 | | let mut next = Some(url); [INFO] [stdout] 69 | | while let Some(url) = next { [INFO] [stdout] 70 | | let (resp, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Result<(Vec, std::option::Option), canvas_api::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/canvas_api/modules.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 67 | / stream! { [INFO] [stdout] 68 | | let mut next = Some(url); [INFO] [stdout] 69 | | while let Some(url) = next { [INFO] [stdout] 70 | | let (resp, pagination) = self.make_json_request::, _>(url).await?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 variable: `name` [INFO] [stdout] --> src/path.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn write_url_file(url: &str, name: &str, file_name_base: &str) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/path.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn write_url_file(url: &str, name: &str, file_name_base: &str) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `canvas-lms-sync` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `canvas-lms-sync` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "83c3533a82023579490a6ed5c9f7225408dd2375450f3c9610f65931a2373be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c3533a82023579490a6ed5c9f7225408dd2375450f3c9610f65931a2373be5", kill_on_drop: false }` [INFO] [stdout] 83c3533a82023579490a6ed5c9f7225408dd2375450f3c9610f65931a2373be5