[INFO] fetching crate vial 0.1.9...
[INFO] testing vial-0.1.9 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate vial 0.1.9 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate vial 0.1.9
[INFO] removed 6 missing examples
[INFO] finished tweaking crates.io crate vial 0.1.9
[INFO] tweaked toml for crates.io crate vial 0.1.9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate vial 0.1.9 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate vial 0.1.9 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc-strftime v0.2.0
[INFO] [stderr]   Downloaded cookie2 v0.12.0
[INFO] [stderr]   Downloaded horrorshow v0.8.3
[INFO] [stderr]   Downloaded hatter v0.1.4
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f79a35913ff8baf1a3834e0abd2dada8ec35688a7b7c0590e25f9069fda0c09b
[INFO] running `Command { std: "docker" "start" "-a" "f79a35913ff8baf1a3834e0abd2dada8ec35688a7b7c0590e25f9069fda0c09b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f79a35913ff8baf1a3834e0abd2dada8ec35688a7b7c0590e25f9069fda0c09b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f79a35913ff8baf1a3834e0abd2dada8ec35688a7b7c0590e25f9069fda0c09b", kill_on_drop: false }`
[INFO] [stdout] f79a35913ff8baf1a3834e0abd2dada8ec35688a7b7c0590e25f9069fda0c09b
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba6af6ad032a1f76f14ec4a648960bfdfaf836b0f1bbe1e1602c9160460e60e6
[INFO] running `Command { std: "docker" "start" "-a" "ba6af6ad032a1f76f14ec4a648960bfdfaf836b0f1bbe1e1602c9160460e60e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling vial v0.1.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling libc-strftime v0.2.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stdout] warning: unknown `doc` attribute `Hidden`
[INFO] [stdout]    --> src/request.rs:303:11
[INFO] [stdout]     |
[INFO] [stdout] 303 |     #[doc(Hidden)]
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_doc_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |         while self.mutex.compare_and_swap(0, 1, Ordering::SeqCst) != 0 {}
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |         assert!(self.mutex.compare_and_swap(1, 0, Ordering::SeqCst) == 1);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/asset.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<str> {
[INFO] [stdout]    |                   ^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<'_, str> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/asset.rs:123:14
[INFO] [stdout]     |
[INFO] [stdout] 123 |     unsafe { crate::BUNDLED_ASSETS.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/asset.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |     unsafe { crate::ASSET_DIR.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/request.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<str>> {
[INFO] [stdout]     |                   ^^^^^                        ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<'_, str>> {
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     unsafe { STORAGE.as_ref().unwrap().get::<T>().as_ref().unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         STORAGE.as_ref().unwrap().set(o);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.10s
[INFO] running `Command { std: "docker" "inspect" "ba6af6ad032a1f76f14ec4a648960bfdfaf836b0f1bbe1e1602c9160460e60e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba6af6ad032a1f76f14ec4a648960bfdfaf836b0f1bbe1e1602c9160460e60e6", kill_on_drop: false }`
[INFO] [stdout] ba6af6ad032a1f76f14ec4a648960bfdfaf836b0f1bbe1e1602c9160460e60e6
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f60bb829c121e9e165072585db29f6679610f7a5a17eed3ce59f2c3a7ec6c09e
[INFO] running `Command { std: "docker" "start" "-a" "f60bb829c121e9e165072585db29f6679610f7a5a17eed3ce59f2c3a7ec6c09e", kill_on_drop: false }`
[INFO] [stdout] warning: unknown `doc` attribute `Hidden`
[INFO] [stdout]    --> src/request.rs:303:11
[INFO] [stdout]     |
[INFO] [stdout] 303 |     #[doc(Hidden)]
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_doc_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |         while self.mutex.compare_and_swap(0, 1, Ordering::SeqCst) != 0 {}
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |         assert!(self.mutex.compare_and_swap(1, 0, Ordering::SeqCst) == 1);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/asset.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<str> {
[INFO] [stdout]    |                   ^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<'_, str> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/asset.rs:123:14
[INFO] [stdout]     |
[INFO] [stdout] 123 |     unsafe { crate::BUNDLED_ASSETS.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/asset.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |     unsafe { crate::ASSET_DIR.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/request.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<str>> {
[INFO] [stdout]     |                   ^^^^^                        ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<'_, str>> {
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     unsafe { STORAGE.as_ref().unwrap().get::<T>().as_ref().unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling vial v0.1.9 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         STORAGE.as_ref().unwrap().set(o);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown `doc` attribute `Hidden`
[INFO] [stdout]    --> src/request.rs:303:11
[INFO] [stdout]     |
[INFO] [stdout] 303 |     #[doc(Hidden)]
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(invalid_doc_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |         while self.mutex.compare_and_swap(0, 1, Ordering::SeqCst) != 0 {}
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]   --> src/cache.rs:75:28
[INFO] [stdout]    |
[INFO] [stdout] 75 |         assert!(self.mutex.compare_and_swap(1, 0, Ordering::SeqCst) == 1);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/asset.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<str> {
[INFO] [stdout]    |                   ^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn etag(path: &str) -> Cow<'_, str> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/asset.rs:123:14
[INFO] [stdout]     |
[INFO] [stdout] 123 |     unsafe { crate::BUNDLED_ASSETS.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/asset.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |     unsafe { crate::ASSET_DIR.as_ref() }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/request.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<str>> {
[INFO] [stdout]     |                   ^^^^^                        ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn header(&self, name: &str) -> Option<Cow<'_, str>> {
[INFO] [stdout]     |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     unsafe { STORAGE.as_ref().unwrap().get::<T>().as_ref().unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/storage.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         STORAGE.as_ref().unwrap().set(o);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "f60bb829c121e9e165072585db29f6679610f7a5a17eed3ce59f2c3a7ec6c09e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f60bb829c121e9e165072585db29f6679610f7a5a17eed3ce59f2c3a7ec6c09e", kill_on_drop: false }`
[INFO] [stdout] f60bb829c121e9e165072585db29f6679610f7a5a17eed3ce59f2c3a7ec6c09e
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2854ba74b2b86a6defd294807323936c30e7ca34cd6d2c515cf4624474d0f750
[INFO] running `Command { std: "docker" "start" "-a" "2854ba74b2b86a6defd294807323936c30e7ca34cd6d2c515cf4624474d0f750", kill_on_drop: false }`
[INFO] [stderr] warning: unknown `doc` attribute `Hidden`
[INFO] [stderr]    --> src/request.rs:303:11
[INFO] [stderr]     |
[INFO] [stderr] 303 |     #[doc(Hidden)]
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(invalid_doc_attributes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stderr]   --> src/cache.rs:70:26
[INFO] [stderr]    |
[INFO] [stderr] 70 |         while self.mutex.compare_and_swap(0, 1, Ordering::SeqCst) != 0 {}
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stderr]   --> src/cache.rs:75:28
[INFO] [stderr]    |
[INFO] [stderr] 75 |         assert!(self.mutex.compare_and_swap(1, 0, Ordering::SeqCst) == 1);
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/asset.rs:73:19
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn etag(path: &str) -> Cow<str> {
[INFO] [stderr]    |                   ^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn etag(path: &str) -> Cow<'_, str> {
[INFO] [stderr]    |                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/asset.rs:123:14
[INFO] [stderr]     |
[INFO] [stderr] 123 |     unsafe { crate::BUNDLED_ASSETS.as_ref() }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/asset.rs:151:14
[INFO] [stderr]     |
[INFO] [stderr] 151 |     unsafe { crate::ASSET_DIR.as_ref() }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/request.rs:267:19
[INFO] [stderr]     |
[INFO] [stderr] 267 |     pub fn header(&self, name: &str) -> Option<Cow<str>> {
[INFO] [stderr]     |                   ^^^^^                        ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 267 |     pub fn header(&self, name: &str) -> Option<Cow<'_, str>> {
[INFO] [stderr]     |                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/storage.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 |     unsafe { STORAGE.as_ref().unwrap().get::<T>().as_ref().unwrap() }
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/storage.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |         STORAGE.as_ref().unwrap().set(o);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `vial` (lib) generated 9 warnings (run `cargo fix --lib -p vial` to apply 2 suggestions)
[INFO] [stderr] warning: `vial` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vial-01b3550a12597af3)
[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] [stderr]    Doc-tests vial
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/lib.rs - (line 146) ... ignored
[INFO] [stdout] test src/macros.rs - macros::run_with_banner (line 78) ... ignored
[INFO] [stdout] test src/macros.rs - macros::run_with_banner (line 86) ... ignored
[INFO] [stdout] test src/macros.rs - macros::run_with_banner (line 92) ... ignored
[INFO] [stdout] test src/request.rs - request::Request::state (line 423) ... ignored
[INFO] [stdout] test src/macros.rs - macros::run (line 20) - compile ... ok
[INFO] [stdout] test src/asset.rs - asset (line 45) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::use_state (line 126) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 114) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 323) - compile ... ok
[INFO] [stdout] test src/request.rs - request::Request::cache (line 354) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 375) ... ok
[INFO] [stdout] test src/response.rs - response::Response (line 50) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 72) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 348) - compile ... ok
[INFO] [stdout] test src/request.rs - request::Request::cache (line 347) ... ok
[INFO] [stdout] test src/macros.rs - macros::asset_dir (line 212) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::bundle_assets (line 262) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 84) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::run (line 46) - compile ... ok
[INFO] [stdout] test src/cache.rs - cache::TypeCache (line 17) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 16 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.86s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2854ba74b2b86a6defd294807323936c30e7ca34cd6d2c515cf4624474d0f750", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2854ba74b2b86a6defd294807323936c30e7ca34cd6d2c515cf4624474d0f750", kill_on_drop: false }`
[INFO] [stdout] 2854ba74b2b86a6defd294807323936c30e7ca34cd6d2c515cf4624474d0f750
