[INFO] fetching crate sam4e_xplained_pro 0.1.3... [INFO] checking sam4e_xplained_pro-0.1.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate sam4e_xplained_pro 0.1.3 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate sam4e_xplained_pro 0.1.3 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-48/source/.cargo/config [INFO] started tweaking crates.io crate sam4e_xplained_pro 0.1.3 [INFO] finished tweaking crates.io crate sam4e_xplained_pro 0.1.3 [INFO] tweaked toml for crates.io crate sam4e_xplained_pro 0.1.3 written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate crates.io crate sam4e_xplained_pro 0.1.3 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 atsam4e16e-pac v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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] a978be700a7748bab1b439f46911d7c86df4c44afd664a1c02910df75dbe3b88 [INFO] running `Command { std: "docker" "start" "-a" "a978be700a7748bab1b439f46911d7c86df4c44afd664a1c02910df75dbe3b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a978be700a7748bab1b439f46911d7c86df4c44afd664a1c02910df75dbe3b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a978be700a7748bab1b439f46911d7c86df4c44afd664a1c02910df75dbe3b88", kill_on_drop: false }` [INFO] [stdout] a978be700a7748bab1b439f46911d7c86df4c44afd664a1c02910df75dbe3b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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] ee6e03c13946b4eecdbb443d934f5e72a987718a86b8bf8346c7f0f3cb289db0 [INFO] running `Command { std: "docker" "start" "-a" "ee6e03c13946b4eecdbb443d934f5e72a987718a86b8bf8346c7f0f3cb289db0", 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 version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling atsam4e16e-pac v0.1.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Compiling sam4e_xplained_pro v0.1.3 (/tmp/fixit) [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.10.1 [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.2 [INFO] [stderr] Checking atsam4-hal v0.1.13 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/external_memory.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/serial.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/blinky.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/blinky_rtic.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/blinky_rtic.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/blinky_rtic.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[app(device = sam4e_xplained_pro::hal::pac, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | .blink_led(cx.start + get_master_clock_frequency().0.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:91:83 [INFO] [stdout] | [INFO] [stdout] 91 | .blink_led(Instant::now() + (get_master_clock_frequency().0 / 20).cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky_rtic.rs:97:82 [INFO] [stdout] | [INFO] [stdout] 97 | .blink_led(Instant::now() + (get_master_clock_frequency().0 / 2).cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/blinky_rtic.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[app(device = sam4e_xplained_pro::hal::pac, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sam4e_xplained_pro` due to 7 previous errors [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" "ee6e03c13946b4eecdbb443d934f5e72a987718a86b8bf8346c7f0f3cb289db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6e03c13946b4eecdbb443d934f5e72a987718a86b8bf8346c7f0f3cb289db0", kill_on_drop: false }` [INFO] [stdout] ee6e03c13946b4eecdbb443d934f5e72a987718a86b8bf8346c7f0f3cb289db0