[INFO] cloning repository https://github.com/pshc/rusthack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pshc/rusthack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshc%2Frusthack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshc%2Frusthack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a4d538badad95ed7fc35e02b22a07e2196983cf [INFO] checking pshc/rusthack against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpshc%2Frusthack" "/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/pshc/rusthack [INFO] finished tweaking git repo https://github.com/pshc/rusthack [INFO] tweaked toml for git repo https://github.com/pshc/rusthack written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pshc/rusthack on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pshc/rusthack 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 562822c77c142431f9d2ca1e9970cf57e046fdbf71894d0c471912793cba65d4 [INFO] running `Command { std: "docker" "start" "-a" "562822c77c142431f9d2ca1e9970cf57e046fdbf71894d0c471912793cba65d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "562822c77c142431f9d2ca1e9970cf57e046fdbf71894d0c471912793cba65d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562822c77c142431f9d2ca1e9970cf57e046fdbf71894d0c471912793cba65d4", kill_on_drop: false }` [INFO] [stdout] 562822c77c142431f9d2ca1e9970cf57e046fdbf71894d0c471912793cba65d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6183b0260cd67789532df64fa09f32327fcba84c37c35dd97b220c0f16d0bded [INFO] running `Command { std: "docker" "start" "-a" "6183b0260cd67789532df64fa09f32327fcba84c37c35dd97b220c0f16d0bded", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.8 [INFO] [stderr] Checking ncurses v5.73.0 [INFO] [stderr] Checking hack v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> src/io.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | signal(SIGINT, transmute(interrupt)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: unsafe extern "C" fn(i32) {interrupt} [INFO] [stdout] = note: target type: u64 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | keypad(stdscr, true); [INFO] [stdout] | ^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0591. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hack` (bin "hack") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> src/io.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | signal(SIGINT, transmute(interrupt)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: unsafe extern "C" fn(i32) {interrupt} [INFO] [stdout] = note: target type: u64 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | keypad(stdscr, true); [INFO] [stdout] | ^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0591. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hack` (bin "hack" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6183b0260cd67789532df64fa09f32327fcba84c37c35dd97b220c0f16d0bded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6183b0260cd67789532df64fa09f32327fcba84c37c35dd97b220c0f16d0bded", kill_on_drop: false }` [INFO] [stdout] 6183b0260cd67789532df64fa09f32327fcba84c37c35dd97b220c0f16d0bded