[INFO] cloning repository https://github.com/Mountlex/OnlineTSP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mountlex/OnlineTSP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMountlex%2FOnlineTSP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMountlex%2FOnlineTSP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be7bdd045bdb09130ca9577af0ea8619f0b648b1 [INFO] checking Mountlex/OnlineTSP/be7bdd045bdb09130ca9577af0ea8619f0b648b1 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%2FMountlex%2FOnlineTSP" "/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/Mountlex/OnlineTSP 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/Mountlex/OnlineTSP [INFO] finished tweaking git repo https://github.com/Mountlex/OnlineTSP [INFO] tweaked toml for git repo https://github.com/Mountlex/OnlineTSP written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mountlex/OnlineTSP 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] 8b64393e0ba4c24e480a8774a8b19db5bb92a83b08d975f9e8d330bb3eccb860 [INFO] running `Command { std: "docker" "start" "-a" "8b64393e0ba4c24e480a8774a8b19db5bb92a83b08d975f9e8d330bb3eccb860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b64393e0ba4c24e480a8774a8b19db5bb92a83b08d975f9e8d330bb3eccb860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b64393e0ba4c24e480a8774a8b19db5bb92a83b08d975f9e8d330bb3eccb860", kill_on_drop: false }` [INFO] [stdout] 8b64393e0ba4c24e480a8774a8b19db5bb92a83b08d975f9e8d330bb3eccb860 [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] bc449f7b668abf8e3865927ef3a2711fc4c5f10afbd32901ad7f5313e144713f [INFO] running `Command { std: "docker" "start" "-a" "bc449f7b668abf8e3865927ef3a2711fc4c5f10afbd32901ad7f5313e144713f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking coin_cbc_sys v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Checking coin_cbc v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Checking good_lp v1.3.1 [INFO] [stderr] Checking binary-heap-plus v0.4.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking fibheap v0.1.0 (https://github.com/Mountlex/fibheap.git?branch=main#1992fd81) [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking lp-modeler v0.5.0 (https://github.com/jcavat/rust-lp-modeler#f491f460) [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking graphlib v0.1.0 (/opt/rustwide/workdir/graphlib) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `AdjacencyIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `AdjacencyIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `NeighborIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `NeighborIter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `AdjacencyIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `AdjacencyIter` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> graphlib/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use metric::*; [INFO] [stdout] | ^^^^^^^^^ the name `NeighborIter` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use metric_view::*; [INFO] [stdout] | -------------- but the name `NeighborIter` in the type namespace is also re-exported here [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] --> graphlib/src/christofides.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | .filter(|&n| graph.adjacent(n).count() % 2 == 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] --> graphlib/src/christofides.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 100 | let input = fs::File::create(input_file).expect("Could not create file"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let mut writer = BufWriter::new(input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | match Command::new("./blossom/blossom5") [INFO] [stdout] | ___________^ [INFO] [stdout] 112 | | .arg("-e") [INFO] [stdout] 113 | | .arg(input_file) [INFO] [stdout] 114 | | .arg("-w") [INFO] [stdout] 115 | | .arg(output_file) [INFO] [stdout] 116 | | .output() [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] --> graphlib/src/edge.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | EdgeSet(iter.into_iter().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] [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] --> graphlib/src/node.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 131 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | NodeSet(iter.into_iter().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] [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] --> graphlib/src/sp.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graphlib` (lib) due to 6 previous errors; 2 warnings emitted [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] --> graphlib/src/christofides.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | .filter(|&n| graph.adjacent(n).count() % 2 == 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] --> graphlib/src/christofides.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 100 | let input = fs::File::create(input_file).expect("Could not create file"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let mut writer = BufWriter::new(input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | match Command::new("./blossom/blossom5") [INFO] [stdout] | ___________^ [INFO] [stdout] 112 | | .arg("-e") [INFO] [stdout] 113 | | .arg(input_file) [INFO] [stdout] 114 | | .arg("-w") [INFO] [stdout] 115 | | .arg(output_file) [INFO] [stdout] 116 | | .output() [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] --> graphlib/src/edge.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | EdgeSet(iter.into_iter().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] [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] --> graphlib/src/node.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 131 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | NodeSet(iter.into_iter().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] [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] --> graphlib/src/sp.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graphlib` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc449f7b668abf8e3865927ef3a2711fc4c5f10afbd32901ad7f5313e144713f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc449f7b668abf8e3865927ef3a2711fc4c5f10afbd32901ad7f5313e144713f", kill_on_drop: false }` [INFO] [stdout] bc449f7b668abf8e3865927ef3a2711fc4c5f10afbd32901ad7f5313e144713f