[INFO] fetching crate embedded-registers-derive 0.9.13... [INFO] testing embedded-registers-derive-0.9.13 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate embedded-registers-derive 0.9.13 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-registers-derive 0.9.13 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8f92af65d1f03d54ef1467e89d0db041ce98e9ae336a929d4a1f50a500c823b [INFO] running `Command { std: "docker" "start" "-a" "e8f92af65d1f03d54ef1467e89d0db041ce98e9ae336a929d4a1f50a500c823b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8f92af65d1f03d54ef1467e89d0db041ce98e9ae336a929d4a1f50a500c823b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f92af65d1f03d54ef1467e89d0db041ce98e9ae336a929d4a1f50a500c823b", kill_on_drop: false }` [INFO] [stdout] e8f92af65d1f03d54ef1467e89d0db041ce98e9ae336a929d4a1f50a500c823b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056bb8fa3ceb3255e202f21d14ba589d0bc875758a23e36671dd8979f7d52c6f [INFO] running `Command { std: "docker" "start" "-a" "056bb8fa3ceb3255e202f21d14ba589d0bc875758a23e36671dd8979f7d52c6f", kill_on_drop: false }` [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [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 bytemuck v1.22.0 [INFO] [stderr] Compiling defmt-parser v1.0.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 10.19s [INFO] running `Command { std: "docker" "inspect" "056bb8fa3ceb3255e202f21d14ba589d0bc875758a23e36671dd8979f7d52c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056bb8fa3ceb3255e202f21d14ba589d0bc875758a23e36671dd8979f7d52c6f", kill_on_drop: false }` [INFO] [stdout] 056bb8fa3ceb3255e202f21d14ba589d0bc875758a23e36671dd8979f7d52c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30c5280d0c28340068c1bba9afa90b56c7a505975698a3b4c9594c4c265f0200 [INFO] running `Command { std: "docker" "start" "-a" "30c5280d0c28340068c1bba9afa90b56c7a505975698a3b4c9594c4c265f0200", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling defmt-macros v1.0.1 [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] [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" "30c5280d0c28340068c1bba9afa90b56c7a505975698a3b4c9594c4c265f0200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c5280d0c28340068c1bba9afa90b56c7a505975698a3b4c9594c4c265f0200", kill_on_drop: false }` [INFO] [stdout] 30c5280d0c28340068c1bba9afa90b56c7a505975698a3b4c9594c4c265f0200