[INFO] fetching crate vial 0.1.9...
[INFO] testing vial-0.1.9 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate vial 0.1.9 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate vial 0.1.9 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87282ac6698fc2cd90d9ed9ac93ba4b9ae863b8fd996c5765759248c85a79d86
[INFO] running `Command { std: "docker" "start" "-a" "87282ac6698fc2cd90d9ed9ac93ba4b9ae863b8fd996c5765759248c85a79d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87282ac6698fc2cd90d9ed9ac93ba4b9ae863b8fd996c5765759248c85a79d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87282ac6698fc2cd90d9ed9ac93ba4b9ae863b8fd996c5765759248c85a79d86", kill_on_drop: false }`
[INFO] [stdout] 87282ac6698fc2cd90d9ed9ac93ba4b9ae863b8fd996c5765759248c85a79d86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed2634db361bb363f98bd51b5337f82e36561a0a2a41f83552aeccafbf55ea4c
[INFO] running `Command { std: "docker" "start" "-a" "ed2634db361bb363f98bd51b5337f82e36561a0a2a41f83552aeccafbf55ea4c", 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.86s
[INFO] running `Command { std: "docker" "inspect" "ed2634db361bb363f98bd51b5337f82e36561a0a2a41f83552aeccafbf55ea4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed2634db361bb363f98bd51b5337f82e36561a0a2a41f83552aeccafbf55ea4c", kill_on_drop: false }`
[INFO] [stdout] ed2634db361bb363f98bd51b5337f82e36561a0a2a41f83552aeccafbf55ea4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfe4f3180f184ca6d4beef68aa3691b40227b13dd2fe27e298805a13fb2258fa
[INFO] running `Command { std: "docker" "start" "-a" "bfe4f3180f184ca6d4beef68aa3691b40227b13dd2fe27e298805a13fb2258fa", 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] [stderr]    Compiling vial v0.1.9 (/opt/rustwide/workdir)
[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] [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.54s
[INFO] running `Command { std: "docker" "inspect" "bfe4f3180f184ca6d4beef68aa3691b40227b13dd2fe27e298805a13fb2258fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfe4f3180f184ca6d4beef68aa3691b40227b13dd2fe27e298805a13fb2258fa", kill_on_drop: false }`
[INFO] [stdout] bfe4f3180f184ca6d4beef68aa3691b40227b13dd2fe27e298805a13fb2258fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d59335e3826db76f8ef007a582b7af52a0f358c9e656b2ca0537394fa9aa2af9
[INFO] running `Command { std: "docker" "start" "-a" "d59335e3826db76f8ef007a582b7af52a0f358c9e656b2ca0537394fa9aa2af9", 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.05s
[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/lib.rs - (line 72) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 348) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::bundle_assets (line 262) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::run (line 46) - compile ... ok
[INFO] [stdout] test src/request.rs - request::Request::cache (line 354) - compile ... ok
[INFO] [stdout] test src/asset.rs - asset (line 45) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 114) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::asset_dir (line 212) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 323) - compile ... ok
[INFO] [stdout] test src/response.rs - response::Response (line 50) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::run (line 20) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 84) - compile ... ok
[INFO] [stdout] test src/request.rs - request::Request::cache (line 347) ... ok
[INFO] [stdout] test src/macros.rs - macros::use_state (line 126) - compile ... ok
[INFO] [stdout] test src/macros.rs - macros::routes (line 375) ... 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.55s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d59335e3826db76f8ef007a582b7af52a0f358c9e656b2ca0537394fa9aa2af9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d59335e3826db76f8ef007a582b7af52a0f358c9e656b2ca0537394fa9aa2af9", kill_on_drop: false }`
[INFO] [stdout] d59335e3826db76f8ef007a582b7af52a0f358c9e656b2ca0537394fa9aa2af9
