[INFO] fetching crate embedded-registers-derive 0.9.13... [INFO] testing embedded-registers-derive-0.9.13 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate embedded-registers-derive 0.9.13 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate embedded-registers-derive 0.9.13 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate embedded-registers-derive 0.9.13 [INFO] tweaked toml for crates.io crate embedded-registers-derive 0.9.13 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-registers-derive 0.9.13 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate embedded-registers-derive 0.9.13 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 235fc01e1c394cf15fe2dc3f2045f61a1527dbe8300f4447c93eb7bb47488e19 [INFO] running `Command { std: "docker" "start" "-a" "235fc01e1c394cf15fe2dc3f2045f61a1527dbe8300f4447c93eb7bb47488e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "235fc01e1c394cf15fe2dc3f2045f61a1527dbe8300f4447c93eb7bb47488e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235fc01e1c394cf15fe2dc3f2045f61a1527dbe8300f4447c93eb7bb47488e19", kill_on_drop: false }` [INFO] [stdout] 235fc01e1c394cf15fe2dc3f2045f61a1527dbe8300f4447c93eb7bb47488e19 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2040a6591fb81fd5252fb9bc4f33630f3e8b5cada79374d17fffc6920da31b18 [INFO] running `Command { std: "docker" "start" "-a" "2040a6591fb81fd5252fb9bc4f33630f3e8b5cada79374d17fffc6920da31b18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bondrewd-derive v0.3.18 [INFO] [stderr] Compiling bondrewd v0.1.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling embedded-registers-derive v0.9.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.18s [INFO] running `Command { std: "docker" "inspect" "2040a6591fb81fd5252fb9bc4f33630f3e8b5cada79374d17fffc6920da31b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2040a6591fb81fd5252fb9bc4f33630f3e8b5cada79374d17fffc6920da31b18", kill_on_drop: false }` [INFO] [stdout] 2040a6591fb81fd5252fb9bc4f33630f3e8b5cada79374d17fffc6920da31b18 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59dc492991505eb4ac9a49c772326778ed84482412870a7e16ccb560d26ab985 [INFO] running `Command { std: "docker" "start" "-a" "59dc492991505eb4ac9a49c772326778ed84482412870a7e16ccb560d26ab985", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bondrewd-derive v0.3.18 [INFO] [stderr] Compiling bondrewd v0.1.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling embedded-registers-derive v0.9.13 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `embedded_registers` [INFO] [stdout] --> tests/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_registers::register; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_registers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_registers`, use `cargo add embedded_registers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/basic.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[bondrewd(read_from = "msb0", default_endianness = "be", enforce_bytes = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bondrewd` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: `bondrewd` is an attribute that can be used by the derive macro `Bitfields`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Bitfields)] [INFO] [stdout] 20 | pub struct Configuration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/basic.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[bondrewd(struct_size = 1)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bondrewd` is an attribute that can be used by the derive macro `Bitfields`, you might be missing a `derive` attribute [INFO] [stdout] = note: `bondrewd` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_arg_infer` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/basic.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_arg_infer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_status` found for struct `Configuration` in the current scope [INFO] [stdout] --> tests/basic.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Configuration { [INFO] [stdout] | ------------------------ method `write_status` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | reg.write_status(StatusMagnetometer { [INFO] [stdout] | ----^^^^^^^^^^^^ method not found in `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Configuration: Default` is not satisfied [INFO] [stdout] --> tests/basic.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let mut reg: Configuration = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Configuration` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `Configuration` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Default)] [INFO] [stdout] 20 | pub struct Configuration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_all` found for struct `Configuration` in the current scope [INFO] [stdout] --> tests/basic.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Configuration { [INFO] [stdout] | ------------------------ method `read_all` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let bitfield = reg.read_all(); [INFO] [stdout] | ^^^^^^^^ method not found in `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Configuration` in the current scope [INFO] [stdout] --> tests/basic.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Configuration { [INFO] [stdout] | ------------------------ method `write_all` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | reg2.write_all(bitfield); [INFO] [stdout] | ^^^^^^^^^ method not found in `Configuration` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `write_all`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Configuration` [INFO] [stdout] --> tests/basic.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(reg, reg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Configuration [INFO] [stdout] | Configuration [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Configuration` [INFO] [stdout] --> tests/basic.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Configuration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Configuration` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | pub struct Configuration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Configuration` doesn't implement `Debug` [INFO] [stdout] --> tests/basic.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(reg, reg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Configuration` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Configuration` or manually `impl Debug for Configuration` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Configuration` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | pub struct Configuration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Configuration` doesn't implement `Debug` [INFO] [stdout] --> tests/basic.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(reg, reg2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Configuration` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Configuration` or manually `impl Debug for Configuration` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Configuration` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | pub struct Configuration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-registers-derive` (test "basic") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "59dc492991505eb4ac9a49c772326778ed84482412870a7e16ccb560d26ab985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dc492991505eb4ac9a49c772326778ed84482412870a7e16ccb560d26ab985", kill_on_drop: false }` [INFO] [stdout] 59dc492991505eb4ac9a49c772326778ed84482412870a7e16ccb560d26ab985