[INFO] fetching crate fdcan 0.2.1... [INFO] testing fdcan-0.2.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate fdcan 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fdcan 0.2.1 [INFO] finished tweaking crates.io crate fdcan 0.2.1 [INFO] tweaked toml for crates.io crate fdcan 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fdcan 0.2.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.0) [INFO] [stderr] Adding embedded-can v0.3.0 (available: v0.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-can v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04295088a5f8540e93c5da0be7ceb54a6aea133ec24a9c06e27d315ae4fcdb0b [INFO] running `Command { std: "docker" "start" "-a" "04295088a5f8540e93c5da0be7ceb54a6aea133ec24a9c06e27d315ae4fcdb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04295088a5f8540e93c5da0be7ceb54a6aea133ec24a9c06e27d315ae4fcdb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04295088a5f8540e93c5da0be7ceb54a6aea133ec24a9c06e27d315ae4fcdb0b", kill_on_drop: false }` [INFO] [stdout] 04295088a5f8540e93c5da0be7ceb54a6aea133ec24a9c06e27d315ae4fcdb0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee35a3efea0af536df981ab72c6c80d766da517cc83718eed4cb81fab91ab49 [INFO] running `Command { std: "docker" "start" "-a" "cee35a3efea0af536df981ab72c6c80d766da517cc83718eed4cb81fab91ab49", kill_on_drop: false }` [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling fdcan v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `super::interrupt::Interrupt`, `super::interrupt::Interrupts` [INFO] [stdout] --> src/config.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::interrupt::{Interrupt, InterruptLine, Interrupts}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ no `Interrupts` in `interrupt` [INFO] [stdout] | | [INFO] [stdout] | no `Interrupt` in `interrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `interrupt::Interrupt`, `interrupt::Interrupts` [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | use interrupt::{Interrupt, InterruptLine, Interrupts}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ no `Interrupts` in `interrupt` [INFO] [stdout] | | [INFO] [stdout] | no `Interrupt` in `interrupt` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::config::Interrupt [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::config::Interrupts [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupts` in this scope [INFO] [stdout] --> src/interrupt.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 172 | impl Interrupts { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupt` in this scope [INFO] [stdout] --> src/interrupt.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | impl From for Interrupts { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 179 | impl From for Interrupts { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupts` in this scope [INFO] [stdout] --> src/interrupt.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | impl From for Interrupts { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupt` in this scope [INFO] [stdout] --> src/interrupt.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | fn from(i: Interrupt) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupt` in this scope [INFO] [stdout] --> src/interrupt.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | impl ops::BitOrAssign for Interrupts { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 187 | impl ops::BitOrAssign for Interrupts { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupts` in this scope [INFO] [stdout] --> src/interrupt.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | impl ops::BitOrAssign for Interrupts { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Interrupt` in this scope [INFO] [stdout] --> src/interrupt.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | fn bitor_assign(&mut self, rhs: Interrupt) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `declare_interrupts` [INFO] [stdout] --> src/interrupt.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! declare_interrupts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf0s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1574:22 [INFO] [stdout] | [INFO] [stdout] 1574 | 0 => can.rxf0s.read().rf0l().bit(), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf1s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1575:22 [INFO] [stdout] | [INFO] [stdout] 1575 | 1 => can.rxf1s.read().rf1l().bit(), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf0s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1585:22 [INFO] [stdout] | [INFO] [stdout] 1585 | 0 => can.rxf0s.read().f0fl().bits() == 0, [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf1s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1586:22 [INFO] [stdout] | [INFO] [stdout] 1586 | 1 => can.rxf1s.read().f1fl().bits() == 0, [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf0a` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1599:22 [INFO] [stdout] | [INFO] [stdout] 1599 | 0 => can.rxf0a.write(|w| unsafe { w.f0ai().bits(idx.into()) }), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf1a` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1600:22 [INFO] [stdout] | [INFO] [stdout] 1600 | 1 => can.rxf1a.write(|w| unsafe { w.f1ai().bits(idx.into()) }), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf0s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1609:22 [INFO] [stdout] | [INFO] [stdout] 1609 | 0 => can.rxf0s.read().f0gi().bits(), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rxf1s` on type `&fdcan::RegisterBlock` [INFO] [stdout] --> src/lib.rs:1610:22 [INFO] [stdout] | [INFO] [stdout] 1610 | 1 => can.rxf1s.read().f1gi().bits(), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `crel`, `endn`, `dbtp`, `test`, `rwd` ... and 43 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ir` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub ir: crate::Reg, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `ir` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ir`, use `cargo add ir` to add it to your `Cargo.toml` [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 63 - pub ir: crate::Reg, [INFO] [stdout] 63 + pub ir: crate::Reg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ie` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | pub ie: crate::Reg, [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `ie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ie`, use `cargo add ie` to add it to your `Cargo.toml` [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 65 - pub ie: crate::Reg, [INFO] [stdout] 65 + pub ie: crate::Reg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ils` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | pub ils: crate::Reg, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ils`, use `cargo add ils` to add it to your `Cargo.toml` [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 67 - pub ils: crate::Reg, [INFO] [stdout] 67 + pub ils: crate::Reg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ile` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | pub ile: crate::Reg, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ile`, use `cargo add ile` to add it to your `Cargo.toml` [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 69 - pub ile: crate::Reg, [INFO] [stdout] 69 + pub ile: crate::Reg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rxgfc` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub rxgfc: crate::Reg, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rxgfc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rxgfc`, use `cargo add rxgfc` to add it to your `Cargo.toml` [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 - pub rxgfc: crate::Reg, [INFO] [stdout] 72 + pub rxgfc: crate::Reg, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `txbc` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub txbc: crate::Reg, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `txbc` [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 143 - pub txbc: crate::Reg, [INFO] [stdout] 143 + pub txbc: crate::Reg, [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 143 | pub txbc: crate::Reg, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ir` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | pub type IR = crate::Reg; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `ir` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ir`, use `cargo add ir` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ie` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:282:26 [INFO] [stdout] | [INFO] [stdout] 282 | pub type IE = crate::Reg; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `ie` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ie`, use `cargo add ie` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ils` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub type ILS = crate::Reg; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ils`, use `cargo add ils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `ile` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | pub type ILE = crate::Reg; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ile`, use `cargo add ile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rxgfc` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | pub type RXGFC = crate::Reg; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rxgfc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rxgfc`, use `cargo add rxgfc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `txbc` in this scope [INFO] [stdout] --> src/pac/fdcan.rs:358:28 [INFO] [stdout] | [INFO] [stdout] 358 | pub type TXBC = crate::Reg; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `txbc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 358 | pub type TXBC = crate::Reg; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fdcan` (lib) due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cee35a3efea0af536df981ab72c6c80d766da517cc83718eed4cb81fab91ab49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee35a3efea0af536df981ab72c6c80d766da517cc83718eed4cb81fab91ab49", kill_on_drop: false }` [INFO] [stdout] cee35a3efea0af536df981ab72c6c80d766da517cc83718eed4cb81fab91ab49