[INFO] cloning repository https://github.com/MaxfieldWalker/blindsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaxfieldWalker/blindsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxfieldWalker%2Fblindsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxfieldWalker%2Fblindsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87a9d48254268a753735c842c5ac569d1eb2a72c [INFO] checking MaxfieldWalker/blindsearch/87a9d48254268a753735c842c5ac569d1eb2a72c 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%2FMaxfieldWalker%2Fblindsearch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaxfieldWalker/blindsearch 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/MaxfieldWalker/blindsearch [INFO] finished tweaking git repo https://github.com/MaxfieldWalker/blindsearch [INFO] tweaked toml for git repo https://github.com/MaxfieldWalker/blindsearch written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MaxfieldWalker/blindsearch 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f025257c7409be0eeda0912b3bafae2b39fb88cb7be148a424c337bdcb5f40a [INFO] running `Command { std: "docker" "start" "-a" "5f025257c7409be0eeda0912b3bafae2b39fb88cb7be148a424c337bdcb5f40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f025257c7409be0eeda0912b3bafae2b39fb88cb7be148a424c337bdcb5f40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f025257c7409be0eeda0912b3bafae2b39fb88cb7be148a424c337bdcb5f40a", kill_on_drop: false }` [INFO] [stdout] 5f025257c7409be0eeda0912b3bafae2b39fb88cb7be148a424c337bdcb5f40a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5738f294447c189b74a21e715c901ed3c0a3ce8873941daabae3d71ca9e6f46f [INFO] running `Command { std: "docker" "start" "-a" "5738f294447c189b74a21e715c901ed3c0a3ce8873941daabae3d71ca9e6f46f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking blindsearch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `blind_search_dfs` is never used [INFO] [stdout] --> src/dfs.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn blind_search_dfs(root_node: &Node, goals: &Vec) -> BlindSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dig` is never used [INFO] [stdout] --> src/dfs.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn dig(l1: &mut Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `children` is never read [INFO] [stdout] --> src/tree.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct _Node { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | value: String, [INFO] [stdout] 10 | children: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(value: String) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn add_child(&self, child_node: &Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn stringify(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn inner_stringify(&self, depth: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn find_node(&self, value: &str) -> Option<(Node, u32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn inner_find_node(&self, value: &str, current_depth: u32) -> Option<(Node, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn children(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn has_child_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn ref_clone(&self) -> Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/blindsearch.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlindSearchStatus { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(status: String, result: SearchResult) -> BlindSearchStatus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Found` and `NotFound` are never constructed [INFO] [stdout] --> src/blindsearch.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum SearchResult { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | Found, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlindSearchResult` is never constructed [INFO] [stdout] --> src/blindsearch.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BlindSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlindSearchResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capture` is never used [INFO] [stdout] --> src/core.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn capture<'a>(s: &'a String) -> regex::Captures<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/core.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_line<'a>(line: &'a String) -> (String, Vec<(bool, String)>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/core.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn build_tree(line: String, root_node: &Node, goals: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree_from_input` is never used [INFO] [stdout] --> src/core.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn build_tree_from_input(input_path: &str) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_search_bfs` is never used [INFO] [stdout] --> src/bfs.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn blind_search_bfs(root_node: &Node, goals: &Vec) -> BlindSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dig` is never used [INFO] [stdout] --> src/bfs.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn dig(l1: &mut Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_search_iddfs` is never used [INFO] [stdout] --> src/iddfs.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn blind_search_iddfs(root_node: &Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dig` is never used [INFO] [stdout] --> src/iddfs.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn dig(l1: &mut Vec, [INFO] [stdout] | ^^^ [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/core.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | let pattern = Regex::new(r"([a-zA-Z])\s+->\s+((\*?[a-zA-Z])+)").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | pattern.captures(s).unwrap() [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: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blindsearch` (bin "blindsearch") due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `stringify` and `inner_stringify` are never used [INFO] [stdout] --> src/tree.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn stringify(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn inner_stringify(&self, depth: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/blindsearch.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BlindSearchResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 24 | pub statuses: Vec, [INFO] [stdout] 25 | pub result: SearchResult, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlindSearchResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/core.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | let pattern = Regex::new(r"([a-zA-Z])\s+->\s+((\*?[a-zA-Z])+)").unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | pattern.captures(s).unwrap() [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blindsearch` (bin "blindsearch" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5738f294447c189b74a21e715c901ed3c0a3ce8873941daabae3d71ca9e6f46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5738f294447c189b74a21e715c901ed3c0a3ce8873941daabae3d71ca9e6f46f", kill_on_drop: false }` [INFO] [stdout] 5738f294447c189b74a21e715c901ed3c0a3ce8873941daabae3d71ca9e6f46f