[INFO] cloning repository https://github.com/GZTimeWalker/berry-pasty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GZTimeWalker/berry-pasty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGZTimeWalker%2Fberry-pasty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGZTimeWalker%2Fberry-pasty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4baa55a40c7ffcf3ae8f492af1e81abf3f724e4 [INFO] checking GZTimeWalker/berry-pasty/e4baa55a40c7ffcf3ae8f492af1e81abf3f724e4 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%2FGZTimeWalker%2Fberry-pasty" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GZTimeWalker/berry-pasty 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/GZTimeWalker/berry-pasty [INFO] finished tweaking git repo https://github.com/GZTimeWalker/berry-pasty [INFO] tweaked toml for git repo https://github.com/GZTimeWalker/berry-pasty written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GZTimeWalker/berry-pasty 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a0105b378ee35f653123985c8de4ef2c6072916e8c1c4c43aac91d841cb2c0ae [INFO] running `Command { std: "docker" "start" "-a" "a0105b378ee35f653123985c8de4ef2c6072916e8c1c4c43aac91d841cb2c0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0105b378ee35f653123985c8de4ef2c6072916e8c1c4c43aac91d841cb2c0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0105b378ee35f653123985c8de4ef2c6072916e8c1c4c43aac91d841cb2c0ae", kill_on_drop: false }` [INFO] [stdout] a0105b378ee35f653123985c8de4ef2c6072916e8c1c4c43aac91d841cb2c0ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f0cdde51c84176711cbc5b7b58c06b6c2fe9d685d7eecf3a7ada92716306eaa9 [INFO] running `Command { std: "docker" "start" "-a" "f0cdde51c84176711cbc5b7b58c06b6c2fe9d685d7eecf3a7ada92716306eaa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling redb v2.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking berry-pasty v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_by_id(db: &State, id: &str) -> (Status, Response) { [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/main.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | fn get_by_id(db: &State, id: &str) -> (Status, Response) { [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/main.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_stat_by_id(db: &State, id: &str) -> (Status, Response) { [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] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_stat_by_id(db: &State, id: &str) -> (Status, Response) { [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] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | id: &str, [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] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | id: &str, [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] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | id: &str, [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] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | id: &str, [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] [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/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => return handle_pasty_error(err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | / Response::Json(json!(pasties [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] 160 | | .map(|(pasty, stats)| { [INFO] [stdout] 161 | | json!({ [INFO] [stdout] ... | [INFO] [stdout] 170 | | }) [INFO] [stdout] 171 | | .collect::>())), [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/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => return handle_pasty_error(err), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | / Response::Json(json!(pasties [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] 160 | | .map(|(pasty, stats)| { [INFO] [stdout] 161 | | json!({ [INFO] [stdout] ... | [INFO] [stdout] 170 | | }) [INFO] [stdout] 171 | | .collect::>())), [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berry-pasty` (bin "berry-pasty") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `berry-pasty` (bin "berry-pasty" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0cdde51c84176711cbc5b7b58c06b6c2fe9d685d7eecf3a7ada92716306eaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0cdde51c84176711cbc5b7b58c06b6c2fe9d685d7eecf3a7ada92716306eaa9", kill_on_drop: false }` [INFO] [stdout] f0cdde51c84176711cbc5b7b58c06b6c2fe9d685d7eecf3a7ada92716306eaa9