[INFO] cloning repository https://github.com/robinvandernoord/ntfy-log [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinvandernoord/ntfy-log" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvandernoord%2Fntfy-log", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvandernoord%2Fntfy-log'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad127cbcd1fb348b167305de0f87c7ce8a9e1309 [INFO] testing robinvandernoord/ntfy-log against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinvandernoord%2Fntfy-log" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/robinvandernoord/ntfy-log [INFO] finished tweaking git repo https://github.com/robinvandernoord/ntfy-log [INFO] tweaked toml for git repo https://github.com/robinvandernoord/ntfy-log written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robinvandernoord/ntfy-log on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robinvandernoord/ntfy-log 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d9b9526ea7dfeb54eb03ac509d1ce7ca7f40a89d5688ef6632fb0929237f761 [INFO] running `Command { std: "docker" "start" "-a" "2d9b9526ea7dfeb54eb03ac509d1ce7ca7f40a89d5688ef6632fb0929237f761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d9b9526ea7dfeb54eb03ac509d1ce7ca7f40a89d5688ef6632fb0929237f761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9b9526ea7dfeb54eb03ac509d1ce7ca7f40a89d5688ef6632fb0929237f761", kill_on_drop: false }` [INFO] [stdout] 2d9b9526ea7dfeb54eb03ac509d1ce7ca7f40a89d5688ef6632fb0929237f761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 720e1a246fc705e2b2ae2219bce7f73cf6ddd45c637c4c0fddc9d0703d3ea02a [INFO] running `Command { std: "docker" "start" "-a" "720e1a246fc705e2b2ae2219bce7f73cf6ddd45c637c4c0fddc9d0703d3ea02a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling clap-verbosity-flag v2.2.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-socks v0.5.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ntfy v0.4.0 [INFO] [stderr] Compiling ntfy-log v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { &GLOBAL_LOGGER.inner_logger } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { &raw const GLOBAL_LOGGER.inner_logger } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { &GLOBAL_LOGGER.inner_logger.prefix } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { &raw const GLOBAL_LOGGER.inner_logger.prefix } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | *GLOBAL_LOGGER.inner_logger.prefix.borrow_mut() = Some(prefix.to_string()); [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/log.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 180 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | *GLOBAL_LOGGER.inner_logger.verbosity.borrow_mut() = verbosity.log_level(); [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/log.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 191 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "720e1a246fc705e2b2ae2219bce7f73cf6ddd45c637c4c0fddc9d0703d3ea02a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720e1a246fc705e2b2ae2219bce7f73cf6ddd45c637c4c0fddc9d0703d3ea02a", kill_on_drop: false }` [INFO] [stdout] 720e1a246fc705e2b2ae2219bce7f73cf6ddd45c637c4c0fddc9d0703d3ea02a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 169dc80929c4924cb6be9ca8818e6d5952f0c20b22d794dea5ad517a64a9ec8e [INFO] running `Command { std: "docker" "start" "-a" "169dc80929c4924cb6be9ca8818e6d5952f0c20b22d794dea5ad517a64a9ec8e", kill_on_drop: false }` [INFO] [stderr] Compiling ntfy-log v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { &GLOBAL_LOGGER.inner_logger } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { &raw const GLOBAL_LOGGER.inner_logger } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { &GLOBAL_LOGGER.inner_logger.prefix } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { &raw const GLOBAL_LOGGER.inner_logger.prefix } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | *GLOBAL_LOGGER.inner_logger.prefix.borrow_mut() = Some(prefix.to_string()); [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/log.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 180 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | *GLOBAL_LOGGER.inner_logger.verbosity.borrow_mut() = verbosity.log_level(); [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/log.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 191 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "169dc80929c4924cb6be9ca8818e6d5952f0c20b22d794dea5ad517a64a9ec8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169dc80929c4924cb6be9ca8818e6d5952f0c20b22d794dea5ad517a64a9ec8e", kill_on_drop: false }` [INFO] [stdout] 169dc80929c4924cb6be9ca8818e6d5952f0c20b22d794dea5ad517a64a9ec8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6a881bd2619c7ad346ee9a724f1218293a48cb2478c5103f193e59d4a6e668d [INFO] running `Command { std: "docker" "start" "-a" "f6a881bd2619c7ad346ee9a724f1218293a48cb2478c5103f193e59d4a6e668d", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/log.rs:164:18 [INFO] [stderr] | [INFO] [stderr] 164 | unsafe { &GLOBAL_LOGGER.inner_logger } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 164 | unsafe { &raw const GLOBAL_LOGGER.inner_logger } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/log.rs:174:18 [INFO] [stderr] | [INFO] [stderr] 174 | unsafe { &GLOBAL_LOGGER.inner_logger.prefix } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 174 | unsafe { &raw const GLOBAL_LOGGER.inner_logger.prefix } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/log.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | *GLOBAL_LOGGER.inner_logger.prefix.borrow_mut() = Some(prefix.to_string()); [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/log.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 180 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/log.rs:190:14 [INFO] [stderr] | [INFO] [stderr] 190 | *GLOBAL_LOGGER.inner_logger.verbosity.borrow_mut() = verbosity.log_level(); [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/log.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | &GLOBAL_LOGGER.inner_logger [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 191 | &raw const GLOBAL_LOGGER.inner_logger [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ntfy-log` (bin "ntfy-log" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ntfy_log-88919bbfae534c36) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test log::tests::test_instances ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6a881bd2619c7ad346ee9a724f1218293a48cb2478c5103f193e59d4a6e668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a881bd2619c7ad346ee9a724f1218293a48cb2478c5103f193e59d4a6e668d", kill_on_drop: false }` [INFO] [stdout] f6a881bd2619c7ad346ee9a724f1218293a48cb2478c5103f193e59d4a6e668d