[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupenn-cis198-2018f%2Flecture8" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/upenn-cis198-2018f/lecture8 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eb04b722c01caaac4aefbd3b055af4b73bd454ed2c6994bdaeb3a43323b00cd [INFO] running `Command { std: "docker" "start" "-a" "5eb04b722c01caaac4aefbd3b055af4b73bd454ed2c6994bdaeb3a43323b00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eb04b722c01caaac4aefbd3b055af4b73bd454ed2c6994bdaeb3a43323b00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb04b722c01caaac4aefbd3b055af4b73bd454ed2c6994bdaeb3a43323b00cd", kill_on_drop: false }` [INFO] [stdout] 5eb04b722c01caaac4aefbd3b055af4b73bd454ed2c6994bdaeb3a43323b00cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad3cb22b41d2a3dc4ea054424e507e90c39e2dc5b487264af033afac29ee772 [INFO] running `Command { std: "docker" "start" "-a" "cad3cb22b41d2a3dc4ea054424e507e90c39e2dc5b487264af033afac29ee772", kill_on_drop: false }` [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 happend 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: aborting due to 1 previous error [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 happend 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lecture8` (bin "lecture8") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lecture8` (bin "lecture8" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cad3cb22b41d2a3dc4ea054424e507e90c39e2dc5b487264af033afac29ee772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad3cb22b41d2a3dc4ea054424e507e90c39e2dc5b487264af033afac29ee772", kill_on_drop: false }` [INFO] [stdout] cad3cb22b41d2a3dc4ea054424e507e90c39e2dc5b487264af033afac29ee772