[INFO] cloning repository https://github.com/Szune/syncr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Szune/syncr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fsyncr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzune%2Fsyncr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1708867969c7a3dfccbd8a5fe095061ab3683dbb [INFO] checking Szune/syncr/1708867969c7a3dfccbd8a5fe095061ab3683dbb 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%2FSzune%2Fsyncr" "/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/Szune/syncr 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/Szune/syncr [INFO] finished tweaking git repo https://github.com/Szune/syncr [INFO] tweaked toml for git repo https://github.com/Szune/syncr written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Szune/syncr 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] 2980af17d5751319a5d44aefb04c9d42872010017f0d2d11a8fb81bb6d3075af [INFO] running `Command { std: "docker" "start" "-a" "2980af17d5751319a5d44aefb04c9d42872010017f0d2d11a8fb81bb6d3075af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2980af17d5751319a5d44aefb04c9d42872010017f0d2d11a8fb81bb6d3075af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2980af17d5751319a5d44aefb04c9d42872010017f0d2d11a8fb81bb6d3075af", kill_on_drop: false }` [INFO] [stdout] 2980af17d5751319a5d44aefb04c9d42872010017f0d2d11a8fb81bb6d3075af [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] 6c2108e2b8d806471bfcabf0e417e568ba4927c88654da1aafae274284ad53b4 [INFO] running `Command { std: "docker" "start" "-a" "6c2108e2b8d806471bfcabf0e417e568ba4927c88654da1aafae274284ad53b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking aeon v0.3.1 [INFO] [stderr] Checking globber v0.5.0 (https://github.com/Szune/globber-rs#a30c5948) [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aeon_derive v0.2.0 [INFO] [stderr] Checking syncr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/fs.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `ReadDir`, and `canonicalize` [INFO] [stdout] --> src/fs.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | use std::fs::{canonicalize, DirEntry, ReadDir}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/fs.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `ReadDir`, and `canonicalize` [INFO] [stdout] --> src/fs.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | use std::fs::{canonicalize, DirEntry, ReadDir}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/refresh.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 21 | [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/refresh.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 21 | [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_name` [INFO] [stdout] --> src/refresh.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn perform_refresh(refresh_name: Option<&str>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heuristics` is never read [INFO] [stdout] --> src/config.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct ReadyHeuristics { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 154 | heuristics: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadyHeuristics` 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: field `root` is never read [INFO] [stdout] --> src/dir_tree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DirectoryTree { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `recursive` is never used [INFO] [stdout] --> src/dir_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DirectoryTree { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn recursive(root: PathBuf) -> DirectoryTree { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CanonicalFsOp` is never used [INFO] [stdout] --> src/fs.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | tuple!(CanonicalFsOp(source: PathBuf, target: PathBuf)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `FsOp` is never used [INFO] [stdout] --> src/fs.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | tuple!(FsOp(source: String, target: String)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bin_exe_path` is never used [INFO] [stdout] --> src/util.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_bin_exe_path() -> String { [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/fs.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .map(|f| f.modified().unwrap_or(SystemTime::UNIX_EPOCH)) [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/sync.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(|f| f.metadata().map(|m| m.is_file()).unwrap_or(false)) [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syncr` (bin "syncr") due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `refresh_name` [INFO] [stdout] --> src/refresh.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn perform_refresh(refresh_name: Option<&str>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heuristics` is never read [INFO] [stdout] --> src/config.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct ReadyHeuristics { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 154 | heuristics: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadyHeuristics` 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: field `root` is never read [INFO] [stdout] --> src/dir_tree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DirectoryTree { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `recursive` is never used [INFO] [stdout] --> src/dir_tree.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DirectoryTree { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn recursive(root: PathBuf) -> DirectoryTree { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CanonicalFsOp` is never used [INFO] [stdout] --> src/fs.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | tuple!(CanonicalFsOp(source: PathBuf, target: PathBuf)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `FsOp` is never used [INFO] [stdout] --> src/fs.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | tuple!(FsOp(source: String, target: String)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bin_exe_path` is never used [INFO] [stdout] --> src/util.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_bin_exe_path() -> String { [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/fs.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .map(|f| f.modified().unwrap_or(SystemTime::UNIX_EPOCH)) [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/sync.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | .filter(|f| f.metadata().map(|m| m.is_file()).unwrap_or(false)) [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syncr` (bin "syncr" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c2108e2b8d806471bfcabf0e417e568ba4927c88654da1aafae274284ad53b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2108e2b8d806471bfcabf0e417e568ba4927c88654da1aafae274284ad53b4", kill_on_drop: false }` [INFO] [stdout] 6c2108e2b8d806471bfcabf0e417e568ba4927c88654da1aafae274284ad53b4