[INFO] cloning repository https://github.com/MoritzKn/ralculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoritzKn/ralculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoritzKn%2Fralculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoritzKn%2Fralculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 243b6db2ec6c8802356832e688cc096aa49d627e [INFO] checking MoritzKn/ralculator/243b6db2ec6c8802356832e688cc096aa49d627e 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%2FMoritzKn%2Fralculator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MoritzKn/ralculator 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/MoritzKn/ralculator [INFO] finished tweaking git repo https://github.com/MoritzKn/ralculator [INFO] tweaked toml for git repo https://github.com/MoritzKn/ralculator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MoritzKn/ralculator 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] [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c0ad36f8410c012d9100737cce5016cebdbd2971f8fd6069148bf5a0cf6a2307 [INFO] running `Command { std: "docker" "start" "-a" "c0ad36f8410c012d9100737cce5016cebdbd2971f8fd6069148bf5a0cf6a2307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ad36f8410c012d9100737cce5016cebdbd2971f8fd6069148bf5a0cf6a2307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ad36f8410c012d9100737cce5016cebdbd2971f8fd6069148bf5a0cf6a2307", kill_on_drop: false }` [INFO] [stdout] c0ad36f8410c012d9100737cce5016cebdbd2971f8fd6069148bf5a0cf6a2307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f409682e2fe5aa4034579ce04cd9194bdebe68e9ffeb4627a6c209607b26f32c [INFO] running `Command { std: "docker" "start" "-a" "f409682e2fe5aa4034579ce04cd9194bdebe68e9ffeb4627a6c209607b26f32c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling gio v0.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf v0.6.0 [INFO] [stderr] Compiling pango v0.6.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling gdk v0.10.0 [INFO] [stderr] Compiling atk v0.6.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling gtk v0.6.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling glib-sys v0.8.0 [INFO] [stderr] Compiling gobject-sys v0.8.0 [INFO] [stderr] Compiling gio-sys v0.8.0 [INFO] [stderr] Compiling pango-sys v0.8.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.8.0 [INFO] [stderr] Compiling cairo-sys-rs v0.8.0 [INFO] [stderr] Compiling atk-sys v0.8.0 [INFO] [stderr] Compiling gdk-sys v0.8.0 [INFO] [stderr] Compiling gtk-sys v0.8.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling ralculator v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking glib v0.7.1 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stdout] warning: field `text_view` is never read [INFO] [stdout] --> src/gui/history.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct History { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | text_view: TextView, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `History` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/gui/app.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn on_close Inhibit + 'static>(&self, f: F) -> SignalHandlerId { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | self.window.connect_delete_event(move |_, _| f()) [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/gui/app.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 67 | let screen = self.window.get_display().unwrap().get_screen(0); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | match load_css() { [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/gui/app.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 113 | let provider = CssProvider::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | match provider.load_from_data(STYLE_CSS.as_bytes()) { [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] --> /opt/rustwide/target/debug/build/ralculator-e7078ab4eef57db5/out/grammar.rs:103:400 [INFO] [stdout] | [INFO] [stdout] 103 | ...ut __state = ParseState :: new ( ) ; match __parse_parse ( __input , & mut __state , 0 ) { Matched ( __pos , __value ) => { if __pos == __input . len ( ) { return Ok ( __value ) } } _ => { } } let ( __line , __col ) = pos_to_line ( __input , __state . max_err_pos ) ; Err ( ParseError { line : __line , column : __col , offset : __state . max_err_pos , expected : __state . expected , } ... [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralculator` (bin "ralculator") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `text_view` is never read [INFO] [stdout] --> src/gui/history.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct History { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | text_view: TextView, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `History` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/gui/app.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn on_close Inhibit + 'static>(&self, f: F) -> SignalHandlerId { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | self.window.connect_delete_event(move |_, _| f()) [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/gui/app.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 67 | let screen = self.window.get_display().unwrap().get_screen(0); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | [INFO] [stdout] 69 | match load_css() { [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/gui/app.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 113 | let provider = CssProvider::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | match provider.load_from_data(STYLE_CSS.as_bytes()) { [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] --> /opt/rustwide/target/debug/build/ralculator-e7078ab4eef57db5/out/grammar.rs:103:400 [INFO] [stdout] | [INFO] [stdout] 103 | ...ut __state = ParseState :: new ( ) ; match __parse_parse ( __input , & mut __state , 0 ) { Matched ( __pos , __value ) => { if __pos == __input . len ( ) { return Ok ( __value ) } } _ => { } } let ( __line , __col ) = pos_to_line ( __input , __state . max_err_pos ) ; Err ( ParseError { line : __line , column : __col , offset : __state . max_err_pos , expected : __state . expected , } ... [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ralculator` (bin "ralculator" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f409682e2fe5aa4034579ce04cd9194bdebe68e9ffeb4627a6c209607b26f32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f409682e2fe5aa4034579ce04cd9194bdebe68e9ffeb4627a6c209607b26f32c", kill_on_drop: false }` [INFO] [stdout] f409682e2fe5aa4034579ce04cd9194bdebe68e9ffeb4627a6c209607b26f32c