[INFO] cloning repository https://github.com/mattico/miscompilation-repro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattico/miscompilation-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattico%2Fmiscompilation-repro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattico%2Fmiscompilation-repro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7dd880fa9bbc085dc6eb84558f2fae4f52f6248 [INFO] checking mattico/miscompilation-repro against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattico%2Fmiscompilation-repro" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattico/miscompilation-repro on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattico/miscompilation-repro [INFO] removed path dependency stm32h7xx-hal from git repo https://github.com/mattico/miscompilation-repro [INFO] finished tweaking git repo https://github.com/mattico/miscompilation-repro [INFO] tweaked toml for git repo https://github.com/mattico/miscompilation-repro written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/mattico/miscompilation-repro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (stm32h7xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (stm32h7xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 750b782e7e618c9cdeef12bb1a3266c46844e61eb2839889afbe3529d545b044 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "750b782e7e618c9cdeef12bb1a3266c46844e61eb2839889afbe3529d545b044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "750b782e7e618c9cdeef12bb1a3266c46844e61eb2839889afbe3529d545b044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750b782e7e618c9cdeef12bb1a3266c46844e61eb2839889afbe3529d545b044", kill_on_drop: false }` [INFO] [stdout] 750b782e7e618c9cdeef12bb1a3266c46844e61eb2839889afbe3529d545b044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7b145d81914951c9687ac0f61a1391e1bd6b7a6612ccdd99b66c8752da5d04 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3c7b145d81914951c9687ac0f61a1391e1bd6b7a6612ccdd99b66c8752da5d04", kill_on_drop: false }` [INFO] [stderr] warning: dependency (stm32h7xx-hal) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling stm32h7 v0.12.1 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m-log v0.6.2 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking sdio-host v0.4.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking panic-rtt-target v0.1.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32h7xx-hal v0.8.0 [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32h7xx-hal-0.8.0/src/rng.rs:110:67 [INFO] [stdout] | [INFO] [stdout] 110 | let bytes: [$type; BATCH_SIZE] = unsafe { mem::transmute(random_word) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | rng_core!(usize); [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 `stm32h7xx-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3c7b145d81914951c9687ac0f61a1391e1bd6b7a6612ccdd99b66c8752da5d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7b145d81914951c9687ac0f61a1391e1bd6b7a6612ccdd99b66c8752da5d04", kill_on_drop: false }` [INFO] [stdout] 3c7b145d81914951c9687ac0f61a1391e1bd6b7a6612ccdd99b66c8752da5d04