[INFO] cloning repository https://github.com/Nercury/hack-the-crab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nercury/hack-the-crab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fhack-the-crab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fhack-the-crab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02531b362dac1f077d9f92b76770bcc52d62344 [INFO] checking Nercury/hack-the-crab/a02531b362dac1f077d9f92b76770bcc52d62344 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fhack-the-crab" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nercury/hack-the-crab on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Nercury/hack-the-crab [INFO] finished tweaking git repo https://github.com/Nercury/hack-the-crab [INFO] tweaked toml for git repo https://github.com/Nercury/hack-the-crab written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nercury/hack-the-crab 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.6 [INFO] [stderr] Downloaded nb v0.1.2 [INFO] [stderr] Downloaded cortex-m v0.6.1 [INFO] [stderr] Downloaded as-slice v0.1.2 [INFO] [stderr] Downloaded rtfm-core v0.3.0 [INFO] [stderr] Downloaded aligned v0.3.1 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Downloaded panic-semihosting v0.5.3 [INFO] [stderr] Downloaded stm32g0xx-hal v0.0.8 [INFO] [stderr] Downloaded rtfm-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.1 [INFO] [stderr] Downloaded cortex-m-rtfm v0.5.0 [INFO] [stderr] Downloaded embedded-hal v0.2.3 [INFO] [stderr] Downloaded cortex-m-rt v0.6.10 [INFO] [stderr] Downloaded stm32g0 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a0fe1f1bdf16f905847d6eed8a0d2d3004bf7beb51322f1059d0fdc45691cac [INFO] running `Command { std: "docker" "start" "-a" "4a0fe1f1bdf16f905847d6eed8a0d2d3004bf7beb51322f1059d0fdc45691cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a0fe1f1bdf16f905847d6eed8a0d2d3004bf7beb51322f1059d0fdc45691cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0fe1f1bdf16f905847d6eed8a0d2d3004bf7beb51322f1059d0fdc45691cac", kill_on_drop: false }` [INFO] [stdout] 4a0fe1f1bdf16f905847d6eed8a0d2d3004bf7beb51322f1059d0fdc45691cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3683f379fd4d27ea0a4cac576dfb63b8b8c8295e2b0b3d75c729b5c5f43de819 [INFO] running `Command { std: "docker" "start" "-a" "3683f379fd4d27ea0a4cac576dfb63b8b8c8295e2b0b3d75c729b5c5f43de819", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling stm32g0 v0.10.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m-rtfm v0.5.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Checking rtfm-core v0.3.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Checking aligned v0.3.1 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Compiling rtfm-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.6 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.5.0 [INFO] [stderr] Checking stm32g0xx-hal v0.0.8 [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/stm32g0xx-hal-0.0.8/src/rng.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | let bytes: [$type; BATCH_SIZE] = unsafe { mem::transmute(random_word) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | rng_core!(usize, u32, u16, u8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `u32` (32 bits) [INFO] [stdout] = note: target type: `[usize; 0]` (0 bits) [INFO] [stdout] = note: this error originates in the macro `rng_core` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32g0xx-hal` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3683f379fd4d27ea0a4cac576dfb63b8b8c8295e2b0b3d75c729b5c5f43de819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3683f379fd4d27ea0a4cac576dfb63b8b8c8295e2b0b3d75c729b5c5f43de819", kill_on_drop: false }` [INFO] [stdout] 3683f379fd4d27ea0a4cac576dfb63b8b8c8295e2b0b3d75c729b5c5f43de819