[INFO] cloning repository https://github.com/levirogalla/rust-stm32-rtos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/levirogalla/rust-stm32-rtos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevirogalla%2Frust-stm32-rtos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevirogalla%2Frust-stm32-rtos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73fd242b2975c6d5b8a7be36e869febdd746393f [INFO] checking levirogalla/rust-stm32-rtos against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevirogalla%2Frust-stm32-rtos" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/levirogalla/rust-stm32-rtos [INFO] finished tweaking git repo https://github.com/levirogalla/rust-stm32-rtos [INFO] tweaked toml for git repo https://github.com/levirogalla/rust-stm32-rtos written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/levirogalla/rust-stm32-rtos on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/levirogalla/rust-stm32-rtos 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtt-target v0.6.1 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded cc v1.2.13 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df29cd1c82c01229214479c9a6ed453d73ff36a1223be8d4ce6ac2ae1b22ede4 [INFO] running `Command { std: "docker" "start" "-a" "df29cd1c82c01229214479c9a6ed453d73ff36a1223be8d4ce6ac2ae1b22ede4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df29cd1c82c01229214479c9a6ed453d73ff36a1223be8d4ce6ac2ae1b22ede4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df29cd1c82c01229214479c9a6ed453d73ff36a1223be8d4ce6ac2ae1b22ede4", kill_on_drop: false }` [INFO] [stdout] df29cd1c82c01229214479c9a6ed453d73ff36a1223be8d4ce6ac2ae1b22ede4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 929d95de45f0b018ce9d0968910cbac5ddedc79b52b80f24c7b4bc3a20dbf344 [INFO] running `Command { std: "docker" "start" "-a" "929d95de45f0b018ce9d0968910cbac5ddedc79b52b80f24c7b4bc3a20dbf344", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking rtt-target v0.6.1 [INFO] [stderr] Compiling rust-stm32-helloworld v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s: Assembler messages: [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s: Warning: end of file not at end of a line; newline inserted [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:1: Error: unknown pseudo-op: `.syntax' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:2: Error: unknown pseudo-op: `.cpu' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:3: Error: unknown pseudo-op: `.thumb' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:6: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:8: Error: no such instruction: `b .' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:12: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:14: Error: no such instruction: `tst lr,4//TeST the 3rd bit in LR (4 is 0b1000,so its 3rd bit is 1)' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:15: Error: no such instruction: `ite eq//tbh i don116really understand this instruction,but it does a condtional check to see if we are using msp or psp,then passes it to my function' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:16: Error: no such instruction: `mrseq r0,msp' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:17: Error: no such instruction: `mrsne r0,psp' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:18: Error: no such instruction: `b SVCall_Handler' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:21: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:25: Error: no such instruction: `mrs r0,psp//buffer psp into r0 for the next insturction' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:26: Error: no such instruction: `stmdb r0!,{r4-r11}//store the registers r4-r11 on the stack,this is needed so they can be restored later,will store lowest register at the lowest address' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:27: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:31: Error: no such instruction: `bl PendSV_Handler' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:34: Error: no such instruction: `mrs r0,psp' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:35: Error: no such instruction: `ldmia r0!,{r4-r11}//load the registers r4-r11 from the stack,this is needed so that the registers are restored to their previous values' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:36: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value,this is needed so that the stack pointer points to the correct location' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:37: Error: expecting operand after ','; got nothing [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:38: Error: no such instruction: `bx lr' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:43: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:45: Error: expecting operand after ','; got nothing [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:46: Error: no such instruction: `ldmia r0!,{r4-r11}//Load the registers from the stack' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:47: Error: no such instruction: `msr psp,r0//Set the process stack pointer to the value in r0,the first argument' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:48: Error: no such instruction: `bx lr//Return to the thread mode' [INFO] [stderr] warning: rust-stm32-helloworld@0.1.0: src/asm_utils.s:53: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value,this is needed so that the stack pointer points to the correct location' [INFO] [stderr] error: failed to run custom build command for `rust-stm32-helloworld v0.1.0 (/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/rust-stm32-helloworld-43b31829d30c318c/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/context_switch.S [INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/debug/build/rust-stm32-helloworld-9e40bc3341a8206e/out) [INFO] [stderr] OPT_LEVEL = Some(0) [INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu) [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] RUSTC_WRAPPER = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some(true) [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87) [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] CARGO_ENCODED_RUSTFLAGS = Some(--cap-lints=forbid) [INFO] [stderr] cargo:warning=src/asm_utils.s: Assembler messages: [INFO] [stderr] cargo:warning=src/asm_utils.s: Warning: end of file not at end of a line; newline inserted [INFO] [stderr] cargo:warning=src/asm_utils.s:1: Error: unknown pseudo-op: `.syntax' [INFO] [stderr] cargo:warning=src/asm_utils.s:2: Error: unknown pseudo-op: `.cpu' [INFO] [stderr] cargo:warning=src/asm_utils.s:3: Error: unknown pseudo-op: `.thumb' [INFO] [stderr] cargo:warning=src/asm_utils.s:6: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] cargo:warning=src/asm_utils.s:8: Error: no such instruction: `b .' [INFO] [stderr] cargo:warning=src/asm_utils.s:12: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] cargo:warning=src/asm_utils.s:14: Error: no such instruction: `tst lr,4//TeST the 3rd bit in LR (4 is 0b1000,so its 3rd bit is 1)' [INFO] [stderr] cargo:warning=src/asm_utils.s:15: Error: no such instruction: `ite eq//tbh i don116really understand this instruction,but it does a condtional check to see if we are using msp or psp,then passes it to my function' [INFO] [stderr] cargo:warning=src/asm_utils.s:16: Error: no such instruction: `mrseq r0,msp' [INFO] [stderr] cargo:warning=src/asm_utils.s:17: Error: no such instruction: `mrsne r0,psp' [INFO] [stderr] cargo:warning=src/asm_utils.s:18: Error: no such instruction: `b SVCall_Handler' [INFO] [stderr] cargo:warning=src/asm_utils.s:21: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] cargo:warning=src/asm_utils.s:25: Error: no such instruction: `mrs r0,psp//buffer psp into r0 for the next insturction' [INFO] [stderr] cargo:warning=src/asm_utils.s:26: Error: no such instruction: `stmdb r0!,{r4-r11}//store the registers r4-r11 on the stack,this is needed so they can be restored later,will store lowest register at the lowest address' [INFO] [stderr] cargo:warning=src/asm_utils.s:27: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value' [INFO] [stderr] cargo:warning=src/asm_utils.s:31: Error: no such instruction: `bl PendSV_Handler' [INFO] [stderr] cargo:warning=src/asm_utils.s:34: Error: no such instruction: `mrs r0,psp' [INFO] [stderr] cargo:warning=src/asm_utils.s:35: Error: no such instruction: `ldmia r0!,{r4-r11}//load the registers r4-r11 from the stack,this is needed so that the registers are restored to their previous values' [INFO] [stderr] cargo:warning=src/asm_utils.s:36: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value,this is needed so that the stack pointer points to the correct location' [INFO] [stderr] cargo:warning=src/asm_utils.s:37: Error: expecting operand after ','; got nothing [INFO] [stderr] cargo:warning=src/asm_utils.s:38: Error: no such instruction: `bx lr' [INFO] [stderr] cargo:warning=src/asm_utils.s:43: Error: unknown pseudo-op: `.thumb_func' [INFO] [stderr] cargo:warning=src/asm_utils.s:45: Error: expecting operand after ','; got nothing [INFO] [stderr] cargo:warning=src/asm_utils.s:46: Error: no such instruction: `ldmia r0!,{r4-r11}//Load the registers from the stack' [INFO] [stderr] cargo:warning=src/asm_utils.s:47: Error: no such instruction: `msr psp,r0//Set the process stack pointer to the value in r0,the first argument' [INFO] [stderr] cargo:warning=src/asm_utils.s:48: Error: no such instruction: `bx lr//Return to the thread mode' [INFO] [stderr] cargo:warning=src/asm_utils.s:53: Error: no such instruction: `msr psp,r0//update the process stack pointer with the new value,this is needed so that the stack pointer points to the correct location' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred in cc-rs: Command LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/rust-stm32-helloworld-9e40bc3341a8206e/out/55b345ab587357f8-asm_utils.o" "-c" "src/asm_utils.s" with args cc did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "929d95de45f0b018ce9d0968910cbac5ddedc79b52b80f24c7b4bc3a20dbf344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929d95de45f0b018ce9d0968910cbac5ddedc79b52b80f24c7b4bc3a20dbf344", kill_on_drop: false }` [INFO] [stdout] 929d95de45f0b018ce9d0968910cbac5ddedc79b52b80f24c7b4bc3a20dbf344