[INFO] fetching crate unstyled_macro 0.1.3... [INFO] testing unstyled_macro-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate unstyled_macro 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate unstyled_macro 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate unstyled_macro 0.1.3 [INFO] tweaked toml for crates.io crate unstyled_macro 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unstyled_macro 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unstyled_macro 0.1.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded xxhash-rust v0.8.6 [INFO] [stderr] Downloaded typed-builder v0.14.0 [INFO] [stderr] Downloaded server_fn_macro v0.4.10 [INFO] [stderr] Downloaded server_fn v0.4.10 [INFO] [stderr] Downloaded server_fn_macro_default v0.4.10 [INFO] [stderr] Downloaded serde_qs v0.12.0 [INFO] [stderr] Downloaded drain_filter_polyfill v0.1.3 [INFO] [stderr] Downloaded attribute-derive v0.6.1 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded async-trait v0.1.73 [INFO] [stderr] Downloaded pest_meta v2.7.2 [INFO] [stderr] Downloaded config v0.13.3 [INFO] [stderr] Downloaded base64 v0.21.3 [INFO] [stderr] Downloaded memchr v2.6.0 [INFO] [stderr] Downloaded reqwest v0.11.20 [INFO] [stderr] Downloaded leptos_macro v0.4.10 [INFO] [stderr] Downloaded educe v0.4.22 [INFO] [stderr] Downloaded leptos_dom v0.4.10 [INFO] [stderr] Downloaded derive-where v1.2.3 [INFO] [stderr] Downloaded leptos_hot_reload v0.4.10 [INFO] [stderr] Downloaded leptos_reactive v0.4.10 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.7.2 [INFO] [stderr] Downloaded async-recursion v1.0.4 [INFO] [stderr] Downloaded interpolator v0.5.0 [INFO] [stderr] Downloaded proc-macro-utils v0.8.0 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded leptos_server v0.4.10 [INFO] [stderr] Downloaded pest_generator v2.7.2 [INFO] [stderr] Downloaded inventory v0.3.11 [INFO] [stderr] Downloaded self_cell v1.0.1 [INFO] [stderr] Downloaded enum-ordinalize v3.1.13 [INFO] [stderr] Downloaded pad-adapter v0.1.1 [INFO] [stderr] Downloaded collection_literals v1.0.1 [INFO] [stderr] Downloaded attribute-derive-macro v0.6.1 [INFO] [stderr] Downloaded utf8-width v0.1.6 [INFO] [stderr] Downloaded syn_derive v0.1.6 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded leptos v0.4.10 [INFO] [stderr] Downloaded tracing-attributes v0.1.26 [INFO] [stderr] Downloaded leptos_config v0.4.10 [INFO] [stderr] Downloaded quote-use v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e50deb42954c78b456d030509c0021df3bca9db5d4a7f1bd9a00aa539ff7abeb [INFO] running `Command { std: "docker" "start" "-a" "e50deb42954c78b456d030509c0021df3bca9db5d4a7f1bd9a00aa539ff7abeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e50deb42954c78b456d030509c0021df3bca9db5d4a7f1bd9a00aa539ff7abeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50deb42954c78b456d030509c0021df3bca9db5d4a7f1bd9a00aa539ff7abeb", kill_on_drop: false }` [INFO] [stdout] e50deb42954c78b456d030509c0021df3bca9db5d4a7f1bd9a00aa539ff7abeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 627866dd3d4c35867d6ce80a88a201ac4e5f500fdadfa8e627327be325a892c9 [INFO] running `Command { std: "docker" "start" "-a" "627866dd3d4c35867d6ce80a88a201ac4e5f500fdadfa8e627327be325a892c9", kill_on_drop: false }` [INFO] [stderr] Compiling unstyled_macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if GENERATED_STYLES.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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | GENERATED_STYLES.replace(HashMap::new()); [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/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if GENERATED_STYLES.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/lib.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &mut GENERATED_STYLES { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &raw mut GENERATED_STYLES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(styles) = &GENERATED_STYLES { [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] 56 | if let Some(styles) = &raw const GENERATED_STYLES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "627866dd3d4c35867d6ce80a88a201ac4e5f500fdadfa8e627327be325a892c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627866dd3d4c35867d6ce80a88a201ac4e5f500fdadfa8e627327be325a892c9", kill_on_drop: false }` [INFO] [stdout] 627866dd3d4c35867d6ce80a88a201ac4e5f500fdadfa8e627327be325a892c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d42ab81d9b26a6e044d8a5f3f40bf1050b860fbba88f57e543f31ababaa7f63 [INFO] running `Command { std: "docker" "start" "-a" "9d42ab81d9b26a6e044d8a5f3f40bf1050b860fbba88f57e543f31ababaa7f63", kill_on_drop: false }` [INFO] [stderr] Compiling unstyled_macro v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if GENERATED_STYLES.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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | GENERATED_STYLES.replace(HashMap::new()); [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/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if GENERATED_STYLES.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/lib.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &mut GENERATED_STYLES { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &raw mut GENERATED_STYLES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(styles) = &GENERATED_STYLES { [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] 56 | if let Some(styles) = &raw const GENERATED_STYLES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if GENERATED_STYLES.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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | GENERATED_STYLES.replace(HashMap::new()); [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/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if GENERATED_STYLES.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/lib.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &mut GENERATED_STYLES { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(styles) = &raw mut GENERATED_STYLES { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(styles) = &GENERATED_STYLES { [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] 56 | if let Some(styles) = &raw const GENERATED_STYLES { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "9d42ab81d9b26a6e044d8a5f3f40bf1050b860fbba88f57e543f31ababaa7f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d42ab81d9b26a6e044d8a5f3f40bf1050b860fbba88f57e543f31ababaa7f63", kill_on_drop: false }` [INFO] [stdout] 9d42ab81d9b26a6e044d8a5f3f40bf1050b860fbba88f57e543f31ababaa7f63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8025565d00cf72c7d533df3abb99d404cdc6983321430dbe2ed79593ad92e4c8 [INFO] running `Command { std: "docker" "start" "-a" "8025565d00cf72c7d533df3abb99d404cdc6983321430dbe2ed79593ad92e4c8", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | if GENERATED_STYLES.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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | GENERATED_STYLES.replace(HashMap::new()); [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/lib.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | if GENERATED_STYLES.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/lib.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | if let Some(styles) = &mut GENERATED_STYLES { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 40 | if let Some(styles) = &raw mut GENERATED_STYLES { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:56:31 [INFO] [stderr] | [INFO] [stderr] 56 | if let Some(styles) = &GENERATED_STYLES { [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] 56 | if let Some(styles) = &raw const GENERATED_STYLES { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `unstyled_macro` (lib) generated 5 warnings [INFO] [stderr] warning: `unstyled_macro` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unstyled_macro-5075cf9ff23438cf) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test::test_at_import ... ok [INFO] [stdout] test test::test_at_layer ... ok [INFO] [stdout] test test::test_at_media ... ok [INFO] [stdout] test test::test_at_page ... ok [INFO] [stdout] test test::test_combined_descendent ... ok [INFO] [stdout] test test::test_combined_sibling ... ok [INFO] [stdout] test test::test_combined_child ... ok [INFO] [stdout] test test::test_pseudo_element ... ok [INFO] [stdout] test test::test_pseudo_element_corrected ... ok [INFO] [stdout] test test::test_mixed_selectors ... ok [INFO] [stdout] test test::test_pseudo_selector_deep ... ok [INFO] [stdout] test test::test_simple_attr ... ok [INFO] [stdout] test test::test_simple_class ... ok [INFO] [stdout] test test::test_simple_pseudo ... ok [INFO] [stdout] test test::test_simple_tag ... ok [INFO] [stdout] test test::test_simple_id ... ok [INFO] [stdout] test test::test_at_keyframes ... ok [INFO] [stdout] test test::test_combined_generic ... ok [INFO] [stderr] Doc-tests unstyled_macro [INFO] [stdout] test test::test_combined_namespace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "8025565d00cf72c7d533df3abb99d404cdc6983321430dbe2ed79593ad92e4c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8025565d00cf72c7d533df3abb99d404cdc6983321430dbe2ed79593ad92e4c8", kill_on_drop: false }` [INFO] [stdout] 8025565d00cf72c7d533df3abb99d404cdc6983321430dbe2ed79593ad92e4c8