[INFO] cloning repository https://github.com/tayspen72/rust_pinetime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tayspen72/rust_pinetime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayspen72%2Frust_pinetime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayspen72%2Frust_pinetime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39bdf7b9ab4c25de0a9d24624dfa92408aef42b0 [INFO] checking tayspen72/rust_pinetime against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayspen72%2Frust_pinetime" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tayspen72/rust_pinetime on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/tayspen72/rust_pinetime [INFO] finished tweaking git repo https://github.com/tayspen72/rust_pinetime [INFO] tweaked toml for git repo https://github.com/tayspen72/rust_pinetime written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.14.0) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding cortex-m-rt v0.6.15 (latest: v0.7.3) [INFO] [stderr] Adding cortex-m-rt-macros v0.6.15 (latest: v0.7.0) [INFO] [stderr] Adding cortex-m-semihosting v0.3.7 (latest: v0.5.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding nrf52832-pac v0.9.0 (latest: v0.12.2) [INFO] [stderr] Adding r0 v0.2.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded nrf52832-pac v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbfa2854f0ff5e5bd583e11c82a9a66db13c1ee224aff57b16bb0e03e22b3e1a [INFO] running `Command { std: "docker" "start" "-a" "cbfa2854f0ff5e5bd583e11c82a9a66db13c1ee224aff57b16bb0e03e22b3e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfa2854f0ff5e5bd583e11c82a9a66db13c1ee224aff57b16bb0e03e22b3e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfa2854f0ff5e5bd583e11c82a9a66db13c1ee224aff57b16bb0e03e22b3e1a", kill_on_drop: false }` [INFO] [stdout] cbfa2854f0ff5e5bd583e11c82a9a66db13c1ee224aff57b16bb0e03e22b3e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d596704c6a7ba2b13fd3564f0a97b8c76a6385ede2ea6471f3eb43a9ef496ec1 [INFO] running `Command { std: "docker" "start" "-a" "d596704c6a7ba2b13fd3564f0a97b8c76a6385ede2ea6471f3eb43a9ef496ec1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling nrf52832-pac v0.9.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stdout] warning: the item `nrf52832_pac` is imported redundantly [INFO] [stdout] --> src/mcu/adc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use nrf52832_pac; [INFO] [stdout] | ^^^^^^^^^^^^ the item `nrf52832_pac` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nrf52832_pac` is imported redundantly [INFO] [stdout] --> src/mcu/gpio.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use nrf52832_pac; [INFO] [stdout] | ^^^^^^^^^^^^ the item `nrf52832_pac` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nrf52832_pac` is imported redundantly [INFO] [stdout] --> src/mcu/i2c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use nrf52832_pac; [INFO] [stdout] | ^^^^^^^^^^^^ the item `nrf52832_pac` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nrf52832_pac` is imported redundantly [INFO] [stdout] --> src/mcu/rtc.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use nrf52832_pac; [INFO] [stdout] | ^^^^^^^^^^^^ the item `nrf52832_pac` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/mcu/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ the item `cortex_m` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nrf52832_pac` is imported redundantly [INFO] [stdout] --> src/mcu/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use nrf52832_pac; [INFO] [stdout] | ^^^^^^^^^^^^ the item `nrf52832_pac` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/drivers/touch.rs:159:71 [INFO] [stdout] | [INFO] [stdout] 159 | let res = i2c::write_then_read(config::TOUCH_I2C_ADDRESS, &[0x00], &mut LAST_EVENT_BUFFER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 159 | let res = i2c::write_then_read(config::TOUCH_I2C_ADDRESS, &[0x00], addr_of_mut!(LAST_EVENT_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (bin "app") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d596704c6a7ba2b13fd3564f0a97b8c76a6385ede2ea6471f3eb43a9ef496ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d596704c6a7ba2b13fd3564f0a97b8c76a6385ede2ea6471f3eb43a9ef496ec1", kill_on_drop: false }` [INFO] [stdout] d596704c6a7ba2b13fd3564f0a97b8c76a6385ede2ea6471f3eb43a9ef496ec1 [INFO] checking tayspen72/rust_pinetime against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftayspen72%2Frust_pinetime" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tayspen72/rust_pinetime on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/tayspen72/rust_pinetime [INFO] finished tweaking git repo https://github.com/tayspen72/rust_pinetime [INFO] tweaked toml for git repo https://github.com/tayspen72/rust_pinetime written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e9748d5e24cfa3cbde6d318ad02d0aa08fea9960096af275012a481b5891f0 [INFO] running `Command { std: "docker" "start" "-a" "27e9748d5e24cfa3cbde6d318ad02d0aa08fea9960096af275012a481b5891f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e9748d5e24cfa3cbde6d318ad02d0aa08fea9960096af275012a481b5891f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e9748d5e24cfa3cbde6d318ad02d0aa08fea9960096af275012a481b5891f0", kill_on_drop: false }` [INFO] [stdout] 27e9748d5e24cfa3cbde6d318ad02d0aa08fea9960096af275012a481b5891f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d56270a57e1d9fb8361f4bc57c71ba368c66419777811bc87b1f6ebda9c8adea [INFO] running `Command { std: "docker" "start" "-a" "d56270a57e1d9fb8361f4bc57c71ba368c66419777811bc87b1f6ebda9c8adea", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d56270a57e1d9fb8361f4bc57c71ba368c66419777811bc87b1f6ebda9c8adea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56270a57e1d9fb8361f4bc57c71ba368c66419777811bc87b1f6ebda9c8adea", kill_on_drop: false }` [INFO] [stdout] d56270a57e1d9fb8361f4bc57c71ba368c66419777811bc87b1f6ebda9c8adea