[INFO] cloning repository https://github.com/DanielPechersky/polycube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielPechersky/polycube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielPechersky%2Fpolycube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielPechersky%2Fpolycube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b02c83e64a2a5004079b07f650935d0050ed073 [INFO] checking DanielPechersky/polycube/2b02c83e64a2a5004079b07f650935d0050ed073 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%2FDanielPechersky%2Fpolycube" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielPechersky/polycube 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/DanielPechersky/polycube [INFO] finished tweaking git repo https://github.com/DanielPechersky/polycube [INFO] tweaked toml for git repo https://github.com/DanielPechersky/polycube written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DanielPechersky/polycube 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] aa3016c9f6315ae9db9b99b29bff081bee49280aa1d7b345385cc3dff9f6910e [INFO] running `Command { std: "docker" "start" "-a" "aa3016c9f6315ae9db9b99b29bff081bee49280aa1d7b345385cc3dff9f6910e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa3016c9f6315ae9db9b99b29bff081bee49280aa1d7b345385cc3dff9f6910e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3016c9f6315ae9db9b99b29bff081bee49280aa1d7b345385cc3dff9f6910e", kill_on_drop: false }` [INFO] [stdout] aa3016c9f6315ae9db9b99b29bff081bee49280aa1d7b345385cc3dff9f6910e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ceee8643d3e87126450a1c4febf2454cd84987eb60cecddf3c6b0ef5e083d9e8 [INFO] running `Command { std: "docker" "start" "-a" "ceee8643d3e87126450a1c4febf2454cd84987eb60cecddf3c6b0ef5e083d9e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling ouroboros_macro v0.17.1 [INFO] [stderr] Checking ouroboros v0.17.1 [INFO] [stderr] Checking polycube 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/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn children(parent: BitVec, generation: usize) -> impl Iterator { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let (parent, placements) = potential_cube_placements(parent, generation); [INFO] [stdout] | ------ ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | let iter = PlacementsIterBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | iter.map(move |i| { [INFO] [stdout] | ______________^ [INFO] [stdout] 64 | | let mut new_polycube = parent.clone(); [INFO] [stdout] 65 | | new_polycube.set(i, true); [INFO] [stdout] 66 | | nudge_top_left(&mut new_polycube, generation + 2); [INFO] [stdout] 67 | | let new_polycube = crop(&new_polycube, generation + 2, generation + 1); [INFO] [stdout] 68 | | canonicalize(new_polycube, generation + 1) [INFO] [stdout] 69 | | }) [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/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn canonicalize(polycube: BitVec, side_length: usize) -> BitVec { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | / rotations(polycube, side_length) [INFO] [stdout] 96 | | .into_iter() [INFO] [stdout] 97 | | .map(|mut p| { [INFO] [stdout] 98 | | move_top_left(&mut p, side_length); [INFO] [stdout] 99 | | p [INFO] [stdout] 100 | | }) [INFO] [stdout] 101 | | .max() [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 `polycube` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ceee8643d3e87126450a1c4febf2454cd84987eb60cecddf3c6b0ef5e083d9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceee8643d3e87126450a1c4febf2454cd84987eb60cecddf3c6b0ef5e083d9e8", kill_on_drop: false }` [INFO] [stdout] ceee8643d3e87126450a1c4febf2454cd84987eb60cecddf3c6b0ef5e083d9e8