[INFO] cloning repository https://github.com/Willifme/Todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Willifme/Todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillifme%2FTodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillifme%2FTodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fd688328585e29475d870b7e9559146e54f37be [INFO] checking Willifme/Todo/6fd688328585e29475d870b7e9559146e54f37be against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillifme%2FTodo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Willifme/Todo on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Willifme/Todo [INFO] finished tweaking git repo https://github.com/Willifme/Todo [INFO] tweaked toml for git repo https://github.com/Willifme/Todo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Willifme/Todo 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c7de73a828b3781647a6a14b082dd8d72d1286e9d441fed158604c285348679 [INFO] running `Command { std: "docker" "start" "-a" "4c7de73a828b3781647a6a14b082dd8d72d1286e9d441fed158604c285348679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c7de73a828b3781647a6a14b082dd8d72d1286e9d441fed158604c285348679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7de73a828b3781647a6a14b082dd8d72d1286e9d441fed158604c285348679", kill_on_drop: false }` [INFO] [stdout] 4c7de73a828b3781647a6a14b082dd8d72d1286e9d441fed158604c285348679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 990d6faed187b489d62af422242ac98087f956eb6f376806bb87751e2e4a6c93 [INFO] running `Command { std: "docker" "start" "-a" "990d6faed187b489d62af422242ac98087f956eb6f376806bb87751e2e4a6c93", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling serde v1.0.69 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking xdg v2.1.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking rust-ini v0.12.1 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking serde-hjson v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.69 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking csv v1.0.0 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Checking config v0.9.0 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cli.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | (author: crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cli.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | (author: crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cli.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | (author: crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cli.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | (author: crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/todo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Todo { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 38 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/cli.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut settings = Config::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | / settings [INFO] [stdout] 106 | | .try_into::>() [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/cli.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | writer.flush(); [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] 132 | let _ = writer.flush(); [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/todo.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Serialize, Clone, Debug, Eq, PartialEq, Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will 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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (bin "todo" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/todo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Todo { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 38 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/cli.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut settings = Config::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | / settings [INFO] [stdout] 106 | | .try_into::>() [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/cli.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | writer.flush(); [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] 132 | let _ = writer.flush(); [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/todo.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Serialize, Clone, Debug, Eq, PartialEq, Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will 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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (bin "todo") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "990d6faed187b489d62af422242ac98087f956eb6f376806bb87751e2e4a6c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990d6faed187b489d62af422242ac98087f956eb6f376806bb87751e2e4a6c93", kill_on_drop: false }` [INFO] [stdout] 990d6faed187b489d62af422242ac98087f956eb6f376806bb87751e2e4a6c93