[INFO] cloning repository https://github.com/upenn-cis198-2018f/lecture8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upenn-cis198-2018f/lecture8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 539f8f443639491be71409f0248499065a58b53d [INFO] checking upenn-cis198-2018f/lecture8 against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture8" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/upenn-cis198-2018f/lecture8 [INFO] finished tweaking git repo https://github.com/upenn-cis198-2018f/lecture8 [INFO] tweaked toml for git repo https://github.com/upenn-cis198-2018f/lecture8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/upenn-cis198-2018f/lecture8 on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/upenn-cis198-2018f/lecture8 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a735e06ae35791c31ac62c5c3d6619ea6fd8462efd5e345e00168e6329f43b22 [INFO] running `Command { std: "docker" "start" "-a" "a735e06ae35791c31ac62c5c3d6619ea6fd8462efd5e345e00168e6329f43b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a735e06ae35791c31ac62c5c3d6619ea6fd8462efd5e345e00168e6329f43b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a735e06ae35791c31ac62c5c3d6619ea6fd8462efd5e345e00168e6329f43b22", kill_on_drop: false }` [INFO] [stdout] a735e06ae35791c31ac62c5c3d6619ea6fd8462efd5e345e00168e6329f43b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9eab2fdc806632bcf0bcc644586c67fe4dd9b02970e896c03d5d9aa8d22d6c [INFO] running `Command { std: "docker" "start" "-a" "cb9eab2fdc806632bcf0bcc644586c67fe4dd9b02970e896c03d5d9aa8d22d6c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking lecture8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/unsafe_code.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mutable = shared as *const i32 as *mut i32; [INFO] [stdout] | -------------------------------- casting happened here [INFO] [stdout] 159 | *mutable = 20; [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: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/unsafe_code.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mutable = shared as *const i32 as *mut i32; [INFO] [stdout] | -------------------------------- casting happened here [INFO] [stdout] 159 | *mutable = 20; [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 `lecture8` (bin "lecture8") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lecture8` (bin "lecture8" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "cb9eab2fdc806632bcf0bcc644586c67fe4dd9b02970e896c03d5d9aa8d22d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9eab2fdc806632bcf0bcc644586c67fe4dd9b02970e896c03d5d9aa8d22d6c", kill_on_drop: false }` [INFO] [stdout] cb9eab2fdc806632bcf0bcc644586c67fe4dd9b02970e896c03d5d9aa8d22d6c