[INFO] cloning repository https://github.com/realm-labs/elara
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realm-labs/elara" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealm-labs%2Felara", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealm-labs%2Felara'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6d45bc63cb998221abdf611795df0efb5a4970d3
[INFO] checking realm-labs/elara against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealm-labs%2Felara" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/realm-labs/elara
[INFO] finished tweaking git repo https://github.com/realm-labs/elara
[INFO] tweaked toml for git repo https://github.com/realm-labs/elara written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/realm-labs/elara 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 git repo https://github.com/realm-labs/elara 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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32
[INFO] running `Command { std: "docker" "start" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32", 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" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32", 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" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cranelift-srcgen v0.132.1
[INFO] [stderr]    Compiling wasmtime-internal-core v45.0.1
[INFO] [stderr]    Compiling cranelift-isle v0.132.1
[INFO] [stderr]     Checking elara-core v0.1.0 (/opt/rustwide/workdir/crates/elara-core)
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.132.1
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]     Checking bumpalo v3.20.3
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.132.1
[INFO] [stderr]     Checking rustc-hash v2.1.2
[INFO] [stderr]     Checking arbitrary v1.4.2
[INFO] [stderr]     Checking regalloc2 v0.15.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking cranelift-bitset v0.132.1
[INFO] [stderr]     Checking cranelift-entity v0.132.1
[INFO] [stderr]     Checking elara-bytecode v0.1.0 (/opt/rustwide/workdir/crates/elara-bytecode)
[INFO] [stderr]     Checking gimli v0.33.0
[INFO] [stderr]     Checking region v3.0.2
[INFO] [stderr]     Checking cranelift-bforest v0.132.1
[INFO] [stderr]     Checking wasmtime-internal-jit-icache-coherence v45.0.1
[INFO] [stderr]     Checking memmap2 v0.2.3
[INFO] [stderr]     Checking elara-interp v0.1.0 (/opt/rustwide/workdir/crates/elara-interp)
[INFO] [stderr]     Checking cranelift-control v0.132.1
[INFO] [stderr]     Checking elara-syntax v0.1.0 (/opt/rustwide/workdir/crates/elara-syntax)
[INFO] [stderr]     Checking elara-stdlib v0.1.0 (/opt/rustwide/workdir/crates/elara-stdlib)
[INFO] [stderr]    Compiling elara-capi v0.1.0 (/opt/rustwide/workdir/crates/elara-capi)
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.132.1
[INFO] [stderr]     Checking elara-compiler v0.1.0 (/opt/rustwide/workdir/crates/elara-compiler)
[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]   --> crates/elara-stdlib/src/math.rs:45:46
[INFO] [stdout]    |
[INFO] [stdout] 45 |   pub const MATH_CONSTANTS: &[(&str, Value)] = &[
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 46 | |     ("pi", Value::float(PI)),
[INFO] [stdout] 47 | |     ("huge", Value::float(LuaFloat::INFINITY)),
[INFO] [stdout] 48 | |     ("maxinteger", Value::integer(i64::MAX)),
[INFO] [stdout] 49 | |     ("mininteger", Value::integer(i64::MIN)),
[INFO] [stdout] 50 | | ];
[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 `elara-stdlib` (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]   --> crates/elara-stdlib/src/math.rs:45:46
[INFO] [stdout]    |
[INFO] [stdout] 45 |   pub const MATH_CONSTANTS: &[(&str, Value)] = &[
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 46 | |     ("pi", Value::float(PI)),
[INFO] [stdout] 47 | |     ("huge", Value::float(LuaFloat::INFINITY)),
[INFO] [stdout] 48 | |     ("maxinteger", Value::integer(i64::MAX)),
[INFO] [stdout] 49 | |     ("mininteger", Value::integer(i64::MIN)),
[INFO] [stdout] 50 | | ];
[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 `elara-stdlib` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32", kill_on_drop: false }`
[INFO] [stdout] c622fe24e8421be6f694142cde49017f35bd11c6354e2ac9c0ce2c73d6fa7b32
