[INFO] fetching crate region 3.0.2...
[INFO] building region-3.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate region 3.0.2 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate region 3.0.2
[INFO] finished tweaking crates.io crate region 3.0.2
[INFO] tweaked toml for crates.io crate region 3.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate region 3.0.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 17 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.10.0)
[INFO] [stderr]       Adding mach2 v0.4.3 (available: v0.5.0)
[INFO] [stderr]       Adding windows-sys v0.52.0 (available: v0.61.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9197cacf26361ed57437f3f2fe56e9871ae717413e40ac84e576aa2d2cb10e8
[INFO] running `Command { std: "docker" "start" "-a" "f9197cacf26361ed57437f3f2fe56e9871ae717413e40ac84e576aa2d2cb10e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9197cacf26361ed57437f3f2fe56e9871ae717413e40ac84e576aa2d2cb10e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9197cacf26361ed57437f3f2fe56e9871ae717413e40ac84e576aa2d2cb10e8", kill_on_drop: false }`
[INFO] [stdout] f9197cacf26361ed57437f3f2fe56e9871ae717413e40ac84e576aa2d2cb10e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2a88a561ba1e61ee93ddbe66f32ec0006fc8651d974c35ce963195541097df3
[INFO] running `Command { std: "docker" "start" "-a" "e2a88a561ba1e61ee93ddbe66f32ec0006fc8651d974c35ce963195541097df3", kill_on_drop: false }`
[INFO] [stderr]    Compiling region v3.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "e2a88a561ba1e61ee93ddbe66f32ec0006fc8651d974c35ce963195541097df3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2a88a561ba1e61ee93ddbe66f32ec0006fc8651d974c35ce963195541097df3", kill_on_drop: false }`
[INFO] [stdout] e2a88a561ba1e61ee93ddbe66f32ec0006fc8651d974c35ce963195541097df3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be0aa6f37c509213e9f13d316fe3b0007eb1aa86330c62daad7d5a6474bdf2e4
[INFO] running `Command { std: "docker" "start" "-a" "be0aa6f37c509213e9f13d316fe3b0007eb1aa86330c62daad7d5a6474bdf2e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling mmap-fixed v0.1.6
[INFO] [stderr]    Compiling region v3.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/protect.rs:182:7
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let address = &mut protect_can_alter_text_segments as *mut _ as *mut u8;
[INFO] [stdout]     |                   ---------------------------------------------------------
[INFO] [stdout]     |                   |    |
[INFO] [stdout]     |                   |    backing allocation comes from here
[INFO] [stdout]     |                   casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 182 |       *address = 0x90;
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `fn() {protect::tests::protect_can_alter_text_segments}` (0 bytes) to `u8` (1 bytes)
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `region` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "be0aa6f37c509213e9f13d316fe3b0007eb1aa86330c62daad7d5a6474bdf2e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be0aa6f37c509213e9f13d316fe3b0007eb1aa86330c62daad7d5a6474bdf2e4", kill_on_drop: false }`
[INFO] [stdout] be0aa6f37c509213e9f13d316fe3b0007eb1aa86330c62daad7d5a6474bdf2e4
