[INFO] cloning repository https://github.com/cronokirby/huffman-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cronokirby/huffman-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fhuffman-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fhuffman-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e04bcc9bd24634e15b047e8aff312748b3eeb52 [INFO] checking cronokirby/huffman-rs/0e04bcc9bd24634e15b047e8aff312748b3eeb52 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%2Fcronokirby%2Fhuffman-rs" "/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/cronokirby/huffman-rs 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/cronokirby/huffman-rs [INFO] finished tweaking git repo https://github.com/cronokirby/huffman-rs [INFO] tweaked toml for git repo https://github.com/cronokirby/huffman-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cronokirby/huffman-rs 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-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] 57b2973b8b4380b56a3741d7456a6228dede64b0b428c773a483a90228f1c3a3 [INFO] running `Command { std: "docker" "start" "-a" "57b2973b8b4380b56a3741d7456a6228dede64b0b428c773a483a90228f1c3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57b2973b8b4380b56a3741d7456a6228dede64b0b428c773a483a90228f1c3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b2973b8b4380b56a3741d7456a6228dede64b0b428c773a483a90228f1c3a3", kill_on_drop: false }` [INFO] [stdout] 57b2973b8b4380b56a3741d7456a6228dede64b0b428c773a483a90228f1c3a3 [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] ab29cfcb5dd3c7a258afc256c4817d41c55c67278997d69a59a98b34bee328d4 [INFO] running `Command { std: "docker" "start" "-a" "ab29cfcb5dd3c7a258afc256c4817d41c55c67278997d69a59a98b34bee328d4", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking criterion-plot v0.3.0 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking huffman v0.1.1 (/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/coding.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 122 | let pairs: Vec<_> = freqs.pairs.iter().map(|&(count, byte)| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let mut q = PriorityQueue::from_data(pairs); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | q.remove().unwrap().1 [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/queue.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 38 | let a = self.remove().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let b = self.remove().unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Some((a, b)) [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 `huffman` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ab29cfcb5dd3c7a258afc256c4817d41c55c67278997d69a59a98b34bee328d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab29cfcb5dd3c7a258afc256c4817d41c55c67278997d69a59a98b34bee328d4", kill_on_drop: false }` [INFO] [stdout] ab29cfcb5dd3c7a258afc256c4817d41c55c67278997d69a59a98b34bee328d4