[INFO] fetching crate rodos_can_interface 1.0.0... [INFO] testing rodos_can_interface-1.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rodos_can_interface 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate rodos_can_interface 1.0.0 [INFO] finished tweaking crates.io crate rodos_can_interface 1.0.0 [INFO] tweaked toml for crates.io crate rodos_can_interface 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rodos_can_interface 1.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rodos_can_interface 1.0.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e02ad2f1d045c3509bed96b8550a2733afbbcbfee2f6dc49230111a47309523b [INFO] running `Command { std: "docker" "start" "-a" "e02ad2f1d045c3509bed96b8550a2733afbbcbfee2f6dc49230111a47309523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e02ad2f1d045c3509bed96b8550a2733afbbcbfee2f6dc49230111a47309523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02ad2f1d045c3509bed96b8550a2733afbbcbfee2f6dc49230111a47309523b", kill_on_drop: false }` [INFO] [stdout] e02ad2f1d045c3509bed96b8550a2733afbbcbfee2f6dc49230111a47309523b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d9cb241a0cec3a7a4fffd8930c4c29e4994cca27453cba00a537792946b8ae [INFO] running `Command { std: "docker" "start" "-a" "15d9cb241a0cec3a7a4fffd8930c4c29e4994cca27453cba00a537792946b8ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling stm32-metapac v18.0.0 [INFO] [stderr] Compiling embassy-sync v0.7.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embassy-hal-internal v0.3.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling embedded-storage-async v0.4.1 [INFO] [stderr] Compiling heapless v0.9.1 [INFO] [stderr] Compiling stm32-fmc v0.3.2 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling block-device-driver v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling sdio-host v0.9.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling defmt v0.3.100 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling embassy-net-driver v0.2.0 [INFO] [stderr] Compiling embassy-usb-driver v0.2.0 [INFO] [stderr] Compiling embassy-embedded-hal v0.5.0 [INFO] [stderr] Compiling embassy-usb-synopsys-otg v0.3.1 [INFO] [stderr] Compiling embassy-stm32 v0.4.0 [INFO] [stderr] Compiling rodos_can_interface v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.24s [INFO] running `Command { std: "docker" "inspect" "15d9cb241a0cec3a7a4fffd8930c4c29e4994cca27453cba00a537792946b8ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d9cb241a0cec3a7a4fffd8930c4c29e4994cca27453cba00a537792946b8ae", kill_on_drop: false }` [INFO] [stdout] 15d9cb241a0cec3a7a4fffd8930c4c29e4994cca27453cba00a537792946b8ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e2e1acfd844a8e191ec870f9b5decc223ab8973d9f90f15edc6c3a2fc765442 [INFO] running `Command { std: "docker" "start" "-a" "3e2e1acfd844a8e191ec870f9b5decc223ab8973d9f90f15edc6c3a2fc765442", kill_on_drop: false }` [INFO] [stderr] Compiling rodos_can_interface v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "3e2e1acfd844a8e191ec870f9b5decc223ab8973d9f90f15edc6c3a2fc765442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e2e1acfd844a8e191ec870f9b5decc223ab8973d9f90f15edc6c3a2fc765442", kill_on_drop: false }` [INFO] [stdout] 3e2e1acfd844a8e191ec870f9b5decc223ab8973d9f90f15edc6c3a2fc765442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f36ee9689a0ea0683073924024ffdb5ace6bb1ec54b180b25753a084aee6f642 [INFO] running `Command { std: "docker" "start" "-a" "f36ee9689a0ea0683073924024ffdb5ace6bb1ec54b180b25753a084aee6f642", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rodos_can_interface-fa14da108b8cc33b) [INFO] [stderr] Doc-tests rodos_can_interface [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - RodosCanInterface>::new (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - RodosCanInterface>::new (line 201) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RodosCanInterface>::new (line 207) stdout ---- [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}` [INFO] [stdout] --> src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn add_receive_topic(&mut self, rodos_topic: u16, rodos_device_id: Option) [INFO] [stdout] | ----------------- while parsing this `fn` - expected one of `->`, `where`, or `{` [INFO] [stdout] 209 | } _doctest_main_src_lib_rs_207_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn add_receive_topic(&mut self, rodos_topic: u16, rodos_device_id: Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn add_receive_topic(&mut self, rodos_topic: u16, rodos_device_id: Option) [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RodosCanInterface>::new (line 201) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Can` in this scope [INFO] [stdout] --> src/lib.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | Can::new(p.FDCAN1, p.PA11, p.PA12, Irqs); [INFO] [stdout] | ^^^ use of undeclared type `Can` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 201 + use embassy_stm32::can::Can; [INFO] [stdout] | [INFO] [stdout] 201 + use embedded_can::blocking::Can; [INFO] [stdout] | [INFO] [stdout] 201 + use embedded_can::nb::Can; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/lib.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | Can::new(p.FDCAN1, p.PA11, p.PA12, Irqs); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/lib.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | Can::new(p.FDCAN1, p.PA11, p.PA12, Irqs); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p` in this scope [INFO] [stdout] --> src/lib.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | Can::new(p.FDCAN1, p.PA11, p.PA12, Irqs); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Irqs` in this scope [INFO] [stdout] --> src/lib.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | Can::new(p.FDCAN1, p.PA11, p.PA12, Irqs); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - RodosCanInterface>::new (line 201) [INFO] [stdout] src/lib.rs - RodosCanInterface>::new (line 207) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.20s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f36ee9689a0ea0683073924024ffdb5ace6bb1ec54b180b25753a084aee6f642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36ee9689a0ea0683073924024ffdb5ace6bb1ec54b180b25753a084aee6f642", kill_on_drop: false }` [INFO] [stdout] f36ee9689a0ea0683073924024ffdb5ace6bb1ec54b180b25753a084aee6f642