[INFO] cloning repository https://github.com/shiwenlong12/easy-fs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiwenlong12/easy-fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Feasy-fs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Feasy-fs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 233ecbae4ef3a1e5a67dcb57c7059a3143517fe8 [INFO] building shiwenlong12/easy-fs against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Feasy-fs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 54% (795/1465) Updating files: 55% (806/1465) Updating files: 56% (821/1465) Updating files: 57% (836/1465) Updating files: 58% (850/1465) Updating files: 59% (865/1465) Updating files: 60% (879/1465) Updating files: 61% (894/1465) Updating files: 62% (909/1465) Updating files: 63% (923/1465) Updating files: 64% (938/1465) Updating files: 65% (953/1465) Updating files: 66% (967/1465) Updating files: 67% (982/1465) Updating files: 68% (997/1465) Updating files: 69% (1011/1465) Updating files: 70% (1026/1465) Updating files: 71% (1041/1465) Updating files: 72% (1055/1465) Updating files: 73% (1070/1465) Updating files: 74% (1085/1465) Updating files: 75% (1099/1465) Updating files: 76% (1114/1465) Updating files: 77% (1129/1465) Updating files: 78% (1143/1465) Updating files: 79% (1158/1465) Updating files: 80% (1172/1465) Updating files: 81% (1187/1465) Updating files: 82% (1202/1465) Updating files: 83% (1216/1465) Updating files: 84% (1231/1465) Updating files: 85% (1246/1465) Updating files: 86% (1260/1465) Updating files: 87% (1275/1465) Updating files: 88% (1290/1465) Updating files: 89% (1304/1465) Updating files: 90% (1319/1465) Updating files: 91% (1334/1465) Updating files: 92% (1348/1465) Updating files: 93% (1363/1465) Updating files: 94% (1378/1465) Updating files: 95% (1392/1465) Updating files: 96% (1407/1465) Updating files: 97% (1422/1465) Updating files: 98% (1436/1465) Updating files: 99% (1451/1465) Updating files: 100% (1465/1465) Updating files: 100% (1465/1465), done. [INFO] validating manifest of git repo https://github.com/shiwenlong12/easy-fs on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shiwenlong12/easy-fs [INFO] finished tweaking git repo https://github.com/shiwenlong12/easy-fs [INFO] tweaked toml for git repo https://github.com/shiwenlong12/easy-fs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shiwenlong12/easy-fs 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac47de7f0ae0183c41aad54874429cd0c5e203edb9d07dd92e081d009efca6cb [INFO] running `Command { std: "docker" "start" "-a" "ac47de7f0ae0183c41aad54874429cd0c5e203edb9d07dd92e081d009efca6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac47de7f0ae0183c41aad54874429cd0c5e203edb9d07dd92e081d009efca6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac47de7f0ae0183c41aad54874429cd0c5e203edb9d07dd92e081d009efca6cb", kill_on_drop: false }` [INFO] [stdout] ac47de7f0ae0183c41aad54874429cd0c5e203edb9d07dd92e081d009efca6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd892bb56351d50fb70a6349e86aa03bc2d6dcd1bb7af11ebf938cbd924ae5b8 [INFO] running `Command { std: "docker" "start" "-a" "fd892bb56351d50fb70a6349e86aa03bc2d6dcd1bb7af11ebf938cbd924ae5b8", kill_on_drop: false }` [INFO] [stderr] Compiling volatile v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling virtio-drivers v0.1.0 (https://github.com/rcore-os/virtio-drivers?rev=4ee80e5#4ee80e50) [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling easy-fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/efs.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 93 | get_block_cache(0, Arc::clone(&block_device)) [INFO] [stdout] | --------------------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 110 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/layout.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 174 | get_block_cache(indirect1 as usize, Arc::clone(block_device)) [INFO] [stdout] | ------------------------------------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 178 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/layout.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 161 | get_block_cache(self.indirect1 as usize, Arc::clone(block_device)) [INFO] [stdout] | ------------------------------------------------------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 165 | }) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/vfs.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 35 | get_block_cache(self.block_id, Arc::clone(&self.block_device)) [INFO] [stdout] | -------------------------------------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 36 | .lock() [INFO] [stdout] 37 | .read(self.block_offset, f) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/vfs.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 42 | get_block_cache(self.block_id, Arc::clone(&self.block_device)) [INFO] [stdout] | -------------------------------------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 43 | .lock() [INFO] [stdout] 44 | .modify(self.block_offset, f) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-fs` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "fd892bb56351d50fb70a6349e86aa03bc2d6dcd1bb7af11ebf938cbd924ae5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd892bb56351d50fb70a6349e86aa03bc2d6dcd1bb7af11ebf938cbd924ae5b8", kill_on_drop: false }` [INFO] [stdout] fd892bb56351d50fb70a6349e86aa03bc2d6dcd1bb7af11ebf938cbd924ae5b8