cortex-m 0.5.11

Low level access to Cortex-M processors
Documentation
Build #344109 2021-02-01T00:59:02.712392+00:00
# rustc version
rustc 1.51.0-nightly (04caa632d 2021-01-30)# docs.rs version
docsrs 0.6.0 (4c80a04 2021-01-23)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cortex-m-0.5.11/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cortex-m-0.5.11/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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20210130-1.51.0-nightly-04caa632d" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 6b960da51852110fc6c5e887daef4dd76b13afd385b20c3ffef04420e607367b
[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" "6b960da51852110fc6c5e887daef4dd76b13afd385b20c3ffef04420e607367b", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling cortex-m v0.7.1
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]    Compiling cortex-m v0.5.11 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking aligned v0.2.0
[INFO] [stderr] warning: unused import: `fs`
[INFO] [stderr]  --> build.rs:2:16
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{env, fs};
[INFO] [stderr]   |                ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out_dir`
[INFO] [stderr]  --> build.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
[INFO] [stderr]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_dir`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]  --> build.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let name = env::var("CARGO_PKG_NAME").unwrap();
[INFO] [stderr]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr] warning: 3 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking volatile-register v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking embedded-hal v0.2.4
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking as-slice v0.1.4
[INFO] [stderr]     Checking aligned v0.3.4
[INFO] [stderr]  Documenting cortex-m v0.5.11 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/peripheral/scb.rs:185:38
[INFO] [stderr]     |
[INFO] [stderr] 185 |     pub const SCB_CCR_IC_MASK: u32 = (1 << 17);
[INFO] [stderr]     |                                      ^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/peripheral/scb.rs:186:38
[INFO] [stderr]     |
[INFO] [stderr] 186 |     pub const SCB_CCR_DC_MASK: u32 = (1 << 16);
[INFO] [stderr]     |                                      ^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.45s
[INFO] running `Command { std: "docker" "inspect" "6b960da51852110fc6c5e887daef4dd76b13afd385b20c3ffef04420e607367b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b960da51852110fc6c5e887daef4dd76b13afd385b20c3ffef04420e607367b", kill_on_drop: false }`
[INFO] [stdout] 6b960da51852110fc6c5e887daef4dd76b13afd385b20c3ffef04420e607367b