[INFO] cloning repository https://github.com/Nercury/embedded-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nercury/embedded-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fembedded-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fembedded-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f132c15a27a5dec7216e4de49564288d51b4604 [INFO] checking Nercury/embedded-experiments against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fembedded-experiments" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nercury/embedded-experiments on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nercury/embedded-experiments [INFO] finished tweaking git repo https://github.com/Nercury/embedded-experiments [INFO] tweaked toml for git repo https://github.com/Nercury/embedded-experiments written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Nercury/embedded-experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7126a3aca09c7d99d0ba9d7df4b4661b0e7f4a7d3b9dfc1e5962aa93be9fccb2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7126a3aca09c7d99d0ba9d7df4b4661b0e7f4a7d3b9dfc1e5962aa93be9fccb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7126a3aca09c7d99d0ba9d7df4b4661b0e7f4a7d3b9dfc1e5962aa93be9fccb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7126a3aca09c7d99d0ba9d7df4b4661b0e7f4a7d3b9dfc1e5962aa93be9fccb2", kill_on_drop: false }` [INFO] [stdout] 7126a3aca09c7d99d0ba9d7df4b4661b0e7f4a7d3b9dfc1e5962aa93be9fccb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f105a1a4923bed87cb83f4b18ac8faef48b44a8cc9079f2e77c598b6f2c58a59 [INFO] running `Command { std: "docker" "start" "-a" "f105a1a4923bed87cb83f4b18ac8faef48b44a8cc9079f2e77c598b6f2c58a59", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Checking nb v0.1.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling stm32f1 v0.6.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling stm32g0 v0.6.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling part02-clock v0.1.0 (/opt/rustwide/workdir/part02-clock) [INFO] [stderr] Compiling part06-g0-i2c v0.1.0 (/opt/rustwide/workdir/part06-g0-i2c) [INFO] [stderr] Compiling part05-g0-hello v0.1.0 (/opt/rustwide/workdir/part05-g0-hello) [INFO] [stderr] Compiling part01-blink v0.1.0 (/opt/rustwide/workdir/part01-blink) [INFO] [stderr] Compiling part03b-i2c v0.1.0 (/opt/rustwide/workdir/part03b-i2c) [INFO] [stderr] Compiling part03a-hal v0.1.0 (/opt/rustwide/workdir/part03a-hal) [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking typenum v1.10.0 [INFO] [stderr] Checking mcp23008 v0.0.1 (/opt/rustwide/workdir/mcp) [INFO] [stderr] Checking lsm9ds1 v0.0.1 (/opt/rustwide/workdir/lsm9ds1) [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stdout] error[E0599]: no variant or associated item named `Pwm` found for enum `Register` in the current scope [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Register { [INFO] [stdout] | ----------------- variant or associated item `Pwm` not found here [INFO] [stdout] ... [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^^^ variant or associated item not found in `Register` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] error[E0277]: no implementation for `bool & {integer}` [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:93 [INFO] [stdout] | [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^ no implementation for `bool & {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd<{integer}>` is not implemented for `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trivial numeric cast: `u8` as `u8` [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> lsm9ds1/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(trivial_numeric_casts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: cast can be replaced by coercion; this might require a temporary variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm9ds1` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `Pwm` found for enum `Register` in the current scope [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Register { [INFO] [stdout] | ----------------- variant or associated item `Pwm` not found here [INFO] [stdout] ... [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^^^ variant or associated item not found in `Register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `bool & {integer}` [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:93 [INFO] [stdout] | [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^ no implementation for `bool & {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd<{integer}>` is not implemented for `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trivial numeric cast: `u8` as `u8` [INFO] [stdout] --> lsm9ds1/src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | self.i2c.write(self.acc_gyro_address as u8, &[register::Register::Pwm as u8, (value & 0b0111_1111) | 0b1000_0000]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> lsm9ds1/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(trivial_numeric_casts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: cast can be replaced by coercion; this might require a temporary variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f105a1a4923bed87cb83f4b18ac8faef48b44a8cc9079f2e77c598b6f2c58a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f105a1a4923bed87cb83f4b18ac8faef48b44a8cc9079f2e77c598b6f2c58a59", kill_on_drop: false }` [INFO] [stdout] f105a1a4923bed87cb83f4b18ac8faef48b44a8cc9079f2e77c598b6f2c58a59