[INFO] cloning repository https://github.com/dkm/tivarust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dkm/tivarust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkm%2Ftivarust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkm%2Ftivarust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 657dbd337f7f0937d8f78c9a99b811a6dda8854d [INFO] checking dkm/tivarust/657dbd337f7f0937d8f78c9a99b811a6dda8854d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkm%2Ftivarust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dkm/tivarust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/dkm/tivarust [INFO] finished tweaking git repo https://github.com/dkm/tivarust [INFO] tweaked toml for git repo https://github.com/dkm/tivarust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dkm/tivarust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c96eeee5fdb74ad997e4af6db76ceed9ef33b37c8ea4f0ad0dee7b2464b9e632 [INFO] running `Command { std: "docker" "start" "-a" "c96eeee5fdb74ad997e4af6db76ceed9ef33b37c8ea4f0ad0dee7b2464b9e632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c96eeee5fdb74ad997e4af6db76ceed9ef33b37c8ea4f0ad0dee7b2464b9e632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96eeee5fdb74ad997e4af6db76ceed9ef33b37c8ea4f0ad0dee7b2464b9e632", kill_on_drop: false }` [INFO] [stdout] c96eeee5fdb74ad997e4af6db76ceed9ef33b37c8ea4f0ad0dee7b2464b9e632 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98973b8ee8e67b636d01dfc289832e1ef366d93487de4282d61a949ff0dc6e9d [INFO] running `Command { std: "docker" "start" "-a" "98973b8ee8e67b636d01dfc289832e1ef366d93487de4282d61a949ff0dc6e9d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking tivarust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items,asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_bitband` [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! read_bitband { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/driverlib/sysctl.rs:4132:33 [INFO] [stdout] | [INFO] [stdout] 4132 | let ui32Config : u32 = match(clock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4132 - let ui32Config : u32 = match(clock) { [INFO] [stdout] 4132 + let ui32Config : u32 = match clock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4145:23 [INFO] [stdout] | [INFO] [stdout] 4145 | let mut ui32RCC = hwreg!(SYSCTL_RCC, u32); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4146:24 [INFO] [stdout] | [INFO] [stdout] 4146 | let mut ui32RCC2 = hwreg!(SYSCTL_RCC2, u32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4164:7 [INFO] [stdout] | [INFO] [stdout] 4164 | if(((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4164 - if(((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0)) [INFO] [stdout] 4164 + if ((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4171:20 [INFO] [stdout] | [INFO] [stdout] 4171 | ui32RCC &= (!SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4171 - ui32RCC &= (!SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS)); [INFO] [stdout] 4171 + ui32RCC &= !SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4189:14 [INFO] [stdout] | [INFO] [stdout] 4189 | while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4189 - while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] 4189 + while (hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4189:16 [INFO] [stdout] | [INFO] [stdout] 4189 | while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4193:15 [INFO] [stdout] | [INFO] [stdout] 4193 | if(ui32Delay == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4193 - if(ui32Delay == 0) [INFO] [stdout] 4193 + if ui32Delay == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4203:11 [INFO] [stdout] | [INFO] [stdout] 4203 | if(ui32Delay == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4203 - if(ui32Delay == 0) [INFO] [stdout] 4203 + if ui32Delay == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4243:7 [INFO] [stdout] | [INFO] [stdout] 4243 | if((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4243 - if((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0) [INFO] [stdout] 4243 + if (ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4278:7 [INFO] [stdout] | [INFO] [stdout] 4278 | if((ui32Config & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4278 - if((ui32Config & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] 4278 + if (ui32Config & SYSCTL_RCC_BYPASS) == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4285:15 [INFO] [stdout] | [INFO] [stdout] 4285 | if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4285 - if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] 4285 + if (hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4285:17 [INFO] [stdout] | [INFO] [stdout] 4285 | if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4311:9 [INFO] [stdout] | [INFO] [stdout] 4311 | write_bitband!((SYSCTL_RCGCBASE + ((periph_id & 0xff00) >> 8)),(periph_id & 0xff),1); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4351:23 [INFO] [stdout] | [INFO] [stdout] 4351 | let mut ui32RCC = hwreg!(SYSCTL_RCC, u32); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4352:24 [INFO] [stdout] | [INFO] [stdout] 4352 | let mut ui32RCC2 = hwreg!(SYSCTL_RCC2, u32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/driverlib/sysctl.rs:4416:19 [INFO] [stdout] | [INFO] [stdout] 4416 | return(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4416 - return(0); [INFO] [stdout] 4416 + return 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4428:7 [INFO] [stdout] | [INFO] [stdout] 4428 | if(((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] | ^ [INFO] [stdout] 4429 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4430 | ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && (ui32RCC & SYSCTL_RCC_BYPASS) == 0)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4428 ~ if ((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] 4429 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4430 ~ ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && (ui32RCC & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4436:23 [INFO] [stdout] | [INFO] [stdout] 4436 | let ui32PLL = hwreg!(SYSCTL_PLLFREQ0, u32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4437:24 [INFO] [stdout] | [INFO] [stdout] 4437 | let ui32PLL1 = hwreg!(SYSCTL_PLLFREQ1, u32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4442:20 [INFO] [stdout] | [INFO] [stdout] 4442 | ui32Clk /= ((((ui32PLL1 & SYSCTL_PLLFREQ1_Q_M) >> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4445 | SYSCTL_PLLFREQ1_N_S) + 1) * 2); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4442 ~ ui32Clk /= (((ui32PLL1 & SYSCTL_PLLFREQ1_Q_M) >> [INFO] [stdout] 4443 | SYSCTL_PLLFREQ1_Q_S) + 1) * [INFO] [stdout] 4444 | (((ui32PLL1 & SYSCTL_PLLFREQ1_N_M) >> [INFO] [stdout] 4445 ~ SYSCTL_PLLFREQ1_N_S) + 1) * 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4451:19 [INFO] [stdout] | [INFO] [stdout] 4451 | ui32Clk = ((ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MINT_M) >> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4454 | SYSCTL_PLLFREQ0_MFRAC_S)) >> 10)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4451 ~ ui32Clk = (ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MINT_M) >> [INFO] [stdout] 4452 | SYSCTL_PLLFREQ0_MINT_S)) + [INFO] [stdout] 4453 | ((ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MFRAC_M) >> [INFO] [stdout] 4454 ~ SYSCTL_PLLFREQ0_MFRAC_S)) >> 10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/driverlib/sysctl.rs:4465:15 [INFO] [stdout] | [INFO] [stdout] 4465 | match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4465 - match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] 4465 + match hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4465:16 [INFO] [stdout] | [INFO] [stdout] 4465 | match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4499:15 [INFO] [stdout] | [INFO] [stdout] 4499 | if((ui32RCC2 & SYSCTL_RCC2_DIV400)!= 0 && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4503 | (ui32RCC & SYSCTL_RCC_BYPASS) == 0))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4499 ~ if (ui32RCC2 & SYSCTL_RCC2_DIV400)!= 0 && [INFO] [stdout] 4500 | (((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] 4501 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4502 | ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && [INFO] [stdout] 4503 ~ (ui32RCC & SYSCTL_RCC_BYPASS) == 0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4506:27 [INFO] [stdout] | [INFO] [stdout] 4506 | ui32Clk = ((ui32Clk * 2) / (((ui32RCC2 & [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4510 | 1)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4506 ~ ui32Clk = (ui32Clk * 2) / (((ui32RCC2 & [INFO] [stdout] 4507 | (SYSCTL_RCC2_SYSDIV2_M | [INFO] [stdout] 4508 | SYSCTL_RCC2_SYSDIV2LSB)) >> [INFO] [stdout] 4509 | (SYSCTL_RCC2_SYSDIV2_S - 1)) + [INFO] [stdout] 4510 ~ 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4514:28 [INFO] [stdout] | [INFO] [stdout] 4514 | ui32Clk /= (((ui32RCC2 & SYSCTL_RCC2_SYSDIV2_M) >> [INFO] [stdout] | ^ [INFO] [stdout] 4515 | SYSCTL_RCC2_SYSDIV2_S) + 1); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4514 ~ ui32Clk /= ((ui32RCC2 & SYSCTL_RCC2_SYSDIV2_M) >> [INFO] [stdout] 4515 ~ SYSCTL_RCC2_SYSDIV2_S) + 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4520:24 [INFO] [stdout] | [INFO] [stdout] 4520 | ui32Clk /= (((ui32RCC & SYSCTL_RCC_SYSDIV_M) >> [INFO] [stdout] | ^ [INFO] [stdout] 4521 | SYSCTL_RCC_SYSDIV_S) + 1); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4520 ~ ui32Clk /= ((ui32RCC & SYSCTL_RCC_SYSDIV_M) >> [INFO] [stdout] 4521 ~ SYSCTL_RCC_SYSDIV_S) + 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4528:7 [INFO] [stdout] | [INFO] [stdout] 4528 | if(ui32Max < ui32Clk) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4528 - if(ui32Max < ui32Clk) [INFO] [stdout] 4528 + if ui32Max < ui32Clk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/driverlib/sysctl.rs:4536:11 [INFO] [stdout] | [INFO] [stdout] 4536 | return(ui32Clk); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4536 - return(ui32Clk); [INFO] [stdout] 4536 + return ui32Clk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `driverlib::pinmap` [INFO] [stdout] --> src/tiva_uart.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use driverlib::pinmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | while(hwreg!(uart_conf.uart_base + uart::UART_O_FR, u32) & uart::UART_FR_TXFF) != 0 { [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | hwreg!(uart_conf.uart_base + uart::UART_O_LCRH, u32)| uart::UART_LCRH_FEN); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items,asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32)| (uart::UART_CTL_UARTEN | uart::UART_CTL_TXE | [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_bitband` [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! read_bitband { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | while (hwreg!(uart_conf.uart_base + uart::UART_O_FR, u32) & uart::UART_FR_BUSY) != 0 [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | hwreg!(uart_conf.uart_base + uart::UART_O_LCRH, u32) & !(uart::UART_LCRH_FEN)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32) & !(uart::UART_CTL_UARTEN | uart::UART_CTL_TXE | [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32)| uart::UART_CTL_HSE); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/driverlib/sysctl.rs:4132:33 [INFO] [stdout] | [INFO] [stdout] 4132 | let ui32Config : u32 = match(clock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4132 - let ui32Config : u32 = match(clock) { [INFO] [stdout] 4132 + let ui32Config : u32 = match clock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32) & !(uart::UART_CTL_HSE)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tiva_uart.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | let uart_conf : TivaUartConf = match (uart) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - let uart_conf : TivaUartConf = match (uart) { [INFO] [stdout] 143 + let uart_conf : TivaUartConf = match uart { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4145:23 [INFO] [stdout] | [INFO] [stdout] 4145 | let mut ui32RCC = hwreg!(SYSCTL_RCC, u32); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | config_gpio_pins!(uart_conf, uart_conf.gpio_rx_pin_i); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` which comes from the expansion of the macro `config_gpio_pins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4146:24 [INFO] [stdout] | [INFO] [stdout] 4146 | let mut ui32RCC2 = hwreg!(SYSCTL_RCC2, u32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | config_gpio_pins!(uart_conf, uart_conf.gpio_tx_pin_i); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` which comes from the expansion of the macro `config_gpio_pins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tiva_uart.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | ... (uart::UART_CONFIG_PAR_NONE | uart::UART_CONFIG_STOP_ONE | [INFO] [stdout] | ^ [INFO] [stdout] 172 | ... uart::UART_CONFIG_WLEN_8)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 ~ uart::UART_CONFIG_PAR_NONE | uart::UART_CONFIG_STOP_ONE | [INFO] [stdout] 172 ~ uart::UART_CONFIG_WLEN_8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4164:7 [INFO] [stdout] | [INFO] [stdout] 4164 | if(((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4164 - if(((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0)) [INFO] [stdout] 4164 + if ((ui32RCC & SYSCTL_RCC_MOSCDIS) != 0) && (!(ui32Config & SYSCTL_MAIN_OSC_DIS) != 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4171:20 [INFO] [stdout] | [INFO] [stdout] 4171 | ui32RCC &= (!SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4171 - ui32RCC &= (!SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS)); [INFO] [stdout] 4171 + ui32RCC &= !SYSCTL_RCC_MOSCDIS | (ui32Config & SYSCTL_MAIN_OSC_DIS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | write_bitband!(sysctl::SYSCTL_RCGCGPIO, self.sysctl_idx, 1); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4189:14 [INFO] [stdout] | [INFO] [stdout] 4189 | while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4189 - while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] 4189 + while (hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | write_bitband!(sysctl::SYSCTL_GPIOHBCTL, self.sysctl_idx, 1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4189:16 [INFO] [stdout] | [INFO] [stdout] 4189 | while((hwreg!(SYSCTL_RIS, u32) & SYSCTL_RIS_MOSCPUPRIS) == 0) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write_bitband!(self.base_addr + gpio::GPIO_O_DEN, pin, 1); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4193:15 [INFO] [stdout] | [INFO] [stdout] 4193 | if(ui32Delay == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4193 - if(ui32Delay == 0) [INFO] [stdout] 4193 + if ui32Delay == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | write_bitband!(self.base_addr + gpio::GPIO_O_DIR, pin, 1); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4203:11 [INFO] [stdout] | [INFO] [stdout] 4203 | if(ui32Delay == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4203 - if(ui32Delay == 0) [INFO] [stdout] 4203 + if ui32Delay == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | write_bitband!(self.base_addr + gpio::GPIO_O_DIR, pin, 0); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4243:7 [INFO] [stdout] | [INFO] [stdout] 4243 | if((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4243 - if((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0) [INFO] [stdout] 4243 + if (ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | write_bitband!(self.base_addr + gpio::GPIO_O_AFSEL, pin, 1); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4278:7 [INFO] [stdout] | [INFO] [stdout] 4278 | if((ui32Config & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4278 - if((ui32Config & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] 4278 + if (ui32Config & SYSCTL_RCC_BYPASS) == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | return hwreg!(self.base_addr + gpio::GPIO_O_DATA | (1<<(pin + 2)), [INFO] [stdout] | ________________- [INFO] [stdout] 64 | | u32 [INFO] [stdout] 65 | | ) as u8; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4285:15 [INFO] [stdout] | [INFO] [stdout] 4285 | if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4285 - if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] 4285 + if (hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | return hwreg!(self.base_addr + gpio::GPIO_O_DATA | ((pin_mask as u32)<<2), [INFO] [stdout] | ________________- [INFO] [stdout] 70 | | u32 [INFO] [stdout] 71 | | ) as u8; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4285:17 [INFO] [stdout] | [INFO] [stdout] 4285 | if((hwreg!(SYSCTL_PLLSTAT, u32) & SYSCTL_PLLSTAT_LOCK) != 0) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/main.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub extern fn rust_begin_panic(_msg: core::fmt::Arguments, [INFO] [stdout] 161 | | _file: &'static str, [INFO] [stdout] 162 | | _line: u32) -> ! { [INFO] [stdout] 163 | | loop {}; [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `tivarust` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib [INFO] [stdout] = note: second definition in the local crate (`tivarust`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4311:9 [INFO] [stdout] | [INFO] [stdout] 4311 | write_bitband!((SYSCTL_RCGCBASE + ((periph_id & 0xff00) >> 8)),(periph_id & 0xff),1); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4351:23 [INFO] [stdout] | [INFO] [stdout] 4351 | let mut ui32RCC = hwreg!(SYSCTL_RCC, u32); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4352:24 [INFO] [stdout] | [INFO] [stdout] 4352 | let mut ui32RCC2 = hwreg!(SYSCTL_RCC2, u32); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/driverlib/sysctl.rs:4416:19 [INFO] [stdout] | [INFO] [stdout] 4416 | return(0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4416 - return(0); [INFO] [stdout] 4416 + return 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4428:7 [INFO] [stdout] | [INFO] [stdout] 4428 | if(((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] | ^ [INFO] [stdout] 4429 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4430 | ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && (ui32RCC & SYSCTL_RCC_BYPASS) == 0)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4428 ~ if ((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] 4429 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4430 ~ ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && (ui32RCC & SYSCTL_RCC_BYPASS) == 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4436:23 [INFO] [stdout] | [INFO] [stdout] 4436 | let ui32PLL = hwreg!(SYSCTL_PLLFREQ0, u32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4437:24 [INFO] [stdout] | [INFO] [stdout] 4437 | let ui32PLL1 = hwreg!(SYSCTL_PLLFREQ1, u32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4442:20 [INFO] [stdout] | [INFO] [stdout] 4442 | ui32Clk /= ((((ui32PLL1 & SYSCTL_PLLFREQ1_Q_M) >> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4445 | SYSCTL_PLLFREQ1_N_S) + 1) * 2); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4442 ~ ui32Clk /= (((ui32PLL1 & SYSCTL_PLLFREQ1_Q_M) >> [INFO] [stdout] 4443 | SYSCTL_PLLFREQ1_Q_S) + 1) * [INFO] [stdout] 4444 | (((ui32PLL1 & SYSCTL_PLLFREQ1_N_M) >> [INFO] [stdout] 4445 ~ SYSCTL_PLLFREQ1_N_S) + 1) * 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4451:19 [INFO] [stdout] | [INFO] [stdout] 4451 | ui32Clk = ((ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MINT_M) >> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4454 | SYSCTL_PLLFREQ0_MFRAC_S)) >> 10)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4451 ~ ui32Clk = (ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MINT_M) >> [INFO] [stdout] 4452 | SYSCTL_PLLFREQ0_MINT_S)) + [INFO] [stdout] 4453 | ((ui32Clk * ((ui32PLL & SYSCTL_PLLFREQ0_MFRAC_M) >> [INFO] [stdout] 4454 ~ SYSCTL_PLLFREQ0_MFRAC_S)) >> 10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/driverlib/sysctl.rs:4465:15 [INFO] [stdout] | [INFO] [stdout] 4465 | match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4465 - match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] 4465 + match hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/driverlib/sysctl.rs:4465:16 [INFO] [stdout] | [INFO] [stdout] 4465 | match (hwreg!(SYSCTL_DC1, u32) & SYSCTL_DC1_MINSYSDIV_M){ [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4499:15 [INFO] [stdout] | [INFO] [stdout] 4499 | if((ui32RCC2 & SYSCTL_RCC2_DIV400)!= 0 && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4503 | (ui32RCC & SYSCTL_RCC_BYPASS) == 0))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4499 ~ if (ui32RCC2 & SYSCTL_RCC2_DIV400)!= 0 && [INFO] [stdout] 4500 | (((ui32RCC2 & SYSCTL_RCC2_USERCC2) != 0 && [INFO] [stdout] 4501 | (ui32RCC2 & SYSCTL_RCC2_BYPASS2) == 0) || [INFO] [stdout] 4502 | ((ui32RCC2 & SYSCTL_RCC2_USERCC2) == 0 && [INFO] [stdout] 4503 ~ (ui32RCC & SYSCTL_RCC_BYPASS) == 0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4506:27 [INFO] [stdout] | [INFO] [stdout] 4506 | ui32Clk = ((ui32Clk * 2) / (((ui32RCC2 & [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 4510 | 1)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4506 ~ ui32Clk = (ui32Clk * 2) / (((ui32RCC2 & [INFO] [stdout] 4507 | (SYSCTL_RCC2_SYSDIV2_M | [INFO] [stdout] 4508 | SYSCTL_RCC2_SYSDIV2LSB)) >> [INFO] [stdout] 4509 | (SYSCTL_RCC2_SYSDIV2_S - 1)) + [INFO] [stdout] 4510 ~ 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4514:28 [INFO] [stdout] | [INFO] [stdout] 4514 | ui32Clk /= (((ui32RCC2 & SYSCTL_RCC2_SYSDIV2_M) >> [INFO] [stdout] | ^ [INFO] [stdout] 4515 | SYSCTL_RCC2_SYSDIV2_S) + 1); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4514 ~ ui32Clk /= ((ui32RCC2 & SYSCTL_RCC2_SYSDIV2_M) >> [INFO] [stdout] 4515 ~ SYSCTL_RCC2_SYSDIV2_S) + 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/driverlib/sysctl.rs:4520:24 [INFO] [stdout] | [INFO] [stdout] 4520 | ui32Clk /= (((ui32RCC & SYSCTL_RCC_SYSDIV_M) >> [INFO] [stdout] | ^ [INFO] [stdout] 4521 | SYSCTL_RCC_SYSDIV_S) + 1); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4520 ~ ui32Clk /= ((ui32RCC & SYSCTL_RCC_SYSDIV_M) >> [INFO] [stdout] 4521 ~ SYSCTL_RCC_SYSDIV_S) + 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/driverlib/sysctl.rs:4528:7 [INFO] [stdout] | [INFO] [stdout] 4528 | if(ui32Max < ui32Clk) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4528 - if(ui32Max < ui32Clk) [INFO] [stdout] 4528 + if ui32Max < ui32Clk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/driverlib/sysctl.rs:4536:11 [INFO] [stdout] | [INFO] [stdout] 4536 | return(ui32Clk); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4536 - return(ui32Clk); [INFO] [stdout] 4536 + return ui32Clk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `driverlib::pinmap` [INFO] [stdout] --> src/tiva_uart.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use driverlib::pinmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | while(hwreg!(uart_conf.uart_base + uart::UART_O_FR, u32) & uart::UART_FR_TXFF) != 0 { [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | hwreg!(uart_conf.uart_base + uart::UART_O_LCRH, u32)| uart::UART_LCRH_FEN); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32)| (uart::UART_CTL_UARTEN | uart::UART_CTL_TXE | [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | while (hwreg!(uart_conf.uart_base + uart::UART_O_FR, u32) & uart::UART_FR_BUSY) != 0 [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | hwreg!(uart_conf.uart_base + uart::UART_O_LCRH, u32) & !(uart::UART_LCRH_FEN)); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32) & !(uart::UART_CTL_UARTEN | uart::UART_CTL_TXE | [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32)| uart::UART_CTL_HSE); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | hwreg!(uart_conf.uart_base + uart::UART_O_CTL, u32) & !(uart::UART_CTL_HSE)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/tiva_uart.rs:143:42 [INFO] [stdout] | [INFO] [stdout] 143 | let uart_conf : TivaUartConf = match (uart) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - let uart_conf : TivaUartConf = match (uart) { [INFO] [stdout] 143 + let uart_conf : TivaUartConf = match uart { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | config_gpio_pins!(uart_conf, uart_conf.gpio_rx_pin_i); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` which comes from the expansion of the macro `config_gpio_pins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_uart.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | config_gpio_pins!(uart_conf, uart_conf.gpio_tx_pin_i); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` which comes from the expansion of the macro `config_gpio_pins` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/tiva_uart.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | ... (uart::UART_CONFIG_PAR_NONE | uart::UART_CONFIG_STOP_ONE | [INFO] [stdout] | ^ [INFO] [stdout] 172 | ... uart::UART_CONFIG_WLEN_8)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 ~ uart::UART_CONFIG_PAR_NONE | uart::UART_CONFIG_STOP_ONE | [INFO] [stdout] 172 ~ uart::UART_CONFIG_WLEN_8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | write_bitband!(sysctl::SYSCTL_RCGCGPIO, self.sysctl_idx, 1); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | write_bitband!(sysctl::SYSCTL_GPIOHBCTL, self.sysctl_idx, 1); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write_bitband!(self.base_addr + gpio::GPIO_O_DEN, pin, 1); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | write_bitband!(self.base_addr + gpio::GPIO_O_DIR, pin, 1); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | write_bitband!(self.base_addr + gpio::GPIO_O_DIR, pin, 0); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:14:81 [INFO] [stdout] | [INFO] [stdout] 14 | (($bitband_offset & 0x000FFFFF) * 32) + ($bit_offset as u32) * 4; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | write_bitband!(self.base_addr + gpio::GPIO_O_AFSEL, pin, 1); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bitband` which comes from the expansion of the macro `write_bitband` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | return hwreg!(self.base_addr + gpio::GPIO_O_DATA | (1<<(pin + 2)), [INFO] [stdout] | ________________- [INFO] [stdout] 64 | | u32 [INFO] [stdout] 65 | | ) as u8; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | ptr::read_volatile(($x as *mut $t)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tiva_gpio.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | return hwreg!(self.base_addr + gpio::GPIO_O_DATA | ((pin_mask as u32)<<2), [INFO] [stdout] | ________________- [INFO] [stdout] 70 | | u32 [INFO] [stdout] 71 | | ) as u8; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `hwreg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/main.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / pub extern fn rust_begin_panic(_msg: core::fmt::Arguments, [INFO] [stdout] 161 | | _file: &'static str, [INFO] [stdout] 162 | | _line: u32) -> ! { [INFO] [stdout] 163 | | loop {}; [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `tivarust` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib [INFO] [stdout] = note: second definition in the local crate (`tivarust`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tivarust` (bin "tivarust") due to 2 previous errors; 82 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tivarust` (bin "tivarust" test) due to 2 previous errors; 82 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98973b8ee8e67b636d01dfc289832e1ef366d93487de4282d61a949ff0dc6e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98973b8ee8e67b636d01dfc289832e1ef366d93487de4282d61a949ff0dc6e9d", kill_on_drop: false }` [INFO] [stdout] 98973b8ee8e67b636d01dfc289832e1ef366d93487de4282d61a949ff0dc6e9d