[INFO] cloning repository https://github.com/Jacobious52/AdventOfCode2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jacobious52/AdventOfCode2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobious52%2FAdventOfCode2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobious52%2FAdventOfCode2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4ebdf7ae921d643a95288cd9049e8295005c165 [INFO] checking Jacobious52/AdventOfCode2020/f4ebdf7ae921d643a95288cd9049e8295005c165 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%2FJacobious52%2FAdventOfCode2020" "/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/Jacobious52/AdventOfCode2020 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/Jacobious52/AdventOfCode2020 [INFO] finished tweaking git repo https://github.com/Jacobious52/AdventOfCode2020 [INFO] tweaked toml for git repo https://github.com/Jacobious52/AdventOfCode2020 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jacobious52/AdventOfCode2020 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-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] 7f3f306d310b08c3ccfdd3d99fc7bfb8994f8e35e56010df06f54f0f4263a2b2 [INFO] running `Command { std: "docker" "start" "-a" "7f3f306d310b08c3ccfdd3d99fc7bfb8994f8e35e56010df06f54f0f4263a2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f3f306d310b08c3ccfdd3d99fc7bfb8994f8e35e56010df06f54f0f4263a2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3f306d310b08c3ccfdd3d99fc7bfb8994f8e35e56010df06f54f0f4263a2b2", kill_on_drop: false }` [INFO] [stdout] 7f3f306d310b08c3ccfdd3d99fc7bfb8994f8e35e56010df06f54f0f4263a2b2 [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] c0c21301d3f7988d0c68a0096ffc2586912cd3072604f1b2b65a0861d7a2e63d [INFO] running `Command { std: "docker" "start" "-a" "c0c21301d3f7988d0c68a0096ffc2586912cd3072604f1b2b65a0861d7a2e63d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking color-backtrace v0.5.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling reformation_derive v0.5.2 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling cached_proc_macro v0.6.0 [INFO] [stderr] Checking reformation v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking cached v0.22.0 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/day10.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let next: Vec<_> = nums[((start + 1)..((start + 4).min(nums.len())))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - let next: Vec<_> = nums[((start + 1)..((start + 4).min(nums.len())))] [INFO] [stdout] 56 + let next: Vec<_> = nums[(start + 1)..((start + 4).min(nums.len()))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bin/day10.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let next: Vec<_> = nums[((start + 1)..((start + 4).min(nums.len())))] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - let next: Vec<_> = nums[((start + 1)..((start + 4).min(nums.len())))] [INFO] [stdout] 56 + let next: Vec<_> = nums[(start + 1)..((start + 4).min(nums.len()))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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/day04.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|s| s.parse().expect("failed parsing passport")) [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] [stderr] error: could not compile `advent_of_code_2020` (bin "day04") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/day06.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 34 | let mut intersect: Option> = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | intersect.unwrap().len() [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] [stderr] error: could not compile `advent_of_code_2020` (bin "day06") due to 2 previous errors [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/day04.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|s| s.parse().expect("failed parsing passport")) [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/day04.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | .map(|s| s.parse().expect("failed parsing passport")) [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/bin/day04.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|s| s.parse().expect("failed parsing passport")) [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/bin/day04.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | .map(|s| s.parse().expect("failed parsing passport")) [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/bin/day04.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .map(|s| s.parse().expect("failed parsing passport")) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2020` (bin "day04" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c0c21301d3f7988d0c68a0096ffc2586912cd3072604f1b2b65a0861d7a2e63d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c21301d3f7988d0c68a0096ffc2586912cd3072604f1b2b65a0861d7a2e63d", kill_on_drop: false }` [INFO] [stdout] c0c21301d3f7988d0c68a0096ffc2586912cd3072604f1b2b65a0861d7a2e63d