[INFO] cloning repository https://github.com/OllieRylance/Rust-Git-Difference-Finder
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OllieRylance/Rust-Git-Difference-Finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOllieRylance%2FRust-Git-Difference-Finder", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOllieRylance%2FRust-Git-Difference-Finder'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a522054fb96160c26f5cd2c8235898892d9b52b
[INFO] checking OllieRylance/Rust-Git-Difference-Finder/8a522054fb96160c26f5cd2c8235898892d9b52b 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%2FOllieRylance%2FRust-Git-Difference-Finder" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/OllieRylance/Rust-Git-Difference-Finder 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/OllieRylance/Rust-Git-Difference-Finder
[INFO] finished tweaking git repo https://github.com/OllieRylance/Rust-Git-Difference-Finder
[INFO] tweaked toml for git repo https://github.com/OllieRylance/Rust-Git-Difference-Finder written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/OllieRylance/Rust-Git-Difference-Finder 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4ca6f030e2e98f8c77ea1679a7494c7620cb8e2fe80c7bb9c5df9a2a23d81c7d
[INFO] running `Command { std: "docker" "start" "-a" "4ca6f030e2e98f8c77ea1679a7494c7620cb8e2fe80c7bb9c5df9a2a23d81c7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ca6f030e2e98f8c77ea1679a7494c7620cb8e2fe80c7bb9c5df9a2a23d81c7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ca6f030e2e98f8c77ea1679a7494c7620cb8e2fe80c7bb9c5df9a2a23d81c7d", kill_on_drop: false }`
[INFO] [stdout] 4ca6f030e2e98f8c77ea1679a7494c7620cb8e2fe80c7bb9c5df9a2a23d81c7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c63d6dd5bad256945c5b804612828025c284563f6b61a984b40b373ce0edab41
[INFO] running `Command { std: "docker" "start" "-a" "c63d6dd5bad256945c5b804612828025c284563f6b61a984b40b373ce0edab41", kill_on_drop: false }`
[INFO] [stderr] Checking Rust-Git-Difference-Finder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `algorithmToUse` is never read
[INFO] [stdout] --> src/main.rs:34:13
[INFO] [stdout] |
[INFO] [stdout] 34 | let mut algorithmToUse = String::new();
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[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/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 7 | fn read_file_lines
(filename: P) -> io::Result>
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 11 | let file = fs::File::open(filename)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 12 | let reader = io::BufReader::new(file);
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 13 |
[INFO] [stdout] 14 | reader.lines().collect()
[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] |
[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] warning: variable `englishFile1` should have a snake case name
[INFO] [stdout] --> src/main.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | let englishFile1 = format!("{}englishFile1.txt", base_path);
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `english_file1`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `englishFile2` should have a snake case name
[INFO] [stdout] --> src/main.rs:21:9
[INFO] [stdout] |
[INFO] [stdout] 21 | let englishFile2 = format!("{}englishFile2.txt", base_path);
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `english_file2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `useEnglish` should have a snake case name
[INFO] [stdout] --> src/main.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 22 | let useEnglish = true;
[INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `use_english`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `pythonFile1` should have a snake case name
[INFO] [stdout] --> src/main.rs:23:9
[INFO] [stdout] |
[INFO] [stdout] 23 | let pythonFile1 = format!("{}pythonFile1.py", base_path);
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `python_file1`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `pythonFile2` should have a snake case name
[INFO] [stdout] --> src/main.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 24 | let pythonFile2 = format!("{}pythonFile2.py", base_path);
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `python_file2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `usePython` should have a snake case name
[INFO] [stdout] --> src/main.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 25 | let usePython = true;
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `use_python`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `algorithmToUse` should have a snake case name
[INFO] [stdout] --> src/main.rs:34:13
[INFO] [stdout] |
[INFO] [stdout] 34 | let mut algorithmToUse = String::new();
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `algorithm_to_use`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `useFile` should have a snake case name
[INFO] [stdout] --> src/main.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | for (file1, file2, useFile) in files {
[INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `use_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout] --> src/algorithms/naive.rs:69:16
[INFO] [stdout] |
[INFO] [stdout] 69 | if line_index_before_chain >= 0 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `Rust-Git-Difference-Finder` (bin "Rust-Git-Difference-Finder" test) due to 2 previous errors; 10 warnings emitted
[INFO] [stdout] warning: value assigned to `algorithmToUse` is never read
[INFO] [stdout] --> src/main.rs:34:13
[INFO] [stdout] |
[INFO] [stdout] 34 | let mut algorithmToUse = String::new();
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[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/main.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 7 | fn read_file_lines(filename: P) -> io::Result>
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 11 | let file = fs::File::open(filename)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 12 | let reader = io::BufReader::new(file);
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 13 |
[INFO] [stdout] 14 | reader.lines().collect()
[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] |
[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] warning: variable `englishFile1` should have a snake case name
[INFO] [stdout] --> src/main.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | let englishFile1 = format!("{}englishFile1.txt", base_path);
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `english_file1`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `englishFile2` should have a snake case name
[INFO] [stdout] --> src/main.rs:21:9
[INFO] [stdout] |
[INFO] [stdout] 21 | let englishFile2 = format!("{}englishFile2.txt", base_path);
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `english_file2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `useEnglish` should have a snake case name
[INFO] [stdout] --> src/main.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 22 | let useEnglish = true;
[INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `use_english`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `pythonFile1` should have a snake case name
[INFO] [stdout] --> src/main.rs:23:9
[INFO] [stdout] |
[INFO] [stdout] 23 | let pythonFile1 = format!("{}pythonFile1.py", base_path);
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `python_file1`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `pythonFile2` should have a snake case name
[INFO] [stdout] --> src/main.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 24 | let pythonFile2 = format!("{}pythonFile2.py", base_path);
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `python_file2`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `usePython` should have a snake case name
[INFO] [stdout] --> src/main.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 25 | let usePython = true;
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `use_python`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `algorithmToUse` should have a snake case name
[INFO] [stdout] --> src/main.rs:34:13
[INFO] [stdout] |
[INFO] [stdout] 34 | let mut algorithmToUse = String::new();
[INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `algorithm_to_use`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `useFile` should have a snake case name
[INFO] [stdout] --> src/main.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | for (file1, file2, useFile) in files {
[INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `use_file`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout] --> src/algorithms/naive.rs:69:16
[INFO] [stdout] |
[INFO] [stdout] 69 | if line_index_before_chain >= 0 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `Rust-Git-Difference-Finder` (bin "Rust-Git-Difference-Finder") due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c63d6dd5bad256945c5b804612828025c284563f6b61a984b40b373ce0edab41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c63d6dd5bad256945c5b804612828025c284563f6b61a984b40b373ce0edab41", kill_on_drop: false }`
[INFO] [stdout] c63d6dd5bad256945c5b804612828025c284563f6b61a984b40b373ce0edab41