[INFO] cloning repository https://github.com/pie-flavor/sjone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pie-flavor/sjone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpie-flavor%2Fsjone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpie-flavor%2Fsjone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a19a5bb81aa9a10b61d7ffc7eaedb30b30c575a [INFO] checking pie-flavor/sjone against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpie-flavor%2Fsjone" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pie-flavor/sjone on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/pie-flavor/sjone [INFO] finished tweaking git repo https://github.com/pie-flavor/sjone [INFO] tweaked toml for git repo https://github.com/pie-flavor/sjone written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pie-flavor/sjone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.5.8 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.5 [INFO] [stderr] Downloaded atomic v0.4.3 [INFO] [stderr] Downloaded freertos_rs v0.2.0 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded lpc176x-5x v0.3.1 [INFO] [stderr] Downloaded vcell v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbe5416caa1c77ac2c7a56e8404e4a6b9acd779d1a4c9cfa827577dc708b60df [INFO] running `Command { std: "docker" "start" "-a" "bbe5416caa1c77ac2c7a56e8404e4a6b9acd779d1a4c9cfa827577dc708b60df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbe5416caa1c77ac2c7a56e8404e4a6b9acd779d1a4c9cfa827577dc708b60df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe5416caa1c77ac2c7a56e8404e4a6b9acd779d1a4c9cfa827577dc708b60df", kill_on_drop: false }` [INFO] [stdout] bbe5416caa1c77ac2c7a56e8404e4a6b9acd779d1a4c9cfa827577dc708b60df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7e19c81bb5bd3c714e31cc8eb8f57eb867d9e8a32d7defdf5a054292392a7a [INFO] running `Command { std: "docker" "start" "-a" "ed7e19c81bb5bd3c714e31cc8eb8f57eb867d9e8a32d7defdf5a054292392a7a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lpc176x-5x v0.3.1 [INFO] [stderr] Compiling sjone v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking atomic v0.4.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | asm!("MSR psp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | asm!("MSR msp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / pub unsafe extern "C" fn Reset() -> ! { [INFO] [stdout] 132 | | extern "C" { [INFO] [stdout] 133 | | static mut __sbss: u32; [INFO] [stdout] 134 | | static mut __ebss: u32; [INFO] [stdout] ... | [INFO] [stdout] 143 | | setup_stack(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 144 | | atomic::fence(atomic::Ordering::SeqCst); [INFO] [stdout] | | ---------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 145 | | r0::init_data(&mut __sdata, &mut __edata, &__sidata); [INFO] [stdout] | | ----------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 146 | | r0::zero_bss(&mut __sbss, &mut __ebss); [INFO] [stdout] | | --------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 147 | | setup() [INFO] [stdout] | | ------- non-asm is unsupported in naked functions [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/lib.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | unsafe fn setup_stack() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | / unsafe fn setup_stack() { [INFO] [stdout] 225 | | extern "C" { [INFO] [stdout] 226 | | static __stack_top: u32; [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | asm!("MSR psp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] 229 | | asm!("MSR msp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sjone` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | asm!("MSR psp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | asm!("MSR msp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace with: `llvm_asm!` [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a7a572ce3edd6d476191fbfe92c9c1986e009b34/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dd6c19f0820d51d.rlib [INFO] [stdout] = note: second definition in the local crate (`sjone`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / pub unsafe extern "C" fn Reset() -> ! { [INFO] [stdout] 132 | | extern "C" { [INFO] [stdout] 133 | | static mut __sbss: u32; [INFO] [stdout] 134 | | static mut __ebss: u32; [INFO] [stdout] ... | [INFO] [stdout] 143 | | setup_stack(); [INFO] [stdout] | | -------------- non-asm is unsupported in naked functions [INFO] [stdout] 144 | | atomic::fence(atomic::Ordering::SeqCst); [INFO] [stdout] | | ---------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 145 | | r0::init_data(&mut __sdata, &mut __edata, &__sidata); [INFO] [stdout] | | ----------------------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 146 | | r0::zero_bss(&mut __sbss, &mut __ebss); [INFO] [stdout] | | --------------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 147 | | setup() [INFO] [stdout] | | ------- non-asm is unsupported in naked functions [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/lib.rs:224:11 [INFO] [stdout] | [INFO] [stdout] 224 | unsafe fn setup_stack() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/lib.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | / unsafe fn setup_stack() { [INFO] [stdout] 225 | | extern "C" { [INFO] [stdout] 226 | | static __stack_top: u32; [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | asm!("MSR psp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] 229 | | asm!("MSR msp, $0\nBX lr" :: "r" (&__stack_top) :: "volatile"); [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ed7e19c81bb5bd3c714e31cc8eb8f57eb867d9e8a32d7defdf5a054292392a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7e19c81bb5bd3c714e31cc8eb8f57eb867d9e8a32d7defdf5a054292392a7a", kill_on_drop: false }` [INFO] [stdout] ed7e19c81bb5bd3c714e31cc8eb8f57eb867d9e8a32d7defdf5a054292392a7a