[INFO] cloning repository https://github.com/ferrum-lang/ferrum_runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ferrum-lang/ferrum_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrum-lang%2Fferrum_runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrum-lang%2Fferrum_runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef618aaef232db1f131a162fced3cb76a126173b [INFO] checking ferrum-lang/ferrum_runtime against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrum-lang%2Fferrum_runtime" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ferrum-lang/ferrum_runtime on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ferrum-lang/ferrum_runtime [INFO] finished tweaking git repo https://github.com/ferrum-lang/ferrum_runtime [INFO] tweaked toml for git repo https://github.com/ferrum-lang/ferrum_runtime written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ferrum-lang/ferrum_runtime 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd32e05d2b5188d3ffbb956ca1ffb014435ce5b5e4ebc55a3ca1fe1fd7d34240 [INFO] running `Command { std: "docker" "start" "-a" "cd32e05d2b5188d3ffbb956ca1ffb014435ce5b5e4ebc55a3ca1fe1fd7d34240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd32e05d2b5188d3ffbb956ca1ffb014435ce5b5e4ebc55a3ca1fe1fd7d34240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd32e05d2b5188d3ffbb956ca1ffb014435ce5b5e4ebc55a3ca1fe1fd7d34240", kill_on_drop: false }` [INFO] [stdout] cd32e05d2b5188d3ffbb956ca1ffb014435ce5b5e4ebc55a3ca1fe1fd7d34240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b784cb6407f6a8995afde2b98cadeb5365b15f15bdec5d9562e2c20123a72263 [INFO] running `Command { std: "docker" "start" "-a" "b784cb6407f6a8995afde2b98cadeb5365b15f15bdec5d9562e2c20123a72263", kill_on_drop: false }` [INFO] [stderr] Checking ferrum_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/utils/mem.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut_ptr = const_ptr as *mut T; [INFO] [stdout] | ------------------- casting happened here [INFO] [stdout] 6 | ptr::write(&mut *mut_ptr, value); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/utils/mem.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut_ptr = const_ptr as *mut T; [INFO] [stdout] | ------------------- casting happened here [INFO] [stdout] 6 | ptr::write(&mut *mut_ptr, value); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrum_runtime` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ferrum_runtime` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b784cb6407f6a8995afde2b98cadeb5365b15f15bdec5d9562e2c20123a72263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b784cb6407f6a8995afde2b98cadeb5365b15f15bdec5d9562e2c20123a72263", kill_on_drop: false }` [INFO] [stdout] b784cb6407f6a8995afde2b98cadeb5365b15f15bdec5d9562e2c20123a72263