[INFO] fetching crate adxl_for_rpi 0.0.2...
[INFO] testing adxl_for_rpi-0.0.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate adxl_for_rpi 0.0.2 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate adxl_for_rpi 0.0.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate adxl_for_rpi 0.0.2
[INFO] finished tweaking crates.io crate adxl_for_rpi 0.0.2
[INFO] tweaked toml for crates.io crate adxl_for_rpi 0.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate adxl_for_rpi 0.0.2 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] [stderr]   Downloaded rppal v0.11.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41a0f2209281224479a7ee219248ea33394707ceb7b61dd4dc9920d98d65b3c8
[INFO] running `Command { std: "docker" "start" "-a" "41a0f2209281224479a7ee219248ea33394707ceb7b61dd4dc9920d98d65b3c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41a0f2209281224479a7ee219248ea33394707ceb7b61dd4dc9920d98d65b3c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41a0f2209281224479a7ee219248ea33394707ceb7b61dd4dc9920d98d65b3c8", kill_on_drop: false }`
[INFO] [stdout] 41a0f2209281224479a7ee219248ea33394707ceb7b61dd4dc9920d98d65b3c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b41c0d13b98c072e6d541ac91cb4843dc624d5f0f2e1a081107e27fc7f3f9a3
[INFO] running `Command { std: "docker" "start" "-a" "0b41c0d13b98c072e6d541ac91cb4843dc624d5f0f2e1a081107e27fc7f3f9a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rppal v0.11.3
[INFO] [stderr]    Compiling adxl_for_rpi v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:173:24
[INFO] [stdout]     |
[INFO] [stdout] 173 |             high[0] = ((self.raw_data[1] >> 8) & (0xff as u8)) as i16;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift right by `8_i32`, which would overflow
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(arithmetic_overflow)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:174:24
[INFO] [stdout]     |
[INFO] [stdout] 174 |             high[1] = ((self.raw_data[3] >> 8) & (0xff as u8)) as i16;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift right by `8_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:175:24
[INFO] [stdout]     |
[INFO] [stdout] 175 |             high[2] = ((self.raw_data[5] >> 8) & (0xff as u8)) as i16;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift right by `8_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:331:27
[INFO] [stdout]     |
[INFO] [stdout] 331 |         self.data_ready = (source>>0b1000000)==1;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ attempt to shift right by `64_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:332:20
[INFO] [stdout]     |
[INFO] [stdout] 332 |         self.tap = (source>>0b0100000)==1;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ attempt to shift right by `32_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:333:21
[INFO] [stdout]     |
[INFO] [stdout] 333 |         self.dtap = (source>>0b0010000)==1;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ attempt to shift right by `16_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this arithmetic operation will overflow
[INFO] [stdout]    --> src/adxl345.rs:334:20
[INFO] [stdout]     |
[INFO] [stdout] 334 |         self.act = (source>>0b0001000)==1;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ attempt to shift right by `8_i32`, which would overflow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `adxl_for_rpi` (lib) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "0b41c0d13b98c072e6d541ac91cb4843dc624d5f0f2e1a081107e27fc7f3f9a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b41c0d13b98c072e6d541ac91cb4843dc624d5f0f2e1a081107e27fc7f3f9a3", kill_on_drop: false }`
[INFO] [stdout] 0b41c0d13b98c072e6d541ac91cb4843dc624d5f0f2e1a081107e27fc7f3f9a3
