[INFO] cloning repository https://github.com/cartoon-raccoon/oyster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cartoon-raccoon/oyster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcartoon-raccoon%2Foyster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcartoon-raccoon%2Foyster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9e0f53863d63c9f38bddbc348d45977b0a96124 [INFO] checking cartoon-raccoon/oyster/a9e0f53863d63c9f38bddbc348d45977b0a96124 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%2Fcartoon-raccoon%2Foyster" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cartoon-raccoon/oyster 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/cartoon-raccoon/oyster [INFO] finished tweaking git repo https://github.com/cartoon-raccoon/oyster [INFO] tweaked toml for git repo https://github.com/cartoon-raccoon/oyster written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cartoon-raccoon/oyster 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6f2f1307df5029c107dc4d0bf63fbe0bf13fcba84cf007f6e7c6ab9279bdf08f [INFO] running `Command { std: "docker" "start" "-a" "6f2f1307df5029c107dc4d0bf63fbe0bf13fcba84cf007f6e7c6ab9279bdf08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f2f1307df5029c107dc4d0bf63fbe0bf13fcba84cf007f6e7c6ab9279bdf08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2f1307df5029c107dc4d0bf63fbe0bf13fcba84cf007f6e7c6ab9279bdf08f", kill_on_drop: false }` [INFO] [stdout] 6f2f1307df5029c107dc4d0bf63fbe0bf13fcba84cf007f6e7c6ab9279bdf08f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 20b353888ac3e3e475298d49e967fcf130cf7a2e5e7001ab231b6c1ac887150f [INFO] running `Command { std: "docker" "start" "-a" "20b353888ac3e3e475298d49e967fcf130cf7a2e5e7001ab231b6c1ac887150f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking smallstr v0.2.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-normalization v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking mortal v0.2.2 [INFO] [stderr] Checking linefeed v0.6.0 [INFO] [stderr] Checking oyster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | Ok(_) => {} [INFO] [stdout] | ^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | Ok(_) => {} [INFO] [stdout] | ^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/completion.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | path = path.replace(" ", "\\ ") [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] warning: field `inner` is never read [INFO] [stdout] --> src/types.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 731 | inner: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/types.rs:921:9 [INFO] [stdout] | [INFO] [stdout] 917 | pub struct CommandParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 921 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stderr` is never read [INFO] [stdout] --> src/types.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 925 | pub struct CommandResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 928 | pub stderr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `maps` and `pgid` are never read [INFO] [stdout] --> src/shell.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Shell { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | maps: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pgid: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/shell.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn change_dir>(&mut self, cd_to: P) -> Result<(), ShellError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | match env::set_current_dir(&cd_to) { [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/builtins/dirstack.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | .map(|path| render_path(path, options.fullpath) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oyster` (bin "oyster") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `path` is never read [INFO] [stdout] --> src/completion.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | path = path.replace(" ", "\\ ") [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] warning: field `inner` is never read [INFO] [stdout] --> src/types.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 730 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 731 | inner: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/types.rs:921:9 [INFO] [stdout] | [INFO] [stdout] 917 | pub struct CommandParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 921 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandParams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stderr` is never read [INFO] [stdout] --> src/types.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 925 | pub struct CommandResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 928 | pub stderr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `maps` and `pgid` are never read [INFO] [stdout] --> src/shell.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Shell { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | maps: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pgid: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/shell.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn change_dir>(&mut self, cd_to: P) -> Result<(), ShellError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | match env::set_current_dir(&cd_to) { [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/builtins/dirstack.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | .map(|path| render_path(path, options.fullpath) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oyster` (bin "oyster" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "20b353888ac3e3e475298d49e967fcf130cf7a2e5e7001ab231b6c1ac887150f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b353888ac3e3e475298d49e967fcf130cf7a2e5e7001ab231b6c1ac887150f", kill_on_drop: false }` [INFO] [stdout] 20b353888ac3e3e475298d49e967fcf130cf7a2e5e7001ab231b6c1ac887150f