[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNercury%2Fembedded-experiments" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nercury/embedded-experiments on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/stm32-rs/stm32f1xx-hal.git` [INFO] [stderr] Updating git repository `https://github.com/Nercury/stm32g0xx-hal` [INFO] [stderr] Updating git repository `https://github.com/stm32-rs/stm32g0xx-hal` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b2fca18ba0078178643649564afe2868837f842eb5855b9ef0e8755f236162f [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" "7b2fca18ba0078178643649564afe2868837f842eb5855b9ef0e8755f236162f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b2fca18ba0078178643649564afe2868837f842eb5855b9ef0e8755f236162f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2fca18ba0078178643649564afe2868837f842eb5855b9ef0e8755f236162f", kill_on_drop: false }` [INFO] [stdout] 7b2fca18ba0078178643649564afe2868837f842eb5855b9ef0e8755f236162f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 435657be87f800b4eb774aa1b651f2c541b627513a2056f3f55080096662480b [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" "435657be87f800b4eb774aa1b651f2c541b627513a2056f3f55080096662480b", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling cortex-m-rt v0.6.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.1 [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 typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling stm32g0 v0.6.0 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling part03a-hal v0.1.0 (/opt/rustwide/workdir/part03a-hal) [INFO] [stderr] Compiling part05-g0-hello v0.1.0 (/opt/rustwide/workdir/part05-g0-hello) [INFO] [stderr] Compiling part03b-i2c v0.1.0 (/opt/rustwide/workdir/part03b-i2c) [INFO] [stderr] Compiling part06-g0-i2c v0.1.0 (/opt/rustwide/workdir/part06-g0-i2c) [INFO] [stderr] Compiling part02-clock v0.1.0 (/opt/rustwide/workdir/part02-clock) [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling part01-blink v0.1.0 (/opt/rustwide/workdir/part01-blink) [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] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling rand v0.5.6 [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 quote v0.6.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [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: 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" "435657be87f800b4eb774aa1b651f2c541b627513a2056f3f55080096662480b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435657be87f800b4eb774aa1b651f2c541b627513a2056f3f55080096662480b", kill_on_drop: false }` [INFO] [stdout] 435657be87f800b4eb774aa1b651f2c541b627513a2056f3f55080096662480b