[INFO] cloning repository https://github.com/Varedis/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Varedis/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaredis%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVaredis%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f352b892a4b2947ff5fefe558873e8e66bc74111 [INFO] checking Varedis/advent-of-code-2021/f352b892a4b2947ff5fefe558873e8e66bc74111 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%2FVaredis%2Fadvent-of-code-2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Varedis/advent-of-code-2021 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/Varedis/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/Varedis/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/Varedis/advent-of-code-2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Varedis/advent-of-code-2021 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b2d02cfe1d7576085ee04885409fc261a976ef7979b5066f78cd05ae91bc0520 [INFO] running `Command { std: "docker" "start" "-a" "b2d02cfe1d7576085ee04885409fc261a976ef7979b5066f78cd05ae91bc0520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d02cfe1d7576085ee04885409fc261a976ef7979b5066f78cd05ae91bc0520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d02cfe1d7576085ee04885409fc261a976ef7979b5066f78cd05ae91bc0520", kill_on_drop: false }` [INFO] [stdout] b2d02cfe1d7576085ee04885409fc261a976ef7979b5066f78cd05ae91bc0520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0380e3ff2fab013d240d6840b52277b7726c3efe80326e416f5503f35148ab3e [INFO] running `Command { std: "docker" "start" "-a" "0380e3ff2fab013d240d6840b52277b7726c3efe80326e416f5503f35148ab3e", kill_on_drop: false }` [INFO] [stderr] warning: advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking vec1 v1.8.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [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/helpers/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn format_file_lines_as_int(filename: impl AsRef) -> Vec { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let buf = read_file::lines_from_file(filename); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | [INFO] [stdout] 8 | / buf [INFO] [stdout] 9 | | .lines() [INFO] [stdout] 10 | | .map(|l| l.unwrap().parse::().unwrap()) [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/helpers/mod.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn format_file_lines_as_str(filename: impl AsRef) -> Vec { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let buf = read_file::lines_from_file(filename); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | / buf [INFO] [stdout] 18 | | .lines() [INFO] [stdout] 19 | | .map(|l| l.expect("cannot parse line")) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2021` (bin "advent-of-code-2021") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0380e3ff2fab013d240d6840b52277b7726c3efe80326e416f5503f35148ab3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0380e3ff2fab013d240d6840b52277b7726c3efe80326e416f5503f35148ab3e", kill_on_drop: false }` [INFO] [stdout] 0380e3ff2fab013d240d6840b52277b7726c3efe80326e416f5503f35148ab3e