[INFO] cloning repository https://github.com/ChenYunShu-01/scheduler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChenYunShu-01/scheduler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenYunShu-01%2Fscheduler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenYunShu-01%2Fscheduler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a5422ffc694dc5e90ba4047802990d3de980d04 [INFO] checking ChenYunShu-01/scheduler-rust/1a5422ffc694dc5e90ba4047802990d3de980d04 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%2FChenYunShu-01%2Fscheduler-rust" "/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/ChenYunShu-01/scheduler-rust 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/ChenYunShu-01/scheduler-rust [INFO] finished tweaking git repo https://github.com/ChenYunShu-01/scheduler-rust [INFO] tweaked toml for git repo https://github.com/ChenYunShu-01/scheduler-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ChenYunShu-01/scheduler-rust 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] 9fa5ff01b75f9dc8fab04b48f4522da0dfdbb7870917b794b180f97c78894115 [INFO] running `Command { std: "docker" "start" "-a" "9fa5ff01b75f9dc8fab04b48f4522da0dfdbb7870917b794b180f97c78894115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fa5ff01b75f9dc8fab04b48f4522da0dfdbb7870917b794b180f97c78894115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa5ff01b75f9dc8fab04b48f4522da0dfdbb7870917b794b180f97c78894115", kill_on_drop: false }` [INFO] [stdout] 9fa5ff01b75f9dc8fab04b48f4522da0dfdbb7870917b794b180f97c78894115 [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] 221d21da1667388a503d6e30025ceb4c7c0b2752f97fa41e4c58fff8d9992e7a [INFO] running `Command { std: "docker" "start" "-a" "221d21da1667388a503d6e30025ceb4c7c0b2752f97fa41e4c58fff8d9992e7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.1.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking cron v0.8.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking scheduler_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/job.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait Job { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 110 | async fn stop(&mut self) -> (); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [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/job.rs:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | async fn run(&mut self, jobs: JobsSchedulerLocked) { [INFO] [stdout] | _____________________________-------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | | let job_copy = self.clone(); [INFO] [stdout] 156 | | //let job_scheduler_copy = jobs.clone(); [INFO] [stdout] 157 | | tokio::task::spawn(async move { [INFO] [stdout] ... | [INFO] [stdout] 226 | | }); [INFO] [stdout] 227 | | } [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/job.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 257 | fn make_new_cron_job(schedule: &str, run: T) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok(Arc::new(RwLock::new(JobType::CronJob(JobHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | schedule: Some(schedule), [INFO] [stdout] 266 | | run_async: Arc::new(Mutex::new(run)), [INFO] [stdout] 267 | | time_til_next: None, [INFO] [stdout] 268 | | job_id: Uuid::new_v4(), [INFO] [stdout] 269 | | stopped: false })))) [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/job.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 296 | fn make_one_shot_job(duration: Duration, run_async: Arc>) -> Result [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | Ok(Arc::new(RwLock::new(JobType::OneShot(JobHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 302 | | schedule: None, [INFO] [stdout] 303 | | run_async, [INFO] [stdout] 304 | | time_til_next: Some(duration), [INFO] [stdout] 305 | | job_id: Uuid::new_v4(), [INFO] [stdout] 306 | | stopped: false })))) [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/job.rs:326:48 [INFO] [stdout] | [INFO] [stdout] 320 | fn new_one_shot(duration: Duration, run: T) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | JobLocked::make_one_shot_job(duration, Arc::new(Mutex::new(run))) [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/job.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 329 | fn make_new_one_shot_at_an_instant(instant: std::time::Instant, run_async: Arc>) -> Result [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | Ok(Arc::new(RwLock::new(JobType::OneShot(JobHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 340 | | schedule: None, [INFO] [stdout] 341 | | run_async, [INFO] [stdout] 342 | | time_til_next: Some(job_duration), [INFO] [stdout] 343 | | job_id: Uuid::new_v4(), [INFO] [stdout] 344 | | stopped: false })))) [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/job.rs:363:61 [INFO] [stdout] | [INFO] [stdout] 357 | fn new_one_shot_at_instant(instant: std::time::Instant, run: T) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | JobLocked::make_new_one_shot_at_an_instant(instant, Arc::new(Mutex::new(run))) [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/job.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 366 | fn make_new_repeated(duration: Duration, run_async: Arc>) -> Result [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | let job = JobHandle { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | Ok(Arc::new(RwLock::new(JobType::Repeated(job)))) [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/job.rs:399:48 [INFO] [stdout] | [INFO] [stdout] 393 | fn new_repeated(duration: Duration, run: T) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | JobLocked::make_new_repeated(duration, Arc::new(Mutex::new(run))) [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/job_scheduler.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 78 | let r = JobScheduler { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Arc::new(RwLock::new(r)) [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/job_scheduler.rs:93:69 [INFO] [stdout] | [INFO] [stdout] 93 | async fn add(&mut self, job: JobLocked) -> Result<(), JobError> { [INFO] [stdout] | _____________________________--------------__________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | | { [INFO] [stdout] 95 | | let mut self_w = self.write().await; [INFO] [stdout] 96 | | let uuid; [INFO] [stdout] ... | [INFO] [stdout] 113 | | Ok(()) [INFO] [stdout] 114 | | } [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scheduler_rust` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "221d21da1667388a503d6e30025ceb4c7c0b2752f97fa41e4c58fff8d9992e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221d21da1667388a503d6e30025ceb4c7c0b2752f97fa41e4c58fff8d9992e7a", kill_on_drop: false }` [INFO] [stdout] 221d21da1667388a503d6e30025ceb4c7c0b2752f97fa41e4c58fff8d9992e7a