[INFO] cloning repository https://github.com/marcohoovy/print-sentinel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcohoovy/print-sentinel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcohoovy%2Fprint-sentinel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcohoovy%2Fprint-sentinel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab09faaddaa55309f1f99b27715d68bf4f307faa [INFO] checking marcohoovy/print-sentinel against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcohoovy%2Fprint-sentinel" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcohoovy/print-sentinel [INFO] finished tweaking git repo https://github.com/marcohoovy/print-sentinel [INFO] tweaked toml for git repo https://github.com/marcohoovy/print-sentinel written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcohoovy/print-sentinel on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcohoovy/print-sentinel 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.90 [INFO] [stderr] Downloaded iso8601 v0.4.2 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded xmlrpc v0.15.1 [INFO] [stderr] Downloaded syn v2.0.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8523bb798689d373df3d5ede7e2200e968f2f5091cb3ee0120197257cf8f44c [INFO] running `Command { std: "docker" "start" "-a" "c8523bb798689d373df3d5ede7e2200e968f2f5091cb3ee0120197257cf8f44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8523bb798689d373df3d5ede7e2200e968f2f5091cb3ee0120197257cf8f44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8523bb798689d373df3d5ede7e2200e968f2f5091cb3ee0120197257cf8f44c", kill_on_drop: false }` [INFO] [stdout] c8523bb798689d373df3d5ede7e2200e968f2f5091cb3ee0120197257cf8f44c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb728cc0778602e92ffc84251ff219254a8b1bdb60708583e9ce9229e4cc72d [INFO] running `Command { std: "docker" "start" "-a" "4fb728cc0778602e92ffc84251ff219254a8b1bdb60708583e9ce9229e4cc72d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.81 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking iso8601 v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking xmlrpc v0.15.1 [INFO] [stderr] Checking print-sentinel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | async fn protection_runaway_get() -> String { unsafe { THERMAL_RUNAWAY_ACT.to_string() } } [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/main.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | async fn protection_runaway_get_margin() -> String { unsafe { THERMAL_RUNAWAY_ERROR_MARGIN.to_string() } } [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 shared reference to mutable static [INFO] [stdout] --> src/main.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | async fn protection_runaway_get_triggered() -> String { unsafe { THERMAL_RUNAWAY_INPROGRESS.to_string() } } [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 shared reference to mutable static [INFO] [stdout] --> src/main.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | async fn protection_runaway_get() -> String { unsafe { THERMAL_RUNAWAY_ACT.to_string() } } [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/main.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | async fn protection_runaway_get_margin() -> String { unsafe { THERMAL_RUNAWAY_ERROR_MARGIN.to_string() } } [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 shared reference to mutable static [INFO] [stdout] --> src/main.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | async fn protection_runaway_get_triggered() -> String { unsafe { THERMAL_RUNAWAY_INPROGRESS.to_string() } } [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 46s [INFO] running `Command { std: "docker" "inspect" "4fb728cc0778602e92ffc84251ff219254a8b1bdb60708583e9ce9229e4cc72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb728cc0778602e92ffc84251ff219254a8b1bdb60708583e9ce9229e4cc72d", kill_on_drop: false }` [INFO] [stdout] 4fb728cc0778602e92ffc84251ff219254a8b1bdb60708583e9ce9229e4cc72d