[INFO] cloning repository https://github.com/pdf-rs/inspect-prim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdf-rs/inspect-prim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2b1048e350cb25bcab3f29f641ecb509e2d0630 [INFO] documenting pdf-rs/inspect-prim against beta-2022-07-10 for beta-1.63-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdf-rs/inspect-prim on toolchain beta-2022-07-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pdf-rs/inspect-prim [INFO] finished tweaking git repo https://github.com/pdf-rs/inspect-prim [INFO] tweaked toml for git repo https://github.com/pdf-rs/inspect-prim written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pdf-rs/inspect-prim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d57d636d38610027c0d45e1115aba25dfd91e24f2cb15e0f9a32aed514d80030 [INFO] running `Command { std: "docker" "start" "-a" "d57d636d38610027c0d45e1115aba25dfd91e24f2cb15e0f9a32aed514d80030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d57d636d38610027c0d45e1115aba25dfd91e24f2cb15e0f9a32aed514d80030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57d636d38610027c0d45e1115aba25dfd91e24f2cb15e0f9a32aed514d80030", kill_on_drop: false }` [INFO] [stdout] d57d636d38610027c0d45e1115aba25dfd91e24f2cb15e0f9a32aed514d80030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8a6558d58547e5568f42c44edfec4536cf9ec9c02d2b1d8ef89aadae4e2b5f [INFO] running `Command { std: "docker" "start" "-a" "9a8a6558d58547e5568f42c44edfec4536cf9ec9c02d2b1d8ef89aadae4e2b5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking ordermap v0.2.13 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling imgui-sys v0.0.15 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Checking tuple v0.4.3 (https://github.com/s3bk/tuple#c1d2eef8) [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking pdf v0.7.0 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pdf-3ef1c528a9b91eec/23aa71a/pdf/src/primitive.rs:115:72 [INFO] [stdout] | [INFO] [stdout] 115 | write!(f, "<{}>", self.iter().format_with(", ", |(k, v), f| f(&format_args!("{}={}", k, v)))) [INFO] [stdout] | - ---^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | temporary value is freed at the end of this statement [INFO] [stdout] | | | creates a temporary which is freed while still in use [INFO] [stdout] | | argument requires that borrow lasts for `'1` [INFO] [stdout] | has type `&mut dyn FnMut(&'1 (dyn std::fmt::Display + '1)) -> std::result::Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `k` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pdf-3ef1c528a9b91eec/23aa71a/pdf/src/primitive.rs:115:94 [INFO] [stdout] | [INFO] [stdout] 115 | write!(f, "<{}>", self.iter().format_with(", ", |(k, v), f| f(&format_args!("{}={}", k, v)))) [INFO] [stdout] | - -------------------------^----- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `k` dropped here while still borrowed [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `k` is borrowed for `'1` [INFO] [stdout] | has type `&mut dyn FnMut(&'1 (dyn std::fmt::Display + '1)) -> std::result::Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `v` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pdf-3ef1c528a9b91eec/23aa71a/pdf/src/primitive.rs:115:97 [INFO] [stdout] | [INFO] [stdout] 115 | write!(f, "<{}>", self.iter().format_with(", ", |(k, v), f| f(&format_args!("{}={}", k, v)))) [INFO] [stdout] | - ----------------------------^-- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `v` dropped here while still borrowed [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `v` is borrowed for `'1` [INFO] [stdout] | has type `&mut dyn FnMut(&'1 (dyn std::fmt::Display + '1)) -> std::result::Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/pdf-3ef1c528a9b91eec/23aa71a/pdf/src/primitive.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 114 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the associated function body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 115 | write!(f, "<{}>", self.iter().format_with(", ", |(k, v), f| f(&format_args!("{}={}", k, v)))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking imgui v0.0.15 [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pdf` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9a8a6558d58547e5568f42c44edfec4536cf9ec9c02d2b1d8ef89aadae4e2b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8a6558d58547e5568f42c44edfec4536cf9ec9c02d2b1d8ef89aadae4e2b5f", kill_on_drop: false }` [INFO] [stdout] 9a8a6558d58547e5568f42c44edfec4536cf9ec9c02d2b1d8ef89aadae4e2b5f