[INFO] cloning repository https://github.com/Nelyah/rusk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nelyah/rusk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNelyah%2Frusk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNelyah%2Frusk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 764375049b3f04d5db511886c44debe2fe85d47b [INFO] checking Nelyah/rusk/764375049b3f04d5db511886c44debe2fe85d47b 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%2FNelyah%2Frusk" "/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/Nelyah/rusk 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/Nelyah/rusk [INFO] finished tweaking git repo https://github.com/Nelyah/rusk [INFO] tweaked toml for git repo https://github.com/Nelyah/rusk written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nelyah/rusk 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-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] d748e2f157a01a93a9ee00d7e05fb1badae675246bd64e07e94d379a0930fd55 [INFO] running `Command { std: "docker" "start" "-a" "d748e2f157a01a93a9ee00d7e05fb1badae675246bd64e07e94d379a0930fd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d748e2f157a01a93a9ee00d7e05fb1badae675246bd64e07e94d379a0930fd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d748e2f157a01a93a9ee00d7e05fb1badae675246bd64e07e94d379a0930fd55", kill_on_drop: false }` [INFO] [stdout] d748e2f157a01a93a9ee00d7e05fb1badae675246bd64e07e94d379a0930fd55 [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] c880c333a5be30760997160c573817744eb2d1a2d8ad262e3e9227e902be0d12 [INFO] running `Command { std: "docker" "start" "-a" "c880c333a5be30760997160c573817744eb2d1a2d8ad262e3e9227e902be0d12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking all_asserts v2.3.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling uuid-macro-internal v1.7.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking rusk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `pre_action_hook`, `post_action_hook`, and `get_command_description` are never used [INFO] [stdout] --> src/actions/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait TaskAction { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 60 | fn pre_action_hook(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | fn do_action(&mut self, printer: &dyn Printer) -> Result<(), String>; [INFO] [stdout] 62 | fn post_action_hook(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | fn get_command_description(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockFileSystem` is never constructed [INFO] [stdout] --> src/storage_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct MockFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockEnv` is never constructed [INFO] [stdout] --> src/storage_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct MockEnv { [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/command_parser.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 36 | let mut command_to_parser = HashMap::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(ParsedCommand { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | filters: filters::and( [INFO] [stdout] 82 | | filters::from(&filters)?, [INFO] [stdout] 83 | | filters::from(&report_kind.filters)?, [INFO] [stdout] ... | [INFO] [stdout] 87 | | ..Default::default() [INFO] [stdout] 88 | | }) [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/printer/table.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(column_headers: &Vec, writer: W) -> Result, &'static str> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(Table { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | column_padding: 2, [INFO] [stdout] 83 | | columns: column_headers.to_owned(), [INFO] [stdout] 84 | | row_styles: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 104 | | }, [INFO] [stdout] 105 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/filters.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn and(lhs: Box, rhs: Box) -> Box { [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] 33 | Box::new(AndFilter { [INFO] [stdout] | ______________^ [INFO] [stdout] 34 | | children: vec![lhs, rhs], [INFO] [stdout] 35 | | }) [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusk` (bin "rusk") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `pre_action_hook` and `post_action_hook` are never used [INFO] [stdout] --> src/actions/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait TaskAction { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 60 | fn pre_action_hook(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | fn do_action(&mut self, printer: &dyn Printer) -> Result<(), String>; [INFO] [stdout] 62 | fn post_action_hook(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/command_parser.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 36 | let mut command_to_parser = HashMap::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(ParsedCommand { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | filters: filters::and( [INFO] [stdout] 82 | | filters::from(&filters)?, [INFO] [stdout] 83 | | filters::from(&report_kind.filters)?, [INFO] [stdout] ... | [INFO] [stdout] 87 | | ..Default::default() [INFO] [stdout] 88 | | }) [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/printer/table.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(column_headers: &Vec, writer: W) -> Result, &'static str> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(Table { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | column_padding: 2, [INFO] [stdout] 83 | | columns: column_headers.to_owned(), [INFO] [stdout] 84 | | row_styles: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 104 | | }, [INFO] [stdout] 105 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/task/filters.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn and(lhs: Box, rhs: Box) -> Box { [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] 33 | Box::new(AndFilter { [INFO] [stdout] | ______________^ [INFO] [stdout] 34 | | children: vec![lhs, rhs], [INFO] [stdout] 35 | | }) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusk` (bin "rusk" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c880c333a5be30760997160c573817744eb2d1a2d8ad262e3e9227e902be0d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c880c333a5be30760997160c573817744eb2d1a2d8ad262e3e9227e902be0d12", kill_on_drop: false }` [INFO] [stdout] c880c333a5be30760997160c573817744eb2d1a2d8ad262e3e9227e902be0d12