[INFO] cloning repository https://github.com/badrobotics/FeRTOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badrobotics/FeRTOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 688e48767ad01bd9def75ba2829ef1b32958ddb0 [INFO] checking badrobotics/FeRTOS against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badrobotics/FeRTOS on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config [INFO] started tweaking git repo https://github.com/badrobotics/FeRTOS [INFO] finished tweaking git repo https://github.com/badrobotics/FeRTOS [INFO] tweaked toml for git repo https://github.com/badrobotics/FeRTOS written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tm4c123x-hal v0.10.2 [INFO] [stderr] Downloaded tm4c-hal v0.4.1 [INFO] [stderr] Downloaded cstr_core v0.2.3 [INFO] [stderr] Downloaded tm4c129x-hal v0.9.2 [INFO] [stderr] Downloaded tm4c129x v0.9.0 [INFO] [stderr] Downloaded tm4c123x v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d8770437ca03a28cf9e406b824fa29c000eec2bdabe8d2eecc317854e28f139 [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" "9d8770437ca03a28cf9e406b824fa29c000eec2bdabe8d2eecc317854e28f139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d8770437ca03a28cf9e406b824fa29c000eec2bdabe8d2eecc317854e28f139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8770437ca03a28cf9e406b824fa29c000eec2bdabe8d2eecc317854e28f139", kill_on_drop: false }` [INFO] [stdout] 9d8770437ca03a28cf9e406b824fa29c000eec2bdabe8d2eecc317854e28f139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511c0c817e88b56934357dd50ef761720032db39c27ad5ed3cc4296cd4ef6a65 [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" "511c0c817e88b56934357dd50ef761720032db39c27ad5ed3cc4296cd4ef6a65", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cty v0.2.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling tm4c129x v0.9.0 [INFO] [stderr] Compiling qemu_project v0.1.0 (/opt/rustwide/workdir/examples/qemu_project) [INFO] [stderr] Compiling tm4c129x-hal v0.9.2 [INFO] [stderr] Compiling fertos-project v0.1.0 (/opt/rustwide/workdir/examples/fertos_project) [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking cstr_core v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling fe_osi v0.1.1 (/opt/rustwide/workdir/fe_osi) [INFO] [stderr] Compiling fe_rtos v0.1.1 (/opt/rustwide/workdir/fe_rtos) [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_osi/src/semaphore.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .compare_and_swap(old_val, old_val - 1, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_osi/src/semaphore.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | .compare_and_swap(old_val, old_val - 1, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> fe_osi/src/allocator.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | fn error_handler(layout: Layout) -> ! { [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/7b3565da729099dbe807466fcd118fb2815986e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] = note: second definition in the local crate (`fe_osi`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_osi/src/semaphore.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .compare_and_swap(old_val, old_val - 1, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_osi/src/semaphore.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | .compare_and_swap(old_val, old_val - 1, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fe_osi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: duplicate lang item in crate `std` (which `test` depends on): `oom`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `fe_osi` (which `fe_rtos` depends on) [INFO] [stdout] = note: first definition in `fe_osi` loaded from /opt/rustwide/target/debug/deps/libfe_osi-5218ff4ac4bc71d6.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/7b3565da729099dbe807466fcd118fb2815986e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> fe_rtos/src/interrupt.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn panic(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/7b3565da729099dbe807466fcd118fb2815986e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] = note: second definition in the local crate (`fe_rtos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/spinlock.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | if self.count.compare_and_swap(0, 1, Ordering::SeqCst) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/spinlock.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if self.count.compare_and_swap(0, 1, Ordering::SeqCst) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/task_state.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | if !self.in_use.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/task_state.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | if !self.in_use.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/tick.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | .compare_and_swap(old_msb, old_msb + 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/spinlock.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | if self.count.compare_and_swap(0, 1, Ordering::SeqCst) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/spinlock.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if self.count.compare_and_swap(0, 1, Ordering::SeqCst) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/task_state.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | if !self.in_use.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/task_state.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | if !self.in_use.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> fe_rtos/src/task/tick.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | .compare_and_swap(old_msb, old_msb + 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> fe_rtos/src/task/tick.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn inc(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sys_tick` [INFO] [stdout] --> fe_rtos/src/task/mod.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) unsafe extern "C" fn sys_tick() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `idle` [INFO] [stdout] --> fe_rtos/src/task/mod.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | pub(crate) fn idle() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "511c0c817e88b56934357dd50ef761720032db39c27ad5ed3cc4296cd4ef6a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511c0c817e88b56934357dd50ef761720032db39c27ad5ed3cc4296cd4ef6a65", kill_on_drop: false }` [INFO] [stdout] 511c0c817e88b56934357dd50ef761720032db39c27ad5ed3cc4296cd4ef6a65