[INFO] fetching crate raw_struct 0.3.0...
[INFO] checking raw_struct-0.3.0 against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] extracting crate raw_struct 0.3.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate raw_struct 0.3.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate raw_struct 0.3.0
[INFO] tweaked toml for crates.io crate raw_struct 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate raw_struct 0.3.0 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 raw_struct 0.3.0 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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5
[INFO] running `Command { std: "docker" "start" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5", 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" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5", 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" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling raw_struct_derive v0.3.0
[INFO] [stderr]     Checking raw_struct v0.3.0 (/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]  --> tests/typed.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[raw_struct(size = 0x00)]
[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]   = note: this error originates in the attribute macro `raw_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0492`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raw_struct` (test "typed") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5", kill_on_drop: false }`
[INFO] [stdout] 9daaf4c94eaa46b35743d36d89af464bac466bc137d43d5d4534be978e1dacc5
