[INFO] cloning repository https://github.com/Logicalshift/flo_script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Logicalshift/flo_script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogicalshift%2Fflo_script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogicalshift%2Fflo_script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb2844399d466688120f7365db9ffda38e6fa011 [INFO] checking Logicalshift/flo_script/eb2844399d466688120f7365db9ffda38e6fa011 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLogicalshift%2Fflo_script" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Logicalshift/flo_script on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Logicalshift/flo_script [INFO] finished tweaking git repo https://github.com/Logicalshift/flo_script [INFO] tweaked toml for git repo https://github.com/Logicalshift/flo_script written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Logicalshift/flo_script 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e841aadb396dc5a8fde17c1d0834bba58668e256bb0ae4afeb3816b79eefc624 [INFO] running `Command { std: "docker" "start" "-a" "e841aadb396dc5a8fde17c1d0834bba58668e256bb0ae4afeb3816b79eefc624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e841aadb396dc5a8fde17c1d0834bba58668e256bb0ae4afeb3816b79eefc624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e841aadb396dc5a8fde17c1d0834bba58668e256bb0ae4afeb3816b79eefc624", kill_on_drop: false }` [INFO] [stdout] e841aadb396dc5a8fde17c1d0834bba58668e256bb0ae4afeb3816b79eefc624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7eb73b77ed8de94b9d16cf95d83e64d9a5601b01e7428c0d0cfb3d7744b18bd [INFO] running `Command { std: "docker" "start" "-a" "c7eb73b77ed8de94b9d16cf95d83e64d9a5601b01e7428c0d0cfb3d7744b18bd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking typed-arena v1.6.0 [INFO] [stderr] Checking pretty v0.5.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.100 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking codespan v0.3.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Checking codespan-reporting v0.3.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking gluon_base v0.12.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling gluon_codegen v0.12.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking rpds v0.5.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking union-find v0.3.2 [INFO] [stderr] Compiling gluon_vm v0.12.0 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking frunk_core v0.2.4 [INFO] [stderr] Checking gluon_format v0.12.0 [INFO] [stderr] Checking gluon_check v0.12.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking desync v0.4.1 [INFO] [stderr] Compiling gluon v0.12.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling gluon_parser v0.12.0 [INFO] [stderr] Checking flo_script v0.1.0 (/opt/rustwide/workdir/flo_script) [INFO] [stdout] warning: unused import: `Compiler` [INFO] [stdout] --> flo_script/src/script_type_description.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use gluon::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RootedThread` [INFO] [stdout] --> flo_script/src/script_type_description.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use gluon::vm::thread::{RootedThread, Thread}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionRef`, `Function`, and `Primitive` [INFO] [stdout] --> flo_script/src/script_type_description.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use gluon::vm::api::{UserdataValue, Function, FunctionRef, Primitive, VmType, Pushable, Getable, FutureResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerivedStateData` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::derived_state::{DerivedStateData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sync::oneshot` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::*` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::any::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::symbol::*` [INFO] [stdout] --> flo_script/src/gluon_host/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::symbol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compiler` [INFO] [stdout] --> flo_script/src/script_type_description.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use gluon::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RootedThread` [INFO] [stdout] --> flo_script/src/script_type_description.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use gluon::vm::thread::{RootedThread, Thread}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionRef`, `Function`, and `Primitive` [INFO] [stdout] --> flo_script/src/script_type_description.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use gluon::vm::api::{UserdataValue, Function, FunctionRef, Primitive, VmType, Pushable, Getable, FutureResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerivedStateData` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::derived_state::{DerivedStateData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sync::oneshot` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use futures::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::*` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::any::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::symbol::*` [INFO] [stdout] --> flo_script/src/gluon_host/editor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::symbol::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_resolver` [INFO] [stdout] --> flo_script/src/script_type_description.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let state_resolver = userdata_derived_state_resolve::; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_id` [INFO] [stdout] --> flo_script/src/script_type_description.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let symbol_id = symbol.id(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> flo_script/src/script_type_description.rs:72:108 [INFO] [stdout] | [INFO] [stdout] 72 | let fun: Box vm::Result + Send + 'static> = Box::new(move |thread| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:72 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:242:70 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn set_streaming_script(&mut self, _symbol: FloScriptSymbol, script: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result, gluon::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> flo_script/src/gluon_host/computing_script.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn poll_for_simple_result(mut future_result: Box+Send>) -> (ComputingScriptState, Pol... [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match future_result.poll() { [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: variable does not need to be mutable [INFO] [stdout] --> flo_script/src/streams/input_stream_core.rs:342:25 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(mut stream) = buffers.streams.get_mut(&stream_id) { [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] [stdout] warning: field `derived_state_resolve` is never read [INFO] [stdout] --> flo_script/src/script_type_description.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ScriptTypeDescription { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | derived_state_resolve: Arc Box vm::Result + Send + 'static>+Send+Sync> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptTypeDescription` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_state_resolve_module` is never used [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GluonScriptNamespace { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root` and `compiler` are never read [INFO] [stdout] --> flo_script/src/gluon_host/computing_script.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ComputingScriptStream { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | root: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | compiler: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_field` are never used [INFO] [stdout] --> flo_script/src/gluon_host/dynamic_record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'vm> DynamicRecord<'vm> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> DynamicRecord<'vm> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_field+Send+Sync>(&mut self, name: String, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_DerivedState` [INFO] [stdout] 122 | pub struct DerivedState<'vm, TValue> { [INFO] [stdout] | ------------ `DerivedState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_resolver` [INFO] [stdout] --> flo_script/src/script_type_description.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let state_resolver = userdata_derived_state_resolve::; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_id` [INFO] [stdout] --> flo_script/src/script_type_description.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let symbol_id = symbol.id(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> flo_script/src/script_type_description.rs:72:108 [INFO] [stdout] | [INFO] [stdout] 72 | let fun: Box vm::Result + Send + 'static> = Box::new(move |thread| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flo_script` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:72 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:242:70 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn set_streaming_script(&mut self, _symbol: FloScriptSymbol, script: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result, gluon::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> flo_script/src/gluon_host/computing_script.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn poll_for_simple_result(mut future_result: Box+Send>) -> (ComputingScriptState, Pol... [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match future_result.poll() { [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: variable does not need to be mutable [INFO] [stdout] --> flo_script/src/streams/input_stream_core.rs:342:25 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(mut stream) = buffers.streams.get_mut(&stream_id) { [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] [stdout] warning: field `derived_state_resolve` is never read [INFO] [stdout] --> flo_script/src/script_type_description.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ScriptTypeDescription { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | derived_state_resolve: Arc Box vm::Result + Send + 'static>+Send+Sync> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptTypeDescription` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_state_resolve_module` is never used [INFO] [stdout] --> flo_script/src/gluon_host/core_namespace.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl GluonScriptNamespace { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn load_state_resolve_module(namespace: &GluonScriptNamespace, thread: &Thread) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl DerivedStateData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(namespace: Arc>) -> DerivedStateData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root` and `compiler` are never read [INFO] [stdout] --> flo_script/src/gluon_host/computing_script.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ComputingScriptStream { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | root: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | compiler: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_field` are never used [INFO] [stdout] --> flo_script/src/gluon_host/dynamic_record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'vm> DynamicRecord<'vm> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn new() -> DynamicRecord<'vm> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_field+Send+Sync>(&mut self, name: String, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Userdata, VmType, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_DerivedStateData` [INFO] [stdout] ... [INFO] [stdout] 25 | pub struct DerivedStateData { [INFO] [stdout] | ---------------- `DerivedStateData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> flo_script/src/gluon_host/derived_state.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_DerivedState` [INFO] [stdout] 122 | pub struct DerivedState<'vm, TValue> { [INFO] [stdout] | ------------ `DerivedState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flo_script` (lib) due to 2 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c7eb73b77ed8de94b9d16cf95d83e64d9a5601b01e7428c0d0cfb3d7744b18bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7eb73b77ed8de94b9d16cf95d83e64d9a5601b01e7428c0d0cfb3d7744b18bd", kill_on_drop: false }` [INFO] [stdout] c7eb73b77ed8de94b9d16cf95d83e64d9a5601b01e7428c0d0cfb3d7744b18bd