[INFO] fetching crate embedded-registers-derive 0.9.13... [INFO] checking embedded-registers-derive-0.9.13 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate embedded-registers-derive 0.9.13 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-registers-derive 0.9.13 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8d32f4e955b4038512c54ac20779ca04502224a2b4724b54405418d936434a1 [INFO] running `Command { std: "docker" "start" "-a" "b8d32f4e955b4038512c54ac20779ca04502224a2b4724b54405418d936434a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8d32f4e955b4038512c54ac20779ca04502224a2b4724b54405418d936434a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d32f4e955b4038512c54ac20779ca04502224a2b4724b54405418d936434a1", kill_on_drop: false }` [INFO] [stdout] b8d32f4e955b4038512c54ac20779ca04502224a2b4724b54405418d936434a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a718d73fdbdbb1cd42f59c8956380bf22fe1ba20a5cce942a687306714ee8325 [INFO] running `Command { std: "docker" "start" "-a" "a718d73fdbdbb1cd42f59c8956380bf22fe1ba20a5cce942a687306714ee8325", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling defmt-macros v1.0.1 [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 v1.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bondrewd-derive v0.3.18 [INFO] [stderr] Checking darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking bondrewd v0.1.14 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Checking darling v0.20.11 [INFO] [stderr] Checking 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" "a718d73fdbdbb1cd42f59c8956380bf22fe1ba20a5cce942a687306714ee8325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a718d73fdbdbb1cd42f59c8956380bf22fe1ba20a5cce942a687306714ee8325", kill_on_drop: false }` [INFO] [stdout] a718d73fdbdbb1cd42f59c8956380bf22fe1ba20a5cce942a687306714ee8325