[INFO] fetching crate samd-dma 0.3.0... [INFO] documenting samd-dma-0.3.0 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate samd-dma 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate samd-dma 0.3.0 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate samd-dma 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate samd-dma 0.3.0 [INFO] tweaked toml for crates.io crate samd-dma 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate samd-dma 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c677e11838a84491a52f123634d785a7f05b44d773ffb647126530c1bdac03b [INFO] running `Command { std: "docker" "start" "-a" "0c677e11838a84491a52f123634d785a7f05b44d773ffb647126530c1bdac03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c677e11838a84491a52f123634d785a7f05b44d773ffb647126530c1bdac03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c677e11838a84491a52f123634d785a7f05b44d773ffb647126530c1bdac03b", kill_on_drop: false }` [INFO] [stdout] 0c677e11838a84491a52f123634d785a7f05b44d773ffb647126530c1bdac03b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08a7db9e8a3a4de2cca551a2ff3e3818ee21c7bac4417bbbb7cb07ddd9e47246 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08a7db9e8a3a4de2cca551a2ff3e3818ee21c7bac4417bbbb7cb07ddd9e47246", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Documenting samd-dma v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Please use this crate's feature flags to select a SAM micro-controller to target. [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | compile_error!("Please use this crate's feature flags to select a SAM micro-controller to target."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::TRIGACT_A` [INFO] [stdout] --> src/types.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | use self::TRIGACT_A::*; [INFO] [stdout] | ^^^^^^^^^ could not find `TRIGACT_A` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `target_device`? [INFO] [stdout] --> src/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::target_device::generic::Variant; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::target_device` [INFO] [stdout] --> src/channel.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::target_device::DMAC; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `target_device`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `target_device` [INFO] [stdout] --> src/lib.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | use target_device::DMAC; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `target_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::Variant` [INFO] [stdout] --> src/types.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 402 | use self::Variant::*; [INFO] [stdout] | ^^^^^^^ could not find `Variant` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | Interrupts::from_bits_truncate(channel_reg!(chintflag, self.id).read().bits()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | channel_reg!(chintflag, self.id).reset(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | channel_reg!(chintenset, self.id).write(|w| unsafe { w.bits(interrupts.bits()) }); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | channel_reg!(chintenclr, self.id).write(|w| unsafe { w.bits(!interrupts.bits()) }); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | Interrupts::from_bits_truncate(channel_reg!(chintenset, self.id).read().bits()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | channel_reg!(chctrla, self.id).modify(|_, w| w.enable().set_bit()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | channel_reg!(chctrla, self.id).read().enable().bit() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | channel_reg!(chctrla, self.id).modify(|_, w| w.swrst().set_bit()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | channel_reg!(chctrlb, self.id).modify(|r, w| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | channel_reg!(chctrlb, self.id).modify(|r, w| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | channel_reg!(chctrla, self.id).modify(|_, w| w.enable().clear_bit()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | channel_reg!(chstatus, self.id).read().pend().bit() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | channel_reg!(chstatus, self.id).read().busy().bit() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | let status = channel_reg!(chstatus, self.id).read(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `channel_reg` in this scope [INFO] [stdout] --> src/channel.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | if channel_reg!(chctrla, self.id).read().enable().bit_is_set() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/types.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | impl From> for TriggerAction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRIGACT_A` in this scope [INFO] [stdout] --> src/types.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | impl From> for TriggerAction { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/types.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | fn from(value: Variant) -> TriggerAction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRIGACT_A` in this scope [INFO] [stdout] --> src/types.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 295 | impl From> for TriggerAction { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 296 | fn from(value: Variant) -> TriggerAction { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/types.rs:399:11 [INFO] [stdout] | [INFO] [stdout] 399 | impl From> for TriggerSource { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRIGSRC_A` in this scope [INFO] [stdout] --> src/types.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | impl From> for TriggerSource { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/types.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | fn from(value: Variant) -> TriggerSource { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TRIGSRC_A` in this scope [INFO] [stdout] --> src/types.rs:400:32 [INFO] [stdout] | [INFO] [stdout] 399 | impl From> for TriggerSource { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 400 | fn from(value: Variant) -> TriggerSource { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHANMAX` in this scope [INFO] [stdout] --> src/storage.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | impl> Sealed for UnsafeStorage {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHANMAX` in this scope [INFO] [stdout] --> src/storage.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait DmaStorage: sealed::Sealed { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 131 | /// The number of channels supported. [INFO] [stdout] 132 | type Size: Unsigned + IsLessOrEqual; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHANMAX` in this scope [INFO] [stdout] --> src/storage.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct UnsafeStorage> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHANMAX` in this scope [INFO] [stdout] --> src/storage.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | impl> UnsafeStorage { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHANMAX` in this scope [INFO] [stdout] --> src/storage.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | impl> DmaStorage for UnsafeStorage { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `samd-dma`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name samd_dma src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-b7cb6f2855b37747.rmeta --extern cortex_m=/opt/rustwide/target/debug/deps/libcortex_m-1a73c243ef0a0166.rmeta --extern paste=/opt/rustwide/target/debug/deps/libpaste-cbccd8a8015a6464.rmeta --extern smart_default=/opt/rustwide/target/debug/deps/libsmart_default-3c728c7c1e276577.so --extern typenum=/opt/rustwide/target/debug/deps/libtypenum-53e7b687cbcabab2.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "08a7db9e8a3a4de2cca551a2ff3e3818ee21c7bac4417bbbb7cb07ddd9e47246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a7db9e8a3a4de2cca551a2ff3e3818ee21c7bac4417bbbb7cb07ddd9e47246", kill_on_drop: false }` [INFO] [stdout] 08a7db9e8a3a4de2cca551a2ff3e3818ee21c7bac4417bbbb7cb07ddd9e47246