[INFO] fetching crate rumi 0.2.1... [INFO] checking rumi-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rumi 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rumi 0.2.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rumi 0.2.1 [INFO] finished tweaking crates.io crate rumi 0.2.1 [INFO] tweaked toml for crates.io crate rumi 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rumi 0.2.1 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35d117edc8f6b0e5da13af55b002241b2a5b8ee92775322d58d712a96c25a003 [INFO] running `Command { std: "docker" "start" "-a" "35d117edc8f6b0e5da13af55b002241b2a5b8ee92775322d58d712a96c25a003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35d117edc8f6b0e5da13af55b002241b2a5b8ee92775322d58d712a96c25a003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d117edc8f6b0e5da13af55b002241b2a5b8ee92775322d58d712a96c25a003", kill_on_drop: false }` [INFO] [stdout] 35d117edc8f6b0e5da13af55b002241b2a5b8ee92775322d58d712a96c25a003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0577f1606cb8c194647c2629321275d9ab623313eb93cd8934057051e3827e06 [INFO] running `Command { std: "docker" "start" "-a" "0577f1606cb8c194647c2629321275d9ab623313eb93cd8934057051e3827e06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling clang-sys v0.28.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling lzma-sys v0.1.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling fs-utils v1.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking basebits v1.2.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Checking snafu v0.5.0 [INFO] [stderr] Checking bio-types v0.5.1 [INFO] [stderr] Compiling rust-htslib v0.26.0 [INFO] [stderr] Checking rumi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:537:81 [INFO] [stdout] | [INFO] [stdout] 537 | fn determine_umi<'a>(graph: &'a Vec, allowed_network_depth: usize) -> Vec { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:537:81 [INFO] [stdout] | [INFO] [stdout] 537 | fn determine_umi<'a>(graph: &'a Vec, allowed_network_depth: usize) -> Vec { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `umi` is never read [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Group<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 169 | nodes: Vec<&'a Node>, [INFO] [stdout] 170 | umi: &'a BaseBits, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | &graph_indicies.sort_by(|&a, &b| graph[b].freq.freq.cmp(&graph[a].freq.freq)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 543 | let _ = &graph_indicies.sort_by(|&a, &b| graph[b].freq.freq.cmp(&graph[a].freq.freq)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::btree_map::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 67 | fn check_readgroups(grouped: ReadMap, expected_group: ReadMap) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | for (e_position, e_umis) in expected_group { [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: this value of type `std::iter::Enumerate>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 87 | fn check_graph(graph: Vec, expected: Vec) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | assert_eq!(graph.len(), expected.len()); [INFO] [stdout] 89 | for (i, node) in graph.into_iter().enumerate() { [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] warning: field `umi` is never read [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Group<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 169 | nodes: Vec<&'a Node>, [INFO] [stdout] 170 | umi: &'a BaseBits, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | &graph_indicies.sort_by(|&a, &b| graph[b].freq.freq.cmp(&graph[a].freq.freq)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 543 | let _ = &graph_indicies.sort_by(|&a, &b| graph[b].freq.freq.cmp(&graph[a].freq.freq)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rumi` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0577f1606cb8c194647c2629321275d9ab623313eb93cd8934057051e3827e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0577f1606cb8c194647c2629321275d9ab623313eb93cd8934057051e3827e06", kill_on_drop: false }` [INFO] [stdout] 0577f1606cb8c194647c2629321275d9ab623313eb93cd8934057051e3827e06