[INFO] cloning repository https://github.com/dotcypress/shim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dotcypress/shim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fshim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fshim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92247ba3f84708717527e44f1ec133b734d89aad [INFO] testing dotcypress/shim against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fshim" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dotcypress/shim on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/dotcypress/shim [INFO] finished tweaking git repo https://github.com/dotcypress/shim [INFO] tweaked toml for git repo https://github.com/dotcypress/shim written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/dotcypress/shim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Downloaded cortex-m-rtfm v0.4.3 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded owned-singleton-macros v0.1.0 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded owned-singleton v0.1.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.9 [INFO] [stderr] Downloaded stm32g0xx-hal v0.0.3 [INFO] [stderr] Downloaded stm32g0 v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a7dc8fb77a51972cd60dff2d3a377db761cf0922f830129db7dfc20c8f98c36 [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" "0a7dc8fb77a51972cd60dff2d3a377db761cf0922f830129db7dfc20c8f98c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a7dc8fb77a51972cd60dff2d3a377db761cf0922f830129db7dfc20c8f98c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7dc8fb77a51972cd60dff2d3a377db761cf0922f830129db7dfc20c8f98c36", kill_on_drop: false }` [INFO] [stdout] 0a7dc8fb77a51972cd60dff2d3a377db761cf0922f830129db7dfc20c8f98c36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba1b1add3edba76c20d4ee99315e0f62ccb11815cd348460a4026a721b9718f [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" "0ba1b1add3edba76c20d4ee99315e0f62ccb11815cd348460a4026a721b9718f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling cortex-m-rt v0.6.9 [INFO] [stderr] Compiling stm32g0 v0.7.1 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.3 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling as-slice v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aligned v0.3.1 [INFO] [stderr] Compiling cortex-m v0.6.0 [INFO] [stderr] Compiling panic-semihosting v0.5.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Compiling owned-singleton v0.1.0 [INFO] [stderr] Compiling stm32g0xx-hal v0.0.3 [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/stm32g0xx-hal-0.0.3/src/rng.rs:167:67 [INFO] [stdout] | [INFO] [stdout] 167 | let bytes: [$type; BATCH_SIZE] = unsafe { mem::transmute(random_word) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | 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 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0ba1b1add3edba76c20d4ee99315e0f62ccb11815cd348460a4026a721b9718f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba1b1add3edba76c20d4ee99315e0f62ccb11815cd348460a4026a721b9718f", kill_on_drop: false }` [INFO] [stdout] 0ba1b1add3edba76c20d4ee99315e0f62ccb11815cd348460a4026a721b9718f