[INFO] fetching crate vial 0.1.9... [INFO] testing vial-0.1.9 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate vial 0.1.9 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vial 0.1.9 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 serde v1.0.117 [INFO] [stderr] Downloaded hatter v0.1.4 [INFO] [stderr] Downloaded horrorshow v0.8.3 [INFO] [stderr] Downloaded serde_json v1.0.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09fd1e0c4b9f31923182c092541df534aefb2ee3eff575833d2af96a15d432be [INFO] running `Command { std: "docker" "start" "-a" "09fd1e0c4b9f31923182c092541df534aefb2ee3eff575833d2af96a15d432be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09fd1e0c4b9f31923182c092541df534aefb2ee3eff575833d2af96a15d432be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fd1e0c4b9f31923182c092541df534aefb2ee3eff575833d2af96a15d432be", kill_on_drop: false }` [INFO] [stdout] 09fd1e0c4b9f31923182c092541df534aefb2ee3eff575833d2af96a15d432be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d24c21e3827cb72ca8874a505394c228345ebc1435d46d11d1dec4652a8143cd [INFO] running `Command { std: "docker" "start" "-a" "d24c21e3827cb72ca8874a505394c228345ebc1435d46d11d1dec4652a8143cd", 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] error: 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: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::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::AtomicUsize::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 { [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: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/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: 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: 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> { [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> { [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::().as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/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: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vial` (lib) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d24c21e3827cb72ca8874a505394c228345ebc1435d46d11d1dec4652a8143cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24c21e3827cb72ca8874a505394c228345ebc1435d46d11d1dec4652a8143cd", kill_on_drop: false }` [INFO] [stdout] d24c21e3827cb72ca8874a505394c228345ebc1435d46d11d1dec4652a8143cd