[INFO] cloning repository https://github.com/alvarotolentino/dynamic_program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvarotolentino/dynamic_program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvarotolentino%2Fdynamic_program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvarotolentino%2Fdynamic_program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eac6b1e22d7c2373ed4d2f0a34d5db0f0a5bea8 [INFO] checking alvarotolentino/dynamic_program/6eac6b1e22d7c2373ed4d2f0a34d5db0f0a5bea8 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%2Falvarotolentino%2Fdynamic_program" "/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/alvarotolentino/dynamic_program 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/alvarotolentino/dynamic_program [INFO] finished tweaking git repo https://github.com/alvarotolentino/dynamic_program [INFO] tweaked toml for git repo https://github.com/alvarotolentino/dynamic_program written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alvarotolentino/dynamic_program 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 0553e31feae2286a0f12c1128fffe73342dc90593c58ebc1963bdd1da4fdf85c [INFO] running `Command { std: "docker" "start" "-a" "0553e31feae2286a0f12c1128fffe73342dc90593c58ebc1963bdd1da4fdf85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0553e31feae2286a0f12c1128fffe73342dc90593c58ebc1963bdd1da4fdf85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0553e31feae2286a0f12c1128fffe73342dc90593c58ebc1963bdd1da4fdf85c", kill_on_drop: false }` [INFO] [stdout] 0553e31feae2286a0f12c1128fffe73342dc90593c58ebc1963bdd1da4fdf85c [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] 40434ce2ec36ab9f0e2a266f0e1d88c8d35b4e695de183d6f70cabd3a956544f [INFO] running `Command { std: "docker" "start" "-a" "40434ce2ec36ab9f0e2a266f0e1d88c8d35b4e695de183d6f70cabd3a956544f", kill_on_drop: false }` [INFO] [stderr] Checking dynamic_program_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `can_sum` is never used [INFO] [stdout] --> src/cansum.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn can_sum(cache: &mut HashMap, target_sum: i32, numbers: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_sum_tab` is never used [INFO] [stdout] --> src/cansum.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn can_sum_tab(target_sum: usize, numbers: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_construct` is never used [INFO] [stdout] --> src/countconstruct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn count_construct<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_construct_tab` is never used [INFO] [stdout] --> src/countconstruct.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn count_construct_tab(target: &str, word_bank: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid_traveler` is never used [INFO] [stdout] --> src/gridtraveler.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn grid_traveler(cache: &mut HashMap, x_axis: i32, y_axis: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grid_traveler_tab` is never used [INFO] [stdout] --> src/gridtraveler.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn grid_traveler_tab(y_axis: usize, x_axis: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `how_can_sum` is never used [INFO] [stdout] --> src/howcansum.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn how_can_sum( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `how_can_sum_tab` is never used [INFO] [stdout] --> src/howcansum.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn how_can_sum_tab<'a>(target_sum: usize, numbers: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `best_sum` is never used [INFO] [stdout] --> src/bestsum.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn best_sum( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `best_sum_tab` is never used [INFO] [stdout] --> src/bestsum.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn best_sum_tab(target_sum: usize, numbers: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_construct` is never used [INFO] [stdout] --> src/allconstruct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn all_construct<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_construct_tab` is never used [INFO] [stdout] --> src/allconstruct.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn all_construct_tab<'a>(target: &'a str, word_bank: &[&'a str]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fibonacci` is never used [INFO] [stdout] --> src/fibonacci.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn fibonacci(number: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `memoize` is never used [INFO] [stdout] --> src/memoize.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn memoize(cache: &mut HashMap, func: F, arg1: A, arg2: B) -> R [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/memoize.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn memoize(cache: &mut HashMap, func: F, arg1: A, arg2: B) -> R [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | match cache.get(&arg1).cloned() { [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; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dynamic_program_rust` (lib) due to 2 previous errors; 14 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] --> src/memoize.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn memoize(cache: &mut HashMap, func: F, arg1: A, arg2: B) -> R [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | match cache.get(&arg1).cloned() { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dynamic_program_rust` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "40434ce2ec36ab9f0e2a266f0e1d88c8d35b4e695de183d6f70cabd3a956544f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40434ce2ec36ab9f0e2a266f0e1d88c8d35b4e695de183d6f70cabd3a956544f", kill_on_drop: false }` [INFO] [stdout] 40434ce2ec36ab9f0e2a266f0e1d88c8d35b4e695de183d6f70cabd3a956544f