lpc177x_8x-hal 0.4.0

Implementation of the `embedded-hal` traits for LPC177x/8x
Build #692125 2022-12-04T14:20:46.813485+00:00
# rustc version
rustc 1.67.0-nightly (234151769 2022-12-03)
# docs.rs version
docsrs 0.6.0 (a46af5d2 2022-12-02)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/lpc177x_8x-hal-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/lpc177x_8x-hal-0.4.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221203-1.67.0-nightly-234151769\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] bc50dc75e34f201ff7c8b0e8d3164bbc8bee89f9017026bf6141912c5cbc28f2
[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" "bc50dc75e34f201ff7c8b0e8d3164bbc8bee89f9017026bf6141912c5cbc28f2", kill_on_drop: false }`
[INFO] [stderr]     Checking lpc177x_8x v0.13.5
[INFO] [stderr] error[E0557]: feature has been removed
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/lib.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | #![feature(untagged_unions)]
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stderr]   |
[INFO] [stderr]   = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/usb/mod.rs:118:5
[INFO] [stderr]     |
[INFO] [stderr] 118 |     pub i2c_wo: I2C_WO,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]     |
[INFO] [stderr] 118 |     pub i2c_wo: std::mem::ManuallyDrop<I2C_WO>,
[INFO] [stderr]     |                 +++++++++++++++++++++++      +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/usb/mod.rs:126:5
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub otgclkctrl: OTGCLKCTRL,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub otgclkctrl: std::mem::ManuallyDrop<OTGCLKCTRL>,
[INFO] [stderr]     |                     +++++++++++++++++++++++          +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/usb/mod.rs:134:5
[INFO] [stderr]     |
[INFO] [stderr] 134 |     pub otgclkst: OTGCLKST,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]     |
[INFO] [stderr] 134 |     pub otgclkst: std::mem::ManuallyDrop<OTGCLKST>,
[INFO] [stderr]     |                   +++++++++++++++++++++++        +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/crc/mod.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub data: DATA,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub data: std::mem::ManuallyDrop<DATA>,
[INFO] [stderr]    |               +++++++++++++++++++++++    +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart0/mod.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub dll: DLL,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub dll: std::mem::ManuallyDrop<DLL>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart0/mod.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub ier: IER,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub ier: std::mem::ManuallyDrop<IER>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart0/mod.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub fcr: FCR,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub fcr: std::mem::ManuallyDrop<FCR>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart1/mod.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     pub dll: DLL,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 40 |     pub dll: std::mem::ManuallyDrop<DLL>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart1/mod.rs:50:5
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub ier: IER,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub ier: std::mem::ManuallyDrop<IER>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart1/mod.rs:58:5
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub fcr: FCR,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub fcr: std::mem::ManuallyDrop<FCR>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart4/mod.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     pub dll: DLL,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 42 |     pub dll: std::mem::ManuallyDrop<DLL>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart4/mod.rs:52:5
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub ier: IER,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub ier: std::mem::ManuallyDrop<IER>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] error[E0740]: unions cannot contain fields that may need dropping
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lpc177x_8x-0.13.5/src/uart4/mod.rs:60:5
[INFO] [stderr]    |
[INFO] [stderr] 60 |     pub fcr: FCR,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: a type is guaranteed not to need dropping when it implements `Copy`, or when it is the special `ManuallyDrop<_>` type
[INFO] [stderr] help: when the type does not implement `Copy`, wrap it inside a `ManuallyDrop<_>` and ensure it is manually dropped
[INFO] [stderr]    |
[INFO] [stderr] 60 |     pub fcr: std::mem::ManuallyDrop<FCR>,
[INFO] [stderr]    |              +++++++++++++++++++++++   +
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0557, E0740.
[INFO] [stderr] For more information about an error, try `rustc --explain E0557`.
[INFO] [stderr] error: could not compile `lpc177x_8x` due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "bc50dc75e34f201ff7c8b0e8d3164bbc8bee89f9017026bf6141912c5cbc28f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc50dc75e34f201ff7c8b0e8d3164bbc8bee89f9017026bf6141912c5cbc28f2", kill_on_drop: false }`
[INFO] [stdout] bc50dc75e34f201ff7c8b0e8d3164bbc8bee89f9017026bf6141912c5cbc28f2