[INFO] cloning repository https://github.com/sctg-development/rust-pid-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sctg-development/rust-pid-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsctg-development%2Frust-pid-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsctg-development%2Frust-pid-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5217a26c9d60b99cfc5efc5423d3cf3d857afd88 [INFO] checking sctg-development/rust-pid-controller against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsctg-development%2Frust-pid-controller" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sctg-development/rust-pid-controller [INFO] finished tweaking git repo https://github.com/sctg-development/rust-pid-controller [INFO] tweaked toml for git repo https://github.com/sctg-development/rust-pid-controller written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sctg-development/rust-pid-controller on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sctg-development/rust-pid-controller 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linux-embedded-hal v0.4.0 [INFO] [stderr] Downloaded i2cdev v0.6.1 [INFO] [stderr] Downloaded spidev v0.6.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.2 [INFO] [stderr] Downloaded gpio-cdev v0.6.0 [INFO] [stderr] Downloaded ads1x1x v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7e9d362bce4fc3328d61117c3813ab7ef099eef557ae63321910ee5604e4ae [INFO] running `Command { std: "docker" "start" "-a" "3b7e9d362bce4fc3328d61117c3813ab7ef099eef557ae63321910ee5604e4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7e9d362bce4fc3328d61117c3813ab7ef099eef557ae63321910ee5604e4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7e9d362bce4fc3328d61117c3813ab7ef099eef557ae63321910ee5604e4ae", kill_on_drop: false }` [INFO] [stdout] 3b7e9d362bce4fc3328d61117c3813ab7ef099eef557ae63321910ee5604e4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 352be0a1a4b9ea1f37dd3825b04fab0b1d80361211e8347c9ceaf3f4469a6cd2 [INFO] running `Command { std: "docker" "start" "-a" "352be0a1a4b9ea1f37dd3825b04fab0b1d80361211e8347c9ceaf3f4469a6cd2", kill_on_drop: false }` [INFO] [stderr] Checking rust-pid-controller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `duty_cycle` is never read [INFO] [stdout] --> src/lib.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let mut duty_cycle = 0.5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use ads1x1x::{channel, Ads1x1x, FullScaleRange, TargetAddr}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `linux_embedded_hal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use linux_embedded_hal::I2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `linux_embedded_hal`, use `cargo add linux_embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use ads1x1x::{channel, Ads1x1x, FullScaleRange, TargetAddr}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `linux_embedded_hal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use linux_embedded_hal::I2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `linux_embedded_hal`, use `cargo add linux_embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rppal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use rppal::pwm::{Channel, Polarity, Pwm}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rppal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rppal`, use `cargo add rppal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nb` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use nb::block; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rppal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use rppal::pwm::{Channel, Polarity, Pwm}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rppal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rppal`, use `cargo add rppal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nb` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use nb::block; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `nb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nb`, use `cargo add nb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | I2C: embedded_hal::i2c::I2c, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:74 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:104 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | I2C: embedded_hal::i2c::I2c, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:74 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] --> src/bin/rpi-48C-pid-controller.rs:159:104 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_temperature(adc: &mut Ads1x1x) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ads1x1x` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ads1x1x`, use `cargo add ads1x1x` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-pid-controller` (bin "rpi-48C-pid-controller" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-pid-controller` (bin "rpi-48C-pid-controller") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "352be0a1a4b9ea1f37dd3825b04fab0b1d80361211e8347c9ceaf3f4469a6cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352be0a1a4b9ea1f37dd3825b04fab0b1d80361211e8347c9ceaf3f4469a6cd2", kill_on_drop: false }` [INFO] [stdout] 352be0a1a4b9ea1f37dd3825b04fab0b1d80361211e8347c9ceaf3f4469a6cd2