[INFO] cloning repository https://github.com/tiburin/on [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiburin/on" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiburin%2Fon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiburin%2Fon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d4fb4559b8719dd2fd2321a0eea051d3ad8d1f8 [INFO] building tiburin/on 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%2Ftiburin%2Fon" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiburin/on 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/tiburin/on [INFO] finished tweaking git repo https://github.com/tiburin/on [INFO] tweaked toml for git repo https://github.com/tiburin/on written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tiburin/on 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] [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 368aea49ee8023765d3c743523d8f4518c6e15d62ccc56095a6ed2ed5d91d300 [INFO] running `Command { std: "docker" "start" "-a" "368aea49ee8023765d3c743523d8f4518c6e15d62ccc56095a6ed2ed5d91d300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "368aea49ee8023765d3c743523d8f4518c6e15d62ccc56095a6ed2ed5d91d300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368aea49ee8023765d3c743523d8f4518c6e15d62ccc56095a6ed2ed5d91d300", kill_on_drop: false }` [INFO] [stdout] 368aea49ee8023765d3c743523d8f4518c6e15d62ccc56095a6ed2ed5d91d300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 84d38ea1d24f42868f2d584bef9b9bbb32aca55983183f20671dc8dd70e95e80 [INFO] running `Command { std: "docker" "start" "-a" "84d38ea1d24f42868f2d584bef9b9bbb32aca55983183f20671dc8dd70e95e80", kill_on_drop: false }` [INFO] [stderr] Compiling on v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/router.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut res = &mut self.conn.res; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "84d38ea1d24f42868f2d584bef9b9bbb32aca55983183f20671dc8dd70e95e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d38ea1d24f42868f2d584bef9b9bbb32aca55983183f20671dc8dd70e95e80", kill_on_drop: false }` [INFO] [stdout] 84d38ea1d24f42868f2d584bef9b9bbb32aca55983183f20671dc8dd70e95e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb97ef1db5f93382d480db8905e9f2c8c52f690246dbe6d3cd50e7e1bec3aa6 [INFO] running `Command { std: "docker" "start" "-a" "feb97ef1db5f93382d480db8905e9f2c8c52f690246dbe6d3cd50e7e1bec3aa6", kill_on_drop: false }` [INFO] [stderr] Compiling on 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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------------^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(repo!().count().parse::().is_ok()); [INFO] [stdout] | ------- in this macro invocation [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] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------- ^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(repo!().count().parse::().is_ok()); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------------^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(repo!().list_languages(&temp_path).unwrap(), ""); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------- ^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(repo!().list_languages(&temp_path).unwrap(), ""); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------------^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | let path = &format!("{}/{}", repo!().public, "spoken"); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------- ^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | let path = &format!("{}/{}", repo!().public, "spoken"); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------------^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let res = repo!().list_languages(path).unwrap(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [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/v1/tests/share.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | Repo::new(&Req::new(), &storage.clone()) [INFO] [stdout] | ----------- ^ [INFO] [stdout] | | [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] ::: src/v1/repo.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let res = repo!().list_languages(path).unwrap(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `repo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/router.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut res = &mut self.conn.res; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `on` (bin "on" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "feb97ef1db5f93382d480db8905e9f2c8c52f690246dbe6d3cd50e7e1bec3aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb97ef1db5f93382d480db8905e9f2c8c52f690246dbe6d3cd50e7e1bec3aa6", kill_on_drop: false }` [INFO] [stdout] feb97ef1db5f93382d480db8905e9f2c8c52f690246dbe6d3cd50e7e1bec3aa6