[INFO] fetching crate stateful_faas_sim 0.1.0... [INFO] checking stateful_faas_sim-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate stateful_faas_sim 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate stateful_faas_sim 0.1.0 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 crates.io crate stateful_faas_sim 0.1.0 [INFO] finished tweaking crates.io crate stateful_faas_sim 0.1.0 [INFO] tweaked toml for crates.io crate stateful_faas_sim 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate stateful_faas_sim 0.1.0 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] 2f5df1e5de45cc8638e6fda05c530b1445c0b65447863ee187de0513ee104c58 [INFO] running `Command { std: "docker" "start" "-a" "2f5df1e5de45cc8638e6fda05c530b1445c0b65447863ee187de0513ee104c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5df1e5de45cc8638e6fda05c530b1445c0b65447863ee187de0513ee104c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5df1e5de45cc8638e6fda05c530b1445c0b65447863ee187de0513ee104c58", kill_on_drop: false }` [INFO] [stdout] 2f5df1e5de45cc8638e6fda05c530b1445c0b65447863ee187de0513ee104c58 [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] b842450b5272802d7fa88ef19c2f31a9e96d2d6b5fc454edcf1144f331b442b9 [INFO] running `Command { std: "docker" "start" "-a" "b842450b5272802d7fa88ef19c2f31a9e96d2d6b5fc454edcf1144f331b442b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Checking anyhow v1.0.79 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking histogram-sampler v0.5.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking incr_stats v1.0.1 [INFO] [stderr] Checking stateful_faas_sim 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/job.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 125 | let num_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_num_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let mut cpl_rv = std::collections::HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let mut lvl_rv = std::collections::HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let cpu_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_cpu_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let mem_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_mem_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | [INFO] [stdout] 149 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 150 | | num_rv, [INFO] [stdout] 151 | | cpl_rv, [INFO] [stdout] 152 | | lvl_rv, [INFO] [stdout] ... | [INFO] [stdout] 157 | | arg_mul, [INFO] [stdout] 158 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/rv_histo.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 42 | let sample_files = SAMPLE_FILES.get().unwrap().lock().unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let infile = std::fs::File::open(filename)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let reader = std::io::BufReader::new(infile); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | for (i, line) in reader.lines().enumerate() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | anyhow::ensure!(tokens.len() == 2, format!("invalid line {}", i)); [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 65 | | rng: rand::rngs::StdRng::seed_from_u64(seed), [INFO] [stdout] 66 | | values: samples.1, [INFO] [stdout] 67 | | rv: rand_distr::weighted_alias::WeightedAliasIndex::new(samples.0)?, [INFO] [stdout] 68 | | stats, [INFO] [stdout] 69 | | stats_w, [INFO] [stdout] 70 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `stateful_faas_sim` (lib) due to 3 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/job.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 125 | let num_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_num_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let mut cpl_rv = std::collections::HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | let mut lvl_rv = std::collections::HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let cpu_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_cpu_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let mem_rv = rv_histo::RvHisto::from_file(next_seed(), "data/task_mem_dist.dat")?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | [INFO] [stdout] 149 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 150 | | num_rv, [INFO] [stdout] 151 | | cpl_rv, [INFO] [stdout] 152 | | lvl_rv, [INFO] [stdout] ... | [INFO] [stdout] 157 | | arg_mul, [INFO] [stdout] 158 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/rv_histo.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 42 | let sample_files = SAMPLE_FILES.get().unwrap().lock().unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | let infile = std::fs::File::open(filename)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let reader = std::io::BufReader::new(infile); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | for (i, line) in reader.lines().enumerate() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | anyhow::ensure!(tokens.len() == 2, format!("invalid line {}", i)); [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 65 | | rng: rand::rngs::StdRng::seed_from_u64(seed), [INFO] [stdout] 66 | | values: samples.1, [INFO] [stdout] 67 | | rv: rand_distr::weighted_alias::WeightedAliasIndex::new(samples.0)?, [INFO] [stdout] 68 | | stats, [INFO] [stdout] 69 | | stats_w, [INFO] [stdout] 70 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `stateful_faas_sim` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b842450b5272802d7fa88ef19c2f31a9e96d2d6b5fc454edcf1144f331b442b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b842450b5272802d7fa88ef19c2f31a9e96d2d6b5fc454edcf1144f331b442b9", kill_on_drop: false }` [INFO] [stdout] b842450b5272802d7fa88ef19c2f31a9e96d2d6b5fc454edcf1144f331b442b9