[INFO] cloning repository https://github.com/bobbo/poyekhali [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bobbo/poyekhali" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobbo%2Fpoyekhali", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobbo%2Fpoyekhali'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18e6b207eec117944aeab75348a558d7dc1e3cc0 [INFO] checking bobbo/poyekhali/18e6b207eec117944aeab75348a558d7dc1e3cc0 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%2Fbobbo%2Fpoyekhali" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bobbo/poyekhali 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/bobbo/poyekhali [INFO] finished tweaking git repo https://github.com/bobbo/poyekhali [INFO] tweaked toml for git repo https://github.com/bobbo/poyekhali written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bobbo/poyekhali 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b1f4e6704370bbc3fcc0f3ee440cb8df9cfba82c6534af626e526e4e038b34fb [INFO] running `Command { std: "docker" "start" "-a" "b1f4e6704370bbc3fcc0f3ee440cb8df9cfba82c6534af626e526e4e038b34fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1f4e6704370bbc3fcc0f3ee440cb8df9cfba82c6534af626e526e4e038b34fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f4e6704370bbc3fcc0f3ee440cb8df9cfba82c6534af626e526e4e038b34fb", kill_on_drop: false }` [INFO] [stdout] b1f4e6704370bbc3fcc0f3ee440cb8df9cfba82c6534af626e526e4e038b34fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9bd84cd490e7ca72cb39501afd770df61aed78fa890602d432fc2d70370e8f0d [INFO] running `Command { std: "docker" "start" "-a" "9bd84cd490e7ca72cb39501afd770df61aed78fa890602d432fc2d70370e8f0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling wasmer-vm v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking wasmparser v0.65.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking wast v35.0.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking memmap2 v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wat v1.0.36 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling wasmer-derive v1.0.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Checking enumset v1.0.6 [INFO] [stderr] Checking cranelift-entity v0.68.0 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking wasmer-types v1.0.2 [INFO] [stderr] Checking cranelift-bforest v0.68.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Checking wasmer-compiler v1.0.2 [INFO] [stderr] Checking wasmer-engine v1.0.2 [INFO] [stderr] Checking wasmer-object v1.0.2 [INFO] [stderr] Checking wasmer-engine-jit v1.0.2 [INFO] [stderr] Checking wasmer-engine-native v1.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Checking cranelift-frontend v0.68.0 [INFO] [stderr] Checking wasmer v1.0.2 [INFO] [stderr] Checking poyekhali v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate wasmer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wasm.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | let fn_native = func.native::<(i64), ()>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 254 - let fn_native = func.native::<(i64), ()>(); [INFO] [stdout] 254 + let fn_native = func.native::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | while (true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - while (true) { [INFO] [stdout] 19 + while true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | while (true) { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | std::thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/stream.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | thread::sleep_ms(1000 / hertz); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate wasmer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/wasm.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | let fn_native = func.native::<(i64), ()>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 254 - let fn_native = func.native::<(i64), ()>(); [INFO] [stdout] 254 + let fn_native = func.native::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | while (true) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - while (true) { [INFO] [stdout] 19 + while true { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | while (true) { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | std::thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/stream.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | thread::sleep_ms(1000 / hertz); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/wasm.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | struct WasmExecutionContext { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 111 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/wasm.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl WasmExecutionContext { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn join(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ... exec_ctx.tx_cmd.send(ExecutorCommand::CallIndex(func_idx.func, update.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = exec_ctx.tx_cmd.send(ExecutorCommand::CallIndex(func_idx.func, update.clone())); [INFO] [stdout] | +++++++ [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/wasm.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 117 | fn new(module: String, wasm: &WasmProgram, tx_request: mpsc::Sender) -> Result { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let (tx_cmd, rx_cmd) = mpsc::channel::(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut exec_thd = ExecutorThread::new(module, rx_cmd, tx_request, wasm); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let thread_handle = thread::spawn(move || exec_thd.run()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | [INFO] [stdout] 122 | Ok(WasmExecutionContext{ [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | thread: thread_handle, [INFO] [stdout] 124 | | tx_cmd, [INFO] [stdout] 125 | | }) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.tx_cmd.send(ExecutorCommand::CallName("init".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = self.tx_cmd.send(ExecutorCommand::CallName("init".to_string())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = self.thread.join(); [INFO] [stdout] | +++++++ [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/wasm.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(module_name: String, cmd_rx: mpsc::Receiver, req_tx: mpsc::Sender, wasm: &WasmProgram) -> Exe... [INFO] [stdout] | --------------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | instance: None, [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/wasm.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(module_name: String, cmd_rx: mpsc::Receiver, req_tx: mpsc::Sender, wasm: &WasmProgram) -> Exe... [INFO] [stdout] | --------------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | wasm: wasm.clone(), [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | / req_tx.send(RuntimeRequest::RegisterHandler{ [INFO] [stdout] 207 | | stream: stream_name.to_string(), [INFO] [stdout] 208 | | module: env.module_name.clone(), func_ptr: fn_ptr as u32}); [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = req_tx.send(RuntimeRequest::RegisterHandler{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | function.call(&[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = function.call(&[]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn_native.unwrap().call(arg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = fn_native.unwrap().call(arg); [INFO] [stdout] | +++++++ [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/wasm.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 278 | let mut f = File::open(file)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Ok(buffer.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | chan.send(RuntimeRequest::StreamUpdate{ stream: "timer:seconds".to_owned(), update }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = chan.send(RuntimeRequest::StreamUpdate{ stream: "timer:seconds".to_owned(), update }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poyekhali` (bin "poyekhali") due to 5 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/wasm.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | struct WasmExecutionContext { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 111 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `join` is never used [INFO] [stdout] --> src/wasm.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl WasmExecutionContext { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn join(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ... exec_ctx.tx_cmd.send(ExecutorCommand::CallIndex(func_idx.func, update.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = exec_ctx.tx_cmd.send(ExecutorCommand::CallIndex(func_idx.func, update.clone())); [INFO] [stdout] | +++++++ [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/wasm.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 117 | fn new(module: String, wasm: &WasmProgram, tx_request: mpsc::Sender) -> Result { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let (tx_cmd, rx_cmd) = mpsc::channel::(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | let mut exec_thd = ExecutorThread::new(module, rx_cmd, tx_request, wasm); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let thread_handle = thread::spawn(move || exec_thd.run()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | [INFO] [stdout] 122 | Ok(WasmExecutionContext{ [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | thread: thread_handle, [INFO] [stdout] 124 | | tx_cmd, [INFO] [stdout] 125 | | }) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | self.tx_cmd.send(ExecutorCommand::CallName("init".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 129 | let _ = self.tx_cmd.send(ExecutorCommand::CallName("init".to_string())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | self.thread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = self.thread.join(); [INFO] [stdout] | +++++++ [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/wasm.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(module_name: String, cmd_rx: mpsc::Receiver, req_tx: mpsc::Sender, wasm: &WasmProgram) -> Exe... [INFO] [stdout] | --------------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | instance: None, [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/wasm.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(module_name: String, cmd_rx: mpsc::Receiver, req_tx: mpsc::Sender, wasm: &WasmProgram) -> Exe... [INFO] [stdout] | --------------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | wasm: wasm.clone(), [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | / req_tx.send(RuntimeRequest::RegisterHandler{ [INFO] [stdout] 207 | | stream: stream_name.to_string(), [INFO] [stdout] 208 | | module: env.module_name.clone(), func_ptr: fn_ptr as u32}); [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = req_tx.send(RuntimeRequest::RegisterHandler{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | function.call(&[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = function.call(&[]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/wasm.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn_native.unwrap().call(arg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 255 | let _ = fn_native.unwrap().call(arg); [INFO] [stdout] | +++++++ [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/wasm.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 278 | let mut f = File::open(file)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Ok(buffer.into_boxed_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/stream.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | chan.send(RuntimeRequest::StreamUpdate{ stream: "timer:seconds".to_owned(), update }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = chan.send(RuntimeRequest::StreamUpdate{ stream: "timer:seconds".to_owned(), update }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poyekhali` (bin "poyekhali" test) due to 5 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9bd84cd490e7ca72cb39501afd770df61aed78fa890602d432fc2d70370e8f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd84cd490e7ca72cb39501afd770df61aed78fa890602d432fc2d70370e8f0d", kill_on_drop: false }` [INFO] [stdout] 9bd84cd490e7ca72cb39501afd770df61aed78fa890602d432fc2d70370e8f0d