[INFO] cloning repository https://github.com/rwittek/Kappahack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rwittek/Kappahack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwittek%2FKappahack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwittek%2FKappahack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 874ce9cc45b43ad04a0600e52fe4a38ade928cd8 [INFO] checking rwittek/Kappahack against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwittek%2FKappahack" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rwittek/Kappahack [INFO] finished tweaking git repo https://github.com/rwittek/Kappahack [INFO] tweaked toml for git repo https://github.com/rwittek/Kappahack written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rwittek/Kappahack on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rwittek/Kappahack 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `keepo` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.1 [INFO] [stderr] Downloaded libc v0.1.6 [INFO] [stderr] Downloaded crc v0.3.0 [INFO] [stderr] Downloaded gcc v0.3.4 [INFO] [stderr] Downloaded kernel32-sys v0.1.0 [INFO] [stderr] Downloaded rand v0.3.7 [INFO] [stderr] Downloaded lazy_static v0.1.10 [INFO] [stderr] Downloaded winapi v0.1.17 [INFO] [stderr] Downloaded user32-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c269930cbbab61a3bcd8f97b55bacfdf3a0a43c91b8ad33d812bcdb1eb0c487 [INFO] running `Command { std: "docker" "start" "-a" "0c269930cbbab61a3bcd8f97b55bacfdf3a0a43c91b8ad33d812bcdb1eb0c487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c269930cbbab61a3bcd8f97b55bacfdf3a0a43c91b8ad33d812bcdb1eb0c487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c269930cbbab61a3bcd8f97b55bacfdf3a0a43c91b8ad33d812bcdb1eb0c487", kill_on_drop: false }` [INFO] [stdout] 0c269930cbbab61a3bcd8f97b55bacfdf3a0a43c91b8ad33d812bcdb1eb0c487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81853f59ccc5f85816618f4889ffe8de68dda44ec21d32b1b15e0a633e743eb8 [INFO] running `Command { std: "docker" "start" "-a" "81853f59ccc5f85816618f4889ffe8de68dda44ec21d32b1b15e0a633e743eb8", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `keepo` library target) [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.6 [INFO] [stderr] Compiling kernel32-sys v0.1.0 [INFO] [stderr] Compiling user32-sys v0.1.0 [INFO] [stderr] Compiling gcc v0.3.4 [INFO] [stderr] Checking lazy_static v0.1.10 [INFO] [stderr] Checking crc v0.3.0 [INFO] [stderr] Checking winapi v0.1.17 [INFO] [stderr] Checking log v0.3.1 [INFO] [stderr] Compiling Kappahack v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.7 [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::num::{Float, Int}; [INFO] [stdout] | ^^^^^ ^^^ no `Int` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `Kappahack v0.0.1 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/Kappahack-6ee73ed73d8474ac/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CARGO_MANIFEST_DIR = Some("/opt/rustwide/workdir") [INFO] [stderr] OUT_DIR = Some("/opt/rustwide/target/debug/build/Kappahack-84c7f0bc00982994/out") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("3") [INFO] [stderr] PROFILE = Some("debug") [INFO] [stderr] debug 3 [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] running: "cc" "-O3" "-c" "-ffunction-sections" "-fdata-sections" "-m64" "-fPIC" "/opt/rustwide/workdir/sdk.cpp" "-o" "/opt/rustwide/target/debug/build/Kappahack-84c7f0bc00982994/out/sdk.o" [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] command did not execute successfully, got: exit status: 1 [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/workdir/sdk.cpp:1:10: fatal error: windows.h: No such file or directory [INFO] [stderr] 1 | #include [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] compilation terminated. [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gcc-0.3.4/src/lib.rs:380:5: [INFO] [stderr] explicit panic [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56830fb95322 - ::fmt::h0ee684fa48ea65a9 [INFO] [stderr] 1: 0x56830fbb60d3 - core::fmt::write::ha7e9dac23b0574fc [INFO] [stderr] 2: 0x56830fb92623 - std::io::Write::write_fmt::h74c2ee93ac2161e6 [INFO] [stderr] 3: 0x56830fb95172 - std::sys::backtrace::BacktraceLock::print::h5d2ec0ae212b38da [INFO] [stderr] 4: 0x56830fb96276 - std::panicking::default_hook::{{closure}}::h919f804d261dd9ce [INFO] [stderr] 5: 0x56830fb96079 - std::panicking::default_hook::h96273494815ab2d6 [INFO] [stderr] 6: 0x56830fb96c42 - std::panicking::rust_panic_with_hook::hd760048b5d2d6151 [INFO] [stderr] 7: 0x56830fb96b1c - std::panicking::begin_panic::{{closure}}::h0bbea762d52cf25f [INFO] [stderr] 8: 0x56830fb95819 - std::sys::backtrace::__rust_end_short_backtrace::h20122906e53e0f20 [INFO] [stderr] 9: 0x56830fb96a32 - std::panicking::begin_panic::h4e6700e3e8dfaa7a [INFO] [stderr] 10: 0x56830fb61d2d - gcc::fail::h664c936184dd07bd [INFO] [stderr] 11: 0x56830fb5ffda - gcc::run::h282413268692b50a [INFO] [stderr] 12: 0x56830fb5f056 - gcc::Config::compile::h64568917a9a9d751 [INFO] [stderr] 13: 0x56830fb5e175 - gcc::compile_library::h94056b21e43faf28 [INFO] [stderr] 14: 0x56830fb5c84f - build_script_build::main::hbf6d52903c458726 [INFO] [stderr] 15: 0x56830fb5c813 - core::ops::function::FnOnce::call_once::hb9891306be2741ea [INFO] [stderr] 16: 0x56830fb5c7b6 - std::sys::backtrace::__rust_begin_short_backtrace::hf5bc506b5e69289e [INFO] [stderr] 17: 0x56830fb5c799 - std::rt::lang_start::{{closure}}::ha2fbde96a2b69c80 [INFO] [stderr] 18: 0x56830fb8ec40 - std::rt::lang_start_internal::hc492c42d25e8d5e6 [INFO] [stderr] 19: 0x56830fb5c781 - std::rt::lang_start::hd6f7741effc839f9 [INFO] [stderr] 20: 0x56830fb5c875 - main [INFO] [stderr] 21: 0x76f405e4c1ca - [INFO] [stderr] 22: 0x76f405e4c28b - __libc_start_main [INFO] [stderr] 23: 0x56830fb5c695 - _start [INFO] [stderr] 24: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `distributions::range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Range` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `distributions::range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Range` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `checked_add` on ambiguous numeric type `{integer}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.3.7/src/distributions/mod.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | running_total = match running_total.checked_add(item.weight) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 133 | let mut running_total: i32 = 0; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 4 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winapi-0.1.17/src/winuser.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub const PM_QS_INPUT: ::UINT = QS_INPUT << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winapi-0.1.17/src/winuser.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub const PM_QS_POSTMESSAGE: ::UINT = (QS_POSTMESSAGE | QS_HOTKEY | QS_TIMER) << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winapi-0.1.17/src/winuser.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | pub const PM_QS_PAINT: ::UINT = QS_PAINT << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winapi-0.1.17/src/winuser.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub const PM_QS_SENDMESSAGE: ::UINT = QS_SENDMESSAGE << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winapi` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "81853f59ccc5f85816618f4889ffe8de68dda44ec21d32b1b15e0a633e743eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81853f59ccc5f85816618f4889ffe8de68dda44ec21d32b1b15e0a633e743eb8", kill_on_drop: false }` [INFO] [stdout] 81853f59ccc5f85816618f4889ffe8de68dda44ec21d32b1b15e0a633e743eb8