[INFO] fetching crate prosemirror 0.5.2...
[INFO] checking prosemirror-0.5.2 against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] extracting crate prosemirror 0.5.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate prosemirror 0.5.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate prosemirror 0.5.2
[INFO] tweaked toml for crates.io crate prosemirror 0.5.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate prosemirror 0.5.2 on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate prosemirror 0.5.2 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7
[INFO] running `Command { std: "docker" "start" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]     Checking prosemirror v0.5.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0492]: interior mutable shared borrows of temporaries that have their lifetime extended until the end of the program are not allowed
[INFO] [stdout]   --> src/model/fragment.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub const EMPTY_REF: &'static Self = &Self::EMPTY;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ this borrow of an interior mutable value refers to such a temporary
[INFO] [stdout]    |
[INFO] [stdout]    = note: temporaries in constants and statics can have their lifetime extended until the end of the program
[INFO] [stdout]    = note: to avoid accidentally creating global mutable state, such temporaries must be immutable
[INFO] [stdout]    = help: if you really want global mutable state, try replacing the temporary by an interior mutable `static` or a `static mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0492`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prosemirror` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0492]: interior mutable shared borrows of temporaries that have their lifetime extended until the end of the program are not allowed
[INFO] [stdout]   --> src/model/fragment.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub const EMPTY_REF: &'static Self = &Self::EMPTY;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^ this borrow of an interior mutable value refers to such a temporary
[INFO] [stdout]    |
[INFO] [stdout]    = note: temporaries in constants and statics can have their lifetime extended until the end of the program
[INFO] [stdout]    = note: to avoid accidentally creating global mutable state, such temporaries must be immutable
[INFO] [stdout]    = help: if you really want global mutable state, try replacing the temporary by an interior mutable `static` or a `static mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0492`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `prosemirror` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7", kill_on_drop: false }`
[INFO] [stdout] f353169de049898b37a019ed647efb4447451c2e2d828786476ae0b2fecb05f7
