[INFO] cloning repository https://github.com/logseq/rsapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/logseq/rsapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogseq%2Frsapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogseq%2Frsapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a95f2b79dc72364376b52d2921c87b001e35e4f5 [INFO] checking logseq/rsapi against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogseq%2Frsapi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/logseq/rsapi on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/logseq/rsapi [INFO] finished tweaking git repo https://github.com/logseq/rsapi [INFO] tweaked toml for git repo https://github.com/logseq/rsapi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/logseq/rsapi 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-langid v0.9.4 [INFO] [stderr] Downloaded napi-derive-backend v1.0.58 [INFO] [stderr] Downloaded i18n-embed v0.13.9 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded napi-sys v2.3.0 [INFO] [stderr] Downloaded napi-build v2.1.0 [INFO] [stderr] Downloaded i18n-embed-impl v0.8.3 [INFO] [stderr] Downloaded napi v2.14.2 [INFO] [stderr] Downloaded i18n-embed-fl v0.6.7 [INFO] [stderr] Downloaded age-core v0.9.0 [INFO] [stderr] Downloaded unic-langid-impl v0.9.4 [INFO] [stderr] Downloaded napi-derive v2.14.6 [INFO] [stderr] Downloaded age v0.9.2 [INFO] [stderr] Downloaded s3-presign v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ace36cafff54cd5c3bf69bf796d9f24a77c73a6c748ced29f7704700a8ec049 [INFO] running `Command { std: "docker" "start" "-a" "0ace36cafff54cd5c3bf69bf796d9f24a77c73a6c748ced29f7704700a8ec049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ace36cafff54cd5c3bf69bf796d9f24a77c73a6c748ced29f7704700a8ec049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ace36cafff54cd5c3bf69bf796d9f24a77c73a6c748ced29f7704700a8ec049", kill_on_drop: false }` [INFO] [stdout] 0ace36cafff54cd5c3bf69bf796d9f24a77c73a6c748ced29f7704700a8ec049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb609bad47c8e2d3d34c74102239bddddbd5eaa8f26bf83eb4baf605a55c116 [INFO] running `Command { std: "docker" "start" "-a" "4fb609bad47c8e2d3d34c74102239bddddbd5eaa8f26bf83eb4baf605a55c116", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling self_cell v1.0.3 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking io_tee v0.1.1 [INFO] [stderr] Checking base64 v0.21.6 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking napi-sys v2.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling jni v0.20.0 [INFO] [stderr] Compiling static_vcruntime v2.0.0 [INFO] [stderr] Compiling napi-build v2.1.0 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling rsapi v0.0.1 (/opt/rustwide/workdir/packages/rsapi) [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tinystr v0.7.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Checking unic-langid-impl v0.9.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking unic-langid v0.9.4 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling fluent-syntax v0.11.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking fluent-bundle v0.15.2 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking age-core v0.9.0 [INFO] [stderr] Checking fluent v0.16.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling napi-derive-backend v1.0.58 [INFO] [stderr] Compiling napi-derive v2.14.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking napi v2.14.2 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking s3-presign v0.0.2 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Compiling i18n-config v0.4.6 [INFO] [stderr] Checking sync v0.1.0 (/opt/rustwide/workdir/sync) [INFO] [stderr] Compiling i18n-embed-impl v0.8.3 [INFO] [stderr] Compiling i18n-embed v0.13.9 [INFO] [stderr] Compiling i18n-embed-fl v0.6.7 [INFO] [stderr] Checking age v0.9.2 [INFO] [stderr] Checking lsq-encryption v0.0.1 (/opt/rustwide/workdir/lsq-encryption) [INFO] [stderr] Checking rsapi-impl v0.1.0 (/opt/rustwide/workdir/rsapi-impl) [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | ... if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | ... if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rsapi-jni v0.1.0 (/opt/rustwide/workdir/rsapi-jni) [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-jni/src/lib.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = &LAST_ERROR { [INFO] [stdout] | ^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = addr_of!(LAST_ERROR) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-jni/src/lib.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = &LAST_ERROR { [INFO] [stdout] | ^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(err) = addr_of!(LAST_ERROR) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> rsapi-jni/src/lib.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn log(&self, record: &log::Record) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> rsapi-jni/src/lib.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn log(&self, record: &log::Record) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.00s [INFO] running `Command { std: "docker" "inspect" "4fb609bad47c8e2d3d34c74102239bddddbd5eaa8f26bf83eb4baf605a55c116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb609bad47c8e2d3d34c74102239bddddbd5eaa8f26bf83eb4baf605a55c116", kill_on_drop: false }` [INFO] [stdout] 4fb609bad47c8e2d3d34c74102239bddddbd5eaa8f26bf83eb4baf605a55c116 [INFO] checking logseq/rsapi against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flogseq%2Frsapi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/logseq/rsapi on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/logseq/rsapi [INFO] finished tweaking git repo https://github.com/logseq/rsapi [INFO] tweaked toml for git repo https://github.com/logseq/rsapi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/logseq/rsapi 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a658e0d07c72acb00c50fbbfddbf4463f4154f7088aa0f16d0243880d626a5aa [INFO] running `Command { std: "docker" "start" "-a" "a658e0d07c72acb00c50fbbfddbf4463f4154f7088aa0f16d0243880d626a5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a658e0d07c72acb00c50fbbfddbf4463f4154f7088aa0f16d0243880d626a5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a658e0d07c72acb00c50fbbfddbf4463f4154f7088aa0f16d0243880d626a5aa", kill_on_drop: false }` [INFO] [stdout] a658e0d07c72acb00c50fbbfddbf4463f4154f7088aa0f16d0243880d626a5aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0ec1f573317f39e5360402d353f0b4e8ff528360d1828bca7151bf45a1a825 [INFO] running `Command { std: "docker" "start" "-a" "fd0ec1f573317f39e5360402d353f0b4e8ff528360d1828bca7151bf45a1a825", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling self_cell v1.0.3 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking io_tee v0.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking base64 v0.21.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking napi-sys v2.3.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling jni v0.20.0 [INFO] [stderr] Compiling static_vcruntime v2.0.0 [INFO] [stderr] Compiling napi-build v2.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling rsapi v0.0.1 (/opt/rustwide/workdir/packages/rsapi) [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tinystr v0.7.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Checking unic-langid-impl v0.9.4 [INFO] [stderr] Checking unic-langid v0.9.4 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking fluent-syntax v0.11.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking fluent-bundle v0.15.2 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking age-core v0.9.0 [INFO] [stderr] Checking fluent v0.16.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling napi-derive-backend v1.0.58 [INFO] [stderr] Compiling napi-derive v2.14.6 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking napi v2.14.2 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking s3-presign v0.0.2 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling i18n-config v0.4.6 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Compiling i18n-embed-impl v0.8.3 [INFO] [stderr] Checking sync v0.1.0 (/opt/rustwide/workdir/sync) [INFO] [stderr] Compiling i18n-embed v0.13.9 [INFO] [stderr] Compiling i18n-embed-fl v0.6.7 [INFO] [stderr] Checking age v0.9.2 [INFO] [stderr] Checking lsq-encryption v0.0.1 (/opt/rustwide/workdir/lsq-encryption) [INFO] [stderr] Checking rsapi-impl v0.1.0 (/opt/rustwide/workdir/rsapi-impl) [INFO] [stdout] error[E0277]: expected a `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] --> rsapi-impl/src/graph.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | .map(async move |p| fs::remove_file(base_path.join(p.as_ref())).await); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(S,)>` is not implemented for `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::map` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/core/src/iter/traits/iterator.rs:802:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] --> rsapi-impl/src/graph.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | .map(async move |p| fs::remove_file(base_path.join(p.as_ref())).await); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(S,)>` is not implemented for `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::map` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/core/src/iter/traits/iterator.rs:802:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] --> rsapi-impl/src/graph.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | future::join_all(futs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected an `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(S,)>` is not implemented for `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] = note: required for `std::iter::Map< as IntoIterator>::IntoIter, {coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}>` to implement `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] --> rsapi-impl/src/graph.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | future::join_all(futs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected an `FnMut(S)` closure, found `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(S,)>` is not implemented for `{coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}` [INFO] [stdout] = note: required for `std::iter::Map< as IntoIterator>::IntoIter, {coroutine-closure@rsapi-impl/src/graph.rs:230:18: 230:32}>` to implement `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:423:49 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | ... if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> rsapi-impl/src/graph.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | ... if let Some(callback) = &PROGRESS_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(callback) = addr_of!(PROGRESS_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsapi-impl` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rsapi-impl` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd0ec1f573317f39e5360402d353f0b4e8ff528360d1828bca7151bf45a1a825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0ec1f573317f39e5360402d353f0b4e8ff528360d1828bca7151bf45a1a825", kill_on_drop: false }` [INFO] [stdout] fd0ec1f573317f39e5360402d353f0b4e8ff528360d1828bca7151bf45a1a825