[INFO] fetching crate workflow-nw 0.18.0... [INFO] testing workflow-nw-0.18.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate workflow-nw 0.18.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate workflow-nw 0.18.0 [INFO] finished tweaking crates.io crate workflow-nw 0.18.0 [INFO] tweaked toml for crates.io crate workflow-nw 0.18.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate workflow-nw 0.18.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 210 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e80c1a99d6f730661b004008d356e28abc74992902a2f5c9fbab8eae2a35d9e4 [INFO] running `Command { std: "docker" "start" "-a" "e80c1a99d6f730661b004008d356e28abc74992902a2f5c9fbab8eae2a35d9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80c1a99d6f730661b004008d356e28abc74992902a2f5c9fbab8eae2a35d9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80c1a99d6f730661b004008d356e28abc74992902a2f5c9fbab8eae2a35d9e4", kill_on_drop: false }` [INFO] [stdout] e80c1a99d6f730661b004008d356e28abc74992902a2f5c9fbab8eae2a35d9e4 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92ec3a69f0d15584fe87cb62749c6c9d901155765a6fc0ac3096c847e85c8a78 [INFO] running `Command { std: "docker" "start" "-a" "92ec3a69f0d15584fe87cb62749c6c9d901155765a6fc0ac3096c847e85c8a78", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rlimit v0.10.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling hexplay v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling triggered v0.1.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parse-variants-derive v1.0.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parse-variants v1.0.8 [INFO] [stderr] Compiling workflow-macro-tools v0.18.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling workflow-log v0.18.0 [INFO] [stderr] Compiling workflow-core-macros v0.18.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling faster-hex v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling workflow-core v0.18.0 [INFO] [stderr] Compiling workflow-wasm-macros v0.18.0 [INFO] [stderr] Compiling workflow-panic-hook v0.18.0 [INFO] [stderr] Compiling nw-sys v0.1.6 [INFO] [stderr] Compiling workflow-wasm v0.18.0 [INFO] [stderr] Compiling workflow-dom v0.18.0 [INFO] [stderr] Compiling workflow-nw v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/ipc.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stdout] 24 + Box, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/method.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub type MethodFnReturn = Pin>)>>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub type MethodFnReturn = Pin>)>>; [INFO] [stdout] 16 + pub type MethodFnReturn = Pin>>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/notification.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Pin>)>>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - Pin>)>>; [INFO] [stdout] 17 + Pin>>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/application.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { APP.clone() } [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if PENDING.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | PENDING.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | / IPC_HANDLER_SOURCE [INFO] [stdout] 338 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "92ec3a69f0d15584fe87cb62749c6c9d901155765a6fc0ac3096c847e85c8a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ec3a69f0d15584fe87cb62749c6c9d901155765a6fc0ac3096c847e85c8a78", kill_on_drop: false }` [INFO] [stdout] 92ec3a69f0d15584fe87cb62749c6c9d901155765a6fc0ac3096c847e85c8a78 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee742249452604bd8808e5728a4b8d24f0094a82b97336db7d07e6fe95f1dcb [INFO] running `Command { std: "docker" "start" "-a" "1ee742249452604bd8808e5728a4b8d24f0094a82b97336db7d07e6fe95f1dcb", kill_on_drop: false }` [INFO] [stderr] Compiling workflow-nw v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/ipc.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stdout] 24 + Box, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/method.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub type MethodFnReturn = Pin>)>>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub type MethodFnReturn = Pin>)>>; [INFO] [stdout] 16 + pub type MethodFnReturn = Pin>>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ipc/notification.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Pin>)>>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - Pin>)>>; [INFO] [stdout] 17 + Pin>>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/application.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { APP.clone() } [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if PENDING.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | PENDING.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ipc/ipc.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | / IPC_HANDLER_SOURCE [INFO] [stdout] 338 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "1ee742249452604bd8808e5728a4b8d24f0094a82b97336db7d07e6fe95f1dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee742249452604bd8808e5728a4b8d24f0094a82b97336db7d07e6fe95f1dcb", kill_on_drop: false }` [INFO] [stdout] 1ee742249452604bd8808e5728a4b8d24f0094a82b97336db7d07e6fe95f1dcb [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 590ad2e514d53fd1588e5718c40c220fb51d058c4ce6e1f60fdc9f28d93b3bac [INFO] running `Command { std: "docker" "start" "-a" "590ad2e514d53fd1588e5718c40c220fb51d058c4ce6e1f60fdc9f28d93b3bac", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ipc/ipc.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 24 - Box<(dyn Fn(Vec, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send)>, [INFO] [stderr] 24 + Box, ResponseResult>, Option<&Duration>) -> Result<()> + Sync + Send >, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ipc/method.rs:16:38 [INFO] [stderr] | [INFO] [stderr] 16 | pub type MethodFnReturn = Pin>)>>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 16 - pub type MethodFnReturn = Pin>)>>; [INFO] [stderr] 16 + pub type MethodFnReturn = Pin>>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/ipc/notification.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | Pin>)>>; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - Pin>)>>; [INFO] [stderr] 17 + Pin>>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/application.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | unsafe { APP.clone() } [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:70:16 [INFO] [stderr] | [INFO] [stderr] 70 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | if IPC_HANDLER_SOURCE.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | IPC_HANDLER_SOURCE.replace(target); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:304:12 [INFO] [stderr] | [INFO] [stderr] 304 | if PENDING.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | PENDING.as_mut().unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ipc/ipc.rs:337:13 [INFO] [stderr] | [INFO] [stderr] 337 | / IPC_HANDLER_SOURCE [INFO] [stderr] 338 | | .as_ref() [INFO] [stderr] | |_________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `workflow-nw` (lib test) generated 11 warnings (run `cargo fix --lib -p workflow-nw --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/workflow_nw-374bef3140ff6b71) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "590ad2e514d53fd1588e5718c40c220fb51d058c4ce6e1f60fdc9f28d93b3bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590ad2e514d53fd1588e5718c40c220fb51d058c4ce6e1f60fdc9f28d93b3bac", kill_on_drop: false }` [INFO] [stdout] 590ad2e514d53fd1588e5718c40c220fb51d058c4ce6e1f60fdc9f28d93b3bac