[INFO] fetching crate sent-driver 0.1.0... [INFO] testing sent-driver-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sent-driver 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking crates.io crate sent-driver 0.1.0 [INFO] finished tweaking crates.io crate sent-driver 0.1.0 [INFO] tweaked toml for crates.io crate sent-driver 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sent-driver 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sent-driver 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2db31377c3cc8e5c08d283e16262b931cde59cfe8f8b753b60816e53a53b3840 [INFO] running `Command { std: "docker" "start" "-a" "2db31377c3cc8e5c08d283e16262b931cde59cfe8f8b753b60816e53a53b3840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2db31377c3cc8e5c08d283e16262b931cde59cfe8f8b753b60816e53a53b3840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db31377c3cc8e5c08d283e16262b931cde59cfe8f8b753b60816e53a53b3840", kill_on_drop: false }` [INFO] [stdout] 2db31377c3cc8e5c08d283e16262b931cde59cfe8f8b753b60816e53a53b3840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cf86e86b229b2b983dba1370db9bcd88cdd38322dff9cbe7053252578c91b27 [INFO] running `Command { std: "docker" "start" "-a" "8cf86e86b229b2b983dba1370db9bcd88cdd38322dff9cbe7053252578c91b27", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling stm32f1 v0.13.0 [INFO] [stderr] Compiling bitrate v0.1.1 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling asm-delay v0.9.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling stm32f1xx-hal v0.6.1 [INFO] [stderr] Compiling sent-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] 72 + tab_time[i as usize] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 136 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 139 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: stm32f1xx-hal v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8cf86e86b229b2b983dba1370db9bcd88cdd38322dff9cbe7053252578c91b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf86e86b229b2b983dba1370db9bcd88cdd38322dff9cbe7053252578c91b27", kill_on_drop: false }` [INFO] [stdout] 8cf86e86b229b2b983dba1370db9bcd88cdd38322dff9cbe7053252578c91b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba23f920e75349134175c7908ba2071f6413f0498a0f07dd5f28102f44a3bb47 [INFO] running `Command { std: "docker" "start" "-a" "ba23f920e75349134175c7908ba2071f6413f0498a0f07dd5f28102f44a3bb47", kill_on_drop: false }` [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] 72 + tab_time[i as usize] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 136 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 139 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rtt-target v0.3.1 [INFO] [stderr] Compiling panic-rtt-target v0.1.2 [INFO] [stderr] Compiling sent-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> examples/input_capture_v1.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | TAB_TIME[(I as usize)] = *((ADD_SRAM + (I * 0x2) as u32) as *mut u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - TAB_TIME[(I as usize)] = *((ADD_SRAM + (I * 0x2) as u32) as *mut u16); [INFO] [stdout] 27 + TAB_TIME[I as usize] = *((ADD_SRAM + (I * 0x2) as u32) as *mut u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> examples/input_capture_v1.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | } else if tab_value[(k as usize)] >= 36 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - } else if tab_value[(k as usize)] >= 36 { [INFO] [stdout] 157 + } else if tab_value[k as usize] >= 36 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sent-driver` (example "main") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - tab_time[(i as usize)] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] 72 + tab_time[i as usize] = *((dma.add_mem + (i * 0x02) as u32) as *mut u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 136 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sent.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | checksum = crclookup[(checksum as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - checksum = crclookup[(checksum as usize)]; [INFO] [stdout] 139 + checksum = crclookup[checksum as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sent-driver` (example "input_capture_v1") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> examples/ic_mutex.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | TAB_TIME[(i as usize)] = *((ADD_SRAM + (i * 0x2) as u32) as *mut u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - TAB_TIME[(i as usize)] = *((ADD_SRAM + (i * 0x2) as u32) as *mut u16); [INFO] [stdout] 34 + TAB_TIME[i as usize] = *((ADD_SRAM + (i * 0x2) as u32) as *mut u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> examples/ic_mutex.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | } else if tab_value[(k as usize)] >= 36 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - } else if tab_value[(k as usize)] >= 36 { [INFO] [stdout] 171 + } else if tab_value[k as usize] >= 36 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sent-driver` (example "ic_mutex") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba23f920e75349134175c7908ba2071f6413f0498a0f07dd5f28102f44a3bb47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba23f920e75349134175c7908ba2071f6413f0498a0f07dd5f28102f44a3bb47", kill_on_drop: false }` [INFO] [stdout] ba23f920e75349134175c7908ba2071f6413f0498a0f07dd5f28102f44a3bb47