[INFO] cloning repository https://github.com/carlosmn/aoc2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlosmn/aoc2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosmn%2Faoc2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosmn%2Faoc2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d979c2476d911aad546d92c9d02d10b14a5f0788 [INFO] checking carlosmn/aoc2017/d979c2476d911aad546d92c9d02d10b14a5f0788 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%2Fcarlosmn%2Faoc2017" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carlosmn/aoc2017 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/carlosmn/aoc2017 [INFO] finished tweaking git repo https://github.com/carlosmn/aoc2017 [INFO] tweaked toml for git repo https://github.com/carlosmn/aoc2017 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/carlosmn/aoc2017 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 96c83720c366bd5924f6b047a3f8eec8bfcdf53c56c450d1839fb287b3673d54 [INFO] running `Command { std: "docker" "start" "-a" "96c83720c366bd5924f6b047a3f8eec8bfcdf53c56c450d1839fb287b3673d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c83720c366bd5924f6b047a3f8eec8bfcdf53c56c450d1839fb287b3673d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c83720c366bd5924f6b047a3f8eec8bfcdf53c56c450d1839fb287b3673d54", kill_on_drop: false }` [INFO] [stdout] 96c83720c366bd5924f6b047a3f8eec8bfcdf53c56c450d1839fb287b3673d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4c7fcc3b4b9f06e0254cce6bd721eb28a0539c14ce73c5d655ff4015a3dfd8fe [INFO] running `Command { std: "docker" "start" "-a" "4c7fcc3b4b9f06e0254cce6bd721eb28a0539c14ce73c5d655ff4015a3dfd8fe", 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.34 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking aoc2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `SAMPLE_SPREADSHEET` is never used [INFO] [stdout] --> src/bin/aoc2.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const SAMPLE_SPREADSHEET: &'static [&'static [Option]] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_SPREADSHEET1` is never used [INFO] [stdout] --> src/bin/aoc2.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SAMPLE_SPREADSHEET1: &'static [&'static [u64]] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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/bin/aoc8.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_instructions(r: BR) -> Vec { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | // I bet this is how Intel does it [INFO] [stdout] 144 | let expr = Regex::new(r"^(\w+) (\w+) (-?\d+) if (\w+) (.+) (-?\d+)$").expect("regex"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | [INFO] [stdout] 146 | / r.lines().map(|line| { [INFO] [stdout] 147 | | let line = &line.expect("line"); [INFO] [stdout] 148 | | let caps = expr.captures(line).expect("caps"); [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | }).collect() [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/bin/aoc8.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 142 | fn read_instructions(r: BR) -> Vec { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | // I bet this is how Intel does it [INFO] [stdout] 144 | let expr = Regex::new(r"^(\w+) (\w+) (-?\d+) if (\w+) (.+) (-?\d+)$").expect("regex"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | [INFO] [stdout] 146 | / r.lines().map(|line| { [INFO] [stdout] 147 | | let line = &line.expect("line"); [INFO] [stdout] 148 | | let caps = expr.captures(line).expect("caps"); [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | }).collect() [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2017` (bin "aoc8") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2017` (bin "aoc8" test) due to 2 previous errors [INFO] [stdout] warning: constant `SAMPLE_SPREADSHEET` is never used [INFO] [stdout] --> src/bin/aoc2.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const SAMPLE_SPREADSHEET: &'static [&'static [Option]] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_SPREADSHEET1` is never used [INFO] [stdout] --> src/bin/aoc2.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SAMPLE_SPREADSHEET1: &'static [&'static [u64]] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c7fcc3b4b9f06e0254cce6bd721eb28a0539c14ce73c5d655ff4015a3dfd8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7fcc3b4b9f06e0254cce6bd721eb28a0539c14ce73c5d655ff4015a3dfd8fe", kill_on_drop: false }` [INFO] [stdout] 4c7fcc3b4b9f06e0254cce6bd721eb28a0539c14ce73c5d655ff4015a3dfd8fe