[INFO] cloning repository https://github.com/fudanchii/blinky-stm32f401x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fudanchii/blinky-stm32f401x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 467c5b833d48938521113d2845b00fc338d4d280 [INFO] testing fudanchii/blinky-stm32f401x against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fudanchii/blinky-stm32f401x on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-18/source/.cargo/config [INFO] started tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] finished tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] tweaked toml for git repo https://github.com/fudanchii/blinky-stm32f401x written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/fudanchii/blinky-stm32f401x already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/fudanchii/stm32f401x` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7884940979c39b449bf70cd0e8e5b9049578e78e558e5e673e976f71ba7f55cb [INFO] running `Command { std: "docker" "start" "-a" "7884940979c39b449bf70cd0e8e5b9049578e78e558e5e673e976f71ba7f55cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7884940979c39b449bf70cd0e8e5b9049578e78e558e5e673e976f71ba7f55cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7884940979c39b449bf70cd0e8e5b9049578e78e558e5e673e976f71ba7f55cb", kill_on_drop: false }` [INFO] [stdout] 7884940979c39b449bf70cd0e8e5b9049578e78e558e5e673e976f71ba7f55cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee188e81f8c7c9e5f3b98bd995b4abf33975b24d761b6d4a0a93f82f6b6e746 [INFO] running `Command { std: "docker" "start" "-a" "cee188e81f8c7c9e5f3b98bd995b4abf33975b24d761b6d4a0a93f82f6b6e746", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling stm32f401x v0.1.0 (https://github.com/fudanchii/stm32f401x#4d6f2403) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { asm!("nop"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(used)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `used` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub fn nop() { [INFO] [stdout] 25 | | unsafe { asm!("nop"); } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: naked functions cannot be inlined [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub unsafe extern "C" fn system_init() { [INFO] [stdout] 32 | | (*RCC).APB1ENR |= RCC_APB1LPENR_PWRLPEN; [INFO] [stdout] | | ---------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 33 | | (*PWR).CR |= PWR_CR_VOS_1; [INFO] [stdout] | | -------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 34 | | [INFO] [stdout] 35 | / | while (&(*RCC).CR & RCC_CR_HSIRDY) == 0 { [INFO] [stdout] 36 | | | nop(); [INFO] [stdout] 37 | | | } [INFO] [stdout] | |____|_____- non-asm is unsupported in naked functions [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | (*PWR).CR |= (16 << 3) as u32; [INFO] [stdout] | | ------------------------------ non-asm is unsupported in naked functions [INFO] [stdout] 40 | | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | | --------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 41 | | [INFO] [stdout] 42 | / | while (&(*RCC).CR & RCC_CR_PLLRDY) != 0 { [INFO] [stdout] 43 | | | nop(); [INFO] [stdout] 44 | | | } [INFO] [stdout] | |____|_____- non-asm is unsupported in naked functions [INFO] [stdout] 45 | | [INFO] [stdout] 46 | / | (*RCC).PLLCFGR = 0x2000000 as u32 [INFO] [stdout] 47 | | | | ((7 as u32) << 24) [INFO] [stdout] 48 | | | | ((1 as u32) << 16) [INFO] [stdout] 49 | | | | ((336 as u32) << 6) [INFO] [stdout] 50 | | | | ((16 as u32) << 0); [INFO] [stdout] | |____|_____________________________- non-asm is unsupported in naked functions [INFO] [stdout] 51 | | [INFO] [stdout] 52 | | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | | -------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 53 | | [INFO] [stdout] 54 | / | while (&(*RCC).CR & RCC_CR_PLLRDY) == 0 { [INFO] [stdout] 55 | | | nop(); [INFO] [stdout] 56 | | | } [INFO] [stdout] | |____|_____- non-asm is unsupported in naked functions [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | | -------------------------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | | ------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 61 | | [INFO] [stdout] 62 | / | while (&(*RCC).CFGR & RCC_CFGR_SWS_PLL) != RCC_CFGR_SWS_PLL { [INFO] [stdout] 63 | | | nop(); [INFO] [stdout] 64 | | | } [INFO] [stdout] | |____|_____- non-asm is unsupported in naked functions [INFO] [stdout] 65 | | [INFO] [stdout] 66 | | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | | ------------------------------ non-asm is unsupported in naked functions [INFO] [stdout] 67 | | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | | ----------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 68 | | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | | ------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | (*DBGMCU).CR |= DBGMCU_CR_DBG_SLEEP | DBGMCU_CR_DBG_STANDBY | DBGMCU_CR_DBG_STOP; [INFO] [stdout] | | --------------------------------------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: naked functions cannot be inlined [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / pub unsafe extern "C" fn zero_bss() { [INFO] [stdout] 77 | | extern "C" { [INFO] [stdout] 78 | | static mut __bss_start__: u32; [INFO] [stdout] 79 | | static mut __bss_end__: u32; [INFO] [stdout] ... | [INFO] [stdout] 82 | | let mut bss: *mut _ = &mut __bss_start__; [INFO] [stdout] | | ----------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 83 | | let ebss: *mut _ = &mut __bss_end__; [INFO] [stdout] | | ------------------------------------ non-asm is unsupported in naked functions [INFO] [stdout] 84 | | [INFO] [stdout] 85 | /| while bss < ebss { [INFO] [stdout] 86 | || ptr::write_volatile(bss, mem::zeroed()); [INFO] [stdout] 87 | || bss = bss.offset(1); [INFO] [stdout] 88 | || } [INFO] [stdout] | ||_____- non-asm is unsupported in naked functions [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: naked functions cannot be inlined [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / pub unsafe extern "C" fn init_data() { [INFO] [stdout] 95 | | extern "C" { [INFO] [stdout] 96 | | static mut __data_start__: u32; [INFO] [stdout] 97 | | static mut __data_end__: u32; [INFO] [stdout] ... | [INFO] [stdout] 102 | | let mut data: *mut _ = &mut __data_start__; [INFO] [stdout] | | ------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 103 | | let edata: *mut _ = &mut __data_end__; [INFO] [stdout] | | -------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 104 | | let mut sidata: *mut _ = &mut __etext; [INFO] [stdout] | | -------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 105 | | [INFO] [stdout] 106 | /| while data < edata { [INFO] [stdout] 107 | || ptr::write(data, ptr::read(sidata)); [INFO] [stdout] 108 | || data = data.offset(1); [INFO] [stdout] 109 | || sidata = sidata.offset(1); [INFO] [stdout] 110 | || } [INFO] [stdout] | ||_____- non-asm is unsupported in naked functions [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: naked functions cannot be inlined [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / pub unsafe extern "C" fn reset_handler() -> ! { [INFO] [stdout] 121 | | zero_bss(); [INFO] [stdout] | | ----------- non-asm is unsupported in naked functions [INFO] [stdout] 122 | | init_data(); [INFO] [stdout] | | ------------ non-asm is unsupported in naked functions [INFO] [stdout] 123 | | system_init(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 124 | | main() [INFO] [stdout] | | ------ non-asm is unsupported in naked functions [INFO] [stdout] 125 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single asm block [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-69e89748cb05dd42/4d6f240/src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / pub unsafe extern "C" fn default_handler() -> ! { [INFO] [stdout] 132 | | loop {} [INFO] [stdout] | | ------- non-asm is unsupported in naked functions [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f401x` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "cee188e81f8c7c9e5f3b98bd995b4abf33975b24d761b6d4a0a93f82f6b6e746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee188e81f8c7c9e5f3b98bd995b4abf33975b24d761b6d4a0a93f82f6b6e746", kill_on_drop: false }` [INFO] [stdout] cee188e81f8c7c9e5f3b98bd995b4abf33975b24d761b6d4a0a93f82f6b6e746