[INFO] cloning repository https://github.com/amiraeva/atsamd21-monotonic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amiraeva/atsamd21-monotonic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famiraeva%2Fatsamd21-monotonic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famiraeva%2Fatsamd21-monotonic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b13f7cb570a11bce5f468038402c791b1e14d049 [INFO] checking amiraeva/atsamd21-monotonic against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famiraeva%2Fatsamd21-monotonic" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amiraeva/atsamd21-monotonic on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/amiraeva/atsamd21-monotonic [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/amiraeva/atsamd21-monotonic [INFO] tweaked toml for git repo https://github.com/amiraeva/atsamd21-monotonic written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amiraeva/atsamd21-monotonic 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking amiraeva/atsamd21-monotonic against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famiraeva%2Fatsamd21-monotonic" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amiraeva/atsamd21-monotonic on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/amiraeva/atsamd21-monotonic [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/amiraeva/atsamd21-monotonic [INFO] tweaked toml for git repo https://github.com/amiraeva/atsamd21-monotonic written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amiraeva/atsamd21-monotonic 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "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 r0 v0.2.2 [INFO] [stderr] Downloaded numtoa v0.2.3 [INFO] [stderr] Downloaded feather_m0 v0.7.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded usb-device v0.2.5 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded rtic-core v0.3.0 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.5 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.3 [INFO] [stderr] Downloaded atsamd-hal v0.9.0 [INFO] [stderr] Downloaded atsamd21g18a v0.7.0 [INFO] [stderr] Downloaded cortex-m v0.6.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.0 [INFO] [stderr] Downloaded usbd-serial v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c45af0c5a797b25265cec8647d222ef2910480fea50e5cede9686e0cbe7844d [INFO] running `Command { std: "docker" "start" "-a" "2c45af0c5a797b25265cec8647d222ef2910480fea50e5cede9686e0cbe7844d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c45af0c5a797b25265cec8647d222ef2910480fea50e5cede9686e0cbe7844d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c45af0c5a797b25265cec8647d222ef2910480fea50e5cede9686e0cbe7844d", kill_on_drop: false }` [INFO] [stdout] 2c45af0c5a797b25265cec8647d222ef2910480fea50e5cede9686e0cbe7844d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cd1f609a0aa5ad93dae4d591eabdcda51fcc919a0e75f8d2ea4f714980a8eb6 [INFO] running `Command { std: "docker" "start" "-a" "2cd1f609a0aa5ad93dae4d591eabdcda51fcc919a0e75f8d2ea4f714980a8eb6", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling atsamd21g18a v0.7.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking usb-device v0.2.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heapless v0.5.5 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling cortex-m-rtic v0.5.3 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rtic-core v0.3.0 [INFO] [stderr] Compiling feather_m0 v0.7.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking usbd-serial v0.1.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking numtoa v0.2.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.0 [INFO] [stderr] Checking atsamd-hal v0.9.0 [INFO] [stderr] Checking atsamd21-monotonic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ops::{self, Add, Sub}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtic::Monotonic` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rtic::Monotonic as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overflowed` and `reset_ovf_flag` are never used [INFO] [stdout] --> src/lib.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl FusedTimerCounter { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn overflowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reset_ovf_flag(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | MONOTONIC_TIMER.as_ref().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | let timer = unsafe { MONOTONIC_TIMER.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | let timer = MONOTONIC_TIMER.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] --> examples/blink_1s.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | let start = atsamd21_monotonic::Monotonic::now(); [INFO] [stdout] | ^^^^^^^^^ could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use rtic::Monotonic; [INFO] [stdout] | [INFO] [stdout] help: if you import `Monotonic`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - let start = atsamd21_monotonic::Monotonic::now(); [INFO] [stdout] 82 + let start = Monotonic::now(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] --> examples/blink_1s.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | while atsamd21_monotonic::Monotonic::now() < next {} [INFO] [stdout] | ^^^^^^^^^ could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use rtic::Monotonic; [INFO] [stdout] | [INFO] [stdout] help: if you import `Monotonic`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - while atsamd21_monotonic::Monotonic::now() < next {} [INFO] [stdout] 85 + while Monotonic::now() < next {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] --> examples/blink_1s.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | let count = atsamd21_monotonic::Monotonic::now().0; [INFO] [stdout] | ^^^^^^^^^ could not find `Monotonic` in `atsamd21_monotonic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use rtic::Monotonic; [INFO] [stdout] | [INFO] [stdout] help: if you import `Monotonic`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - let count = atsamd21_monotonic::Monotonic::now().0; [INFO] [stdout] 119 + let count = Monotonic::now().0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `FusedTimerCounter` is private [INFO] [stdout] --> examples/blink_1s.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use atsamd21_monotonic::FusedTimerCounter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `FusedTimerCounter` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct FusedTimerCounter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> examples/blink_1s.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{self, GpioExt as _}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtic::Monotonic` [INFO] [stdout] --> examples/blink_1s.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rtic::Monotonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cortex_m::asm::delay as cycle_delay` [INFO] [stdout] --> examples/blink_1s.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cortex_m::asm::delay as cycle_delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atsamd21-monotonic` (example "blink_1s") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2cd1f609a0aa5ad93dae4d591eabdcda51fcc919a0e75f8d2ea4f714980a8eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd1f609a0aa5ad93dae4d591eabdcda51fcc919a0e75f8d2ea4f714980a8eb6", kill_on_drop: false }` [INFO] [stdout] 2cd1f609a0aa5ad93dae4d591eabdcda51fcc919a0e75f8d2ea4f714980a8eb6