[INFO] fetching crate regmock-rs 0.1.0... [INFO] building regmock-rs-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate regmock-rs 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate regmock-rs 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate regmock-rs 0.1.0 [INFO] tweaked toml for crates.io crate regmock-rs 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate regmock-rs 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding derive_builder v0.12.0 (available: v0.20.2) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding phf v0.11.3 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded closure v0.3.0 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f7ef037c176edb72a0dc3e52164be482cbd7337a4fc59224e9b0e403bafcb8 [INFO] running `Command { std: "docker" "start" "-a" "14f7ef037c176edb72a0dc3e52164be482cbd7337a4fc59224e9b0e403bafcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f7ef037c176edb72a0dc3e52164be482cbd7337a4fc59224e9b0e403bafcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f7ef037c176edb72a0dc3e52164be482cbd7337a4fc59224e9b0e403bafcb8", kill_on_drop: false }` [INFO] [stdout] 14f7ef037c176edb72a0dc3e52164be482cbd7337a4fc59224e9b0e403bafcb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cd59ce767b9f760a076a5a874c30f7e698f98d44d143085992216281749e3f4 [INFO] running `Command { std: "docker" "start" "-a" "6cd59ce767b9f760a076a5a874c30f7e698f98d44d143085992216281749e3f4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling regmock-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.65s [INFO] running `Command { std: "docker" "inspect" "6cd59ce767b9f760a076a5a874c30f7e698f98d44d143085992216281749e3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cd59ce767b9f760a076a5a874c30f7e698f98d44d143085992216281749e3f4", kill_on_drop: false }` [INFO] [stdout] 6cd59ce767b9f760a076a5a874c30f7e698f98d44d143085992216281749e3f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a16aeef5911d3465d3d5303d9fc5cb4eb7ec2ea5cbdb1b1f77dd2f2ba0d13d [INFO] running `Command { std: "docker" "start" "-a" "b2a16aeef5911d3465d3d5303d9fc5cb4eb7ec2ea5cbdb1b1f77dd2f2ba0d13d", kill_on_drop: false }` [INFO] [stderr] Compiling closure v0.3.0 [INFO] [stderr] Compiling regmock-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/matchers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_pac::GPIO; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/matchers.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use test_pac::SPI; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/matchers.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | use test_pac::SPI; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/matchers.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | use test_pac::{spi, SPI}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/matchers.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | use test_pac::{RegisterValue, SPI}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] --> tests/common/mod.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Regmock::with_resolver(&test_pac::reg_name::reg_name_from_addr) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/tracing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/wait_polling.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] --> tests/common/mod.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Regmock::with_resolver(&test_pac::reg_name::reg_name_from_addr) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/mocking.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_pac` [INFO] [stdout] --> tests/common/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_pac as pac; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `test_pac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] --> tests/common/mod.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Regmock::with_resolver(&test_pac::reg_name::reg_name_from_addr) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] --> tests/common/mod.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | Regmock::with_resolver(&test_pac::reg_name::reg_name_from_addr) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `test_pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_pac`, use `cargo add test_pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tracing.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { GPIO.we().init(|r| r.gpio8().set(gpio::we::Gpio8::OUT)) }; [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { GPIO.we().init(|r: /* Type */| r.gpio8().set(gpio::we::Gpio8::OUT)) }; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tracing.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | unsafe { GPIO.we().modify(|r| r.gpio4().set(gpio::we::Gpio4::OUT)) }; [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | unsafe { GPIO.we().modify(|r: /* Type */| r.gpio4().set(gpio::we::Gpio4::OUT)) }; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tracing.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { GPIO.we().init(|r| r.gpio0().set(gpio::we::Gpio0::OUT)) }; [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { GPIO.we().init(|r: /* Type */| r.gpio0().set(gpio::we::Gpio0::OUT)) }; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tracing.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { GPIO.out().init(|r| r.gpio0().set(true)) }; [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { GPIO.out().init(|r: /* Type */| r.gpio0().set(true)) }; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mocking.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | GPIO.we().init(|r| r.set_raw(0xff)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | GPIO.we().init(|r: /* Type */| r.set_raw(0xff)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mocking.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | GPIO.we().init(|r| r.set_raw(0xff)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | GPIO.we().init(|r: /* Type */| r.set_raw(0xff)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regmock-rs` (test "wait_polling") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `regmock-rs` (test "tracing") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 433 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 434 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:450:24 [INFO] [stdout] | [INFO] [stdout] 450 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 450 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:452:30 [INFO] [stdout] | [INFO] [stdout] 452 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 452 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 469 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_LATCHES)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:471:30 [INFO] [stdout] | [INFO] [stdout] 471 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 471 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 488 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:489:30 [INFO] [stdout] | [INFO] [stdout] 489 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 489 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:505:24 [INFO] [stdout] | [INFO] [stdout] 505 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 505 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:521:24 [INFO] [stdout] | [INFO] [stdout] 521 | .init(|r| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 521 | .init(|r: /* Type */| r.cpha().set(spi::ctrl::Cpha::CPHA_FIRST_SHIFTS)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:522:30 [INFO] [stdout] | [INFO] [stdout] 522 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 522 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:523:30 [INFO] [stdout] | [INFO] [stdout] 523 | SPI.ctrl().init(|r| r.cpol().set(true)); [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 523 | SPI.ctrl().init(|r: /* Type */| r.cpol().set(true)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:550:30 [INFO] [stdout] | [INFO] [stdout] 550 | SPI.ctrl().init(|r| r.set_raw(0x1234)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 550 | SPI.ctrl().init(|r: /* Type */| r.set_raw(0x1234)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regmock-rs` (test "mocking") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:567:30 [INFO] [stdout] | [INFO] [stdout] 567 | SPI.ctrl().init(|r| r.set_raw(0x1234)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 567 | SPI.ctrl().init(|r: /* Type */| r.set_raw(0x1234)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | SPI.ctrl().init(|r| r.set_raw(0x1234)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 582 | SPI.ctrl().init(|r: /* Type */| r.set_raw(0x1234)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/matchers.rs:598:30 [INFO] [stdout] | [INFO] [stdout] 598 | SPI.ctrl().init(|r| r.set_raw(0x1234)); [INFO] [stdout] | ^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 598 | SPI.ctrl().init(|r: /* Type */| r.set_raw(0x1234)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regmock-rs` (test "matchers") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "b2a16aeef5911d3465d3d5303d9fc5cb4eb7ec2ea5cbdb1b1f77dd2f2ba0d13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a16aeef5911d3465d3d5303d9fc5cb4eb7ec2ea5cbdb1b1f77dd2f2ba0d13d", kill_on_drop: false }` [INFO] [stdout] b2a16aeef5911d3465d3d5303d9fc5cb4eb7ec2ea5cbdb1b1f77dd2f2ba0d13d