[INFO] cloning repository https://github.com/Benji19967/rust_sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Benji19967/rust_sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenji19967%2Frust_sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenji19967%2Frust_sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae9b7414c44779c79b78f76ad8ab472b2f727ad [INFO] checking Benji19967/rust_sandbox/dae9b7414c44779c79b78f76ad8ab472b2f727ad 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%2FBenji19967%2Frust_sandbox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Benji19967/rust_sandbox 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/Benji19967/rust_sandbox [INFO] finished tweaking git repo https://github.com/Benji19967/rust_sandbox [INFO] tweaked toml for git repo https://github.com/Benji19967/rust_sandbox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Benji19967/rust_sandbox 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d5b8ba9d7aba148b9e8a686487e49165e9756ccb33333e3f8e142342492d3cee [INFO] running `Command { std: "docker" "start" "-a" "d5b8ba9d7aba148b9e8a686487e49165e9756ccb33333e3f8e142342492d3cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5b8ba9d7aba148b9e8a686487e49165e9756ccb33333e3f8e142342492d3cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b8ba9d7aba148b9e8a686487e49165e9756ccb33333e3f8e142342492d3cee", kill_on_drop: false }` [INFO] [stdout] d5b8ba9d7aba148b9e8a686487e49165e9756ccb33333e3f8e142342492d3cee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2a2ff1ef20d4daa6b6af8e79bb6df9ea7ad77ee3bd03a04019f4c3eb049d2fed [INFO] running `Command { std: "docker" "start" "-a" "2a2ff1ef20d4daa6b6af8e79bb6df9ea7ad77ee3bd03a04019f4c3eb049d2fed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap v4.4.3 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking rust_sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> src/my_own_iterators.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Counter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Todos` is never constructed [INFO] [stdout] --> src/my_own_iterators.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Todos { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `done` are never read [INFO] [stdout] --> src/my_own_iterators.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TodosIterator` is never constructed [INFO] [stdout] --> src/my_own_iterators.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct TodosIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/my_own_iterators.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl Todos { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | fn iter(&self) -> TodosIterator { [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/my_io.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Ok(io::BufReader::new(file).lines()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sandbox` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2a2ff1ef20d4daa6b6af8e79bb6df9ea7ad77ee3bd03a04019f4c3eb049d2fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2ff1ef20d4daa6b6af8e79bb6df9ea7ad77ee3bd03a04019f4c3eb049d2fed", kill_on_drop: false }` [INFO] [stdout] 2a2ff1ef20d4daa6b6af8e79bb6df9ea7ad77ee3bd03a04019f4c3eb049d2fed