[INFO] fetching crate bl702-hal 0.0.3... [INFO] testing bl702-hal-0.0.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bl702-hal 0.0.3 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate bl702-hal 0.0.3 [INFO] finished tweaking crates.io crate bl702-hal 0.0.3 [INFO] tweaked toml for crates.io crate bl702-hal 0.0.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bl702-hal 0.0.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bl702-hal 0.0.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded riscv-rt-macros v0.2.0 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded riscv-rt v0.9.0 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded paste v1.0.9 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded r0 v1.0.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.5 [INFO] [stderr] Downloaded riscv v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.46 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded syn v1.0.102 [INFO] [stderr] Downloaded regex v1.6.0 [INFO] [stderr] Downloaded regex-syntax v0.6.27 [INFO] [stderr] Downloaded bl702-pac v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dad06588f980edb1b209ae3e8a15d66c3c2b9bfc0614f738a7663f24724c1b4 [INFO] running `Command { std: "docker" "start" "-a" "4dad06588f980edb1b209ae3e8a15d66c3c2b9bfc0614f738a7663f24724c1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dad06588f980edb1b209ae3e8a15d66c3c2b9bfc0614f738a7663f24724c1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dad06588f980edb1b209ae3e8a15d66c3c2b9bfc0614f738a7663f24724c1b4", kill_on_drop: false }` [INFO] [stdout] 4dad06588f980edb1b209ae3e8a15d66c3c2b9bfc0614f738a7663f24724c1b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 520de4eb45f4cf6e97771b92674f61afcbc812e43842e952a4b2349e506a439d [INFO] running `Command { std: "docker" "start" "-a" "520de4eb45f4cf6e97771b92674f61afcbc812e43842e952a4b2349e506a439d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling riscv v0.8.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.5 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling bl702-pac v0.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling bl702-hal v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/delay.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | / /// System clock frequency, used to convert clock cycles [INFO] [stdout] 20 | | /// into real-world time values [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] 21 | core_frequency: freq, [INFO] [stdout] | -------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/system/glb.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkSel` [INFO] [stdout] --> src/system/glb.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/system/glb.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/system/glb.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkSel` [INFO] [stdout] --> src/system/glb.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/system/glb.rs:134:68 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/system/glb.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | ptr().cgen_cfg1.modify(|r, w| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkType` [INFO] [stdout] --> src/system/hbn.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn HBN_32K_Sel(clkType: HBN_32K_CLK_Type) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xClk` [INFO] [stdout] --> src/system/hbn.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn HBN_Set_XCLK_CLK_Sel(xClk: HBN_XCLK_CLK_Type) -> BL_Err_Type { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_xClk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pds_power_on_pll_rom` is never used [INFO] [stdout] --> src/system/pds.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn pds_power_on_pll_rom(xtal: PDS_PLL_XTAL_Type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.67s [INFO] running `Command { std: "docker" "inspect" "520de4eb45f4cf6e97771b92674f61afcbc812e43842e952a4b2349e506a439d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520de4eb45f4cf6e97771b92674f61afcbc812e43842e952a4b2349e506a439d", kill_on_drop: false }` [INFO] [stdout] 520de4eb45f4cf6e97771b92674f61afcbc812e43842e952a4b2349e506a439d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79b8deb79250031073e8e119ea7cb02221d2c0ec70ec50b69daff3961e975146 [INFO] running `Command { std: "docker" "start" "-a" "79b8deb79250031073e8e119ea7cb02221d2c0ec70ec50b69daff3961e975146", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling r0 v1.0.0 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling riscv-rt v0.9.0 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/delay.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | / /// System clock frequency, used to convert clock cycles [INFO] [stdout] 20 | | /// into real-world time values [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] 21 | core_frequency: freq, [INFO] [stdout] | -------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/system/glb.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkSel` [INFO] [stdout] --> src/system/glb.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/system/glb.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn GLB_Set_UART_CLK(enable: u8, clkSel: HBN_UART_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable` [INFO] [stdout] --> src/system/glb.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkSel` [INFO] [stdout] --> src/system/glb.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/system/glb.rs:134:68 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn GLB_Set_MTimer_CLK(enable: u8, clkSel: GLB_MTIMER_CLK_Type, div: u8) -> BL_Err_Type { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/system/glb.rs:175:33 [INFO] [stdout] | [INFO] [stdout] 175 | ptr().cgen_cfg1.modify(|r, w| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clkType` [INFO] [stdout] --> src/system/hbn.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn HBN_32K_Sel(clkType: HBN_32K_CLK_Type) -> BL_Err_Type { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clkType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xClk` [INFO] [stdout] --> src/system/hbn.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn HBN_Set_XCLK_CLK_Sel(xClk: HBN_XCLK_CLK_Type) -> BL_Err_Type { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_xClk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pds_power_on_pll_rom` is never used [INFO] [stdout] --> src/system/pds.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn pds_power_on_pll_rom(xtal: PDS_PLL_XTAL_Type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.46/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "79b8deb79250031073e8e119ea7cb02221d2c0ec70ec50b69daff3961e975146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b8deb79250031073e8e119ea7cb02221d2c0ec70ec50b69daff3961e975146", kill_on_drop: false }` [INFO] [stdout] 79b8deb79250031073e8e119ea7cb02221d2c0ec70ec50b69daff3961e975146