[INFO] cloning repository https://github.com/RustyGecko/sensor-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustyGecko/sensor-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyGecko%2Fsensor-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyGecko%2Fsensor-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 453510e4acec853e4a3229d488c093e91a596b69 [INFO] testing RustyGecko/sensor-tracker against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyGecko%2Fsensor-tracker" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RustyGecko/sensor-tracker on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RustyGecko/sensor-tracker [INFO] finished tweaking git repo https://github.com/RustyGecko/sensor-tracker [INFO] tweaked toml for git repo https://github.com/RustyGecko/sensor-tracker written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/RustyGecko/sensor-tracker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rust-alloc.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/cmsis.git` [INFO] [stderr] Updating git submodule `https://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rust-collections.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rust-core.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/emdrv.git` [INFO] [stderr] Updating git submodule `https://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/emlib.git` [INFO] [stderr] Updating git submodule `git://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Updating git submodule `https://github.com/ThrowTheSwitch/Unity.git` [INFO] [stderr] Updating git submodule `https://github.com/ThrowTheSwitch/CMock.git` [INFO] [stderr] Updating git submodule `https://github.com/throwtheswitch/cexception.git` [INFO] [stderr] Updating git submodule `https://github.com/throwtheswitch/unity.git` [INFO] [stderr] Updating git submodule `https://github.com/throwtheswitch/unity.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/kits.git` [INFO] [stderr] Updating git submodule `https://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rust-libc.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/modules.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/sensors.git` [INFO] [stderr] Updating git submodule `https://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Updating git repository `https://github.com/sondrele/rust-src.git` [INFO] [stderr] Updating git repository `https://github.com/sondrele/gcc-rs.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rust-unicode.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/rlibc.git` [INFO] [stderr] Updating git repository `https://github.com/RustyGecko/startup.git` [INFO] [stderr] Updating git submodule `https://github.com/RustyGecko/efm32-common.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded submodules v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7fc0724648788dedc0f8a04017578fef07924fc0b9a4a8140069589a683544d [INFO] running `Command { std: "docker" "start" "-a" "a7fc0724648788dedc0f8a04017578fef07924fc0b9a4a8140069589a683544d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7fc0724648788dedc0f8a04017578fef07924fc0b9a4a8140069589a683544d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7fc0724648788dedc0f8a04017578fef07924fc0b9a4a8140069589a683544d", kill_on_drop: false }` [INFO] [stdout] a7fc0724648788dedc0f8a04017578fef07924fc0b9a4a8140069589a683544d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6935dd7447d06d609e19457a590489e2c325e238d75808b2ec9fcfd44464f92 [INFO] running `Command { std: "docker" "start" "-a" "f6935dd7447d06d609e19457a590489e2c325e238d75808b2ec9fcfd44464f92", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sensor-tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 6 | extern crate core as other_core; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `emlib` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate emlib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `emdrv` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate emdrv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cmsis` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate cmsis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `modules` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate modules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `kits` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate kits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `sensors` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate sensors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/main.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let s = format!("{:?} ", sample); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] alloc::format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/hr_temp.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | i2c: &'static i2c::I2C [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/hr_temp.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(i2c: &'static i2c::I2C) -> HumidityRelativeAndTemperatureSensor { [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `si7013` [INFO] [stdout] --> src/hr_temp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | si7013::detect(self.i2c, si7013::ADDR_0) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `si7013` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `si7013` [INFO] [stdout] --> src/hr_temp.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | si7013::detect(self.i2c, si7013::ADDR_0) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `si7013` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `si7013` [INFO] [stdout] --> src/hr_temp.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | si7013::measure_rh_and_temp(self.i2c, si7013::ADDR_0, &mut relative_humidity, &mut temperature); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `si7013` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `si7013` [INFO] [stdout] --> src/hr_temp.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | si7013::measure_rh_and_temp(self.i2c, si7013::ADDR_0, &mut relative_humidity, &mut temperature); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `si7013` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | adc: &'static adc::Adc [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(adc: &'static adc::Adc) -> InternalTemperature { [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | self.adc.init(&adc::Init { [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | self.adc.init_single(&adc::InitSingle { [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | reference: adc::Ref::Ref2V5, [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | input: adc::SingleInput::Temp, [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | resolution: adc::Res::Res8Bit, [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | self.adc.start(adc::Start::Single); [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/internal_temperature.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | while self.adc.STATUS & adc::STATUS_SINGLEACT != 0 {} [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chip` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | chip::init(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `chip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bsp` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | bsp::trace_swo_setup(); [INFO] [stdout] | ^^^ use of undeclared crate or module `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | cmu::clock_enable(cmu::Clock::ADC0, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | cmu::clock_enable(cmu::Clock::ADC0, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/main.rs:65:67 [INFO] [stdout] | [INFO] [stdout] 65 | let it_sense = internal_temperature::InternalTemperature::new(adc::Adc::adc0()); [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/main.rs:68:76 [INFO] [stdout] | [INFO] [stdout] 68 | let hr_temp_sense = hr_temp::HumidityRelativeAndTemperatureSensor::new(i2c::I2C::i2c1()); [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `emu` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | emu::enter_em2(true); [INFO] [stdout] | ^^^ use of undeclared crate or module `emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | cmu::clock_enable(cmu::Clock::CORELE, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | cmu::clock_enable(cmu::Clock::CORELE, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | cmu::clock_enable(cmu::Clock::RTC, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | cmu::clock_enable(cmu::Clock::RTC, true); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | cmu::clock_select_set(cmu::Clock::LFA, cmu::Select::LFXO); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | cmu::clock_select_set(cmu::Clock::LFA, cmu::Select::LFXO); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmu` [INFO] [stdout] --> src/main.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | cmu::clock_select_set(cmu::Clock::LFA, cmu::Select::LFXO); [INFO] [stdout] | ^^^ use of undeclared crate or module `cmu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | rtc::init(&rtc::Init { [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | rtc::init(&rtc::Init { [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | rtc::compare_set(0, (LFXO_FREQ / 1000) * interval); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nvic` [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | nvic::enable_irq(nvic::IRQn::RTC); [INFO] [stdout] | ^^^^ use of undeclared crate or module `nvic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nvic` [INFO] [stdout] --> src/main.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | nvic::enable_irq(nvic::IRQn::RTC); [INFO] [stdout] | ^^^^ use of undeclared crate or module `nvic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | rtc::int_enable(rtc::RTC_IEN_COMP0); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | rtc::int_enable(rtc::RTC_IEN_COMP0); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | rtc::enable(true); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | rtc::int_clear(rtc::RTC_IEN_COMP0); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rtc` [INFO] [stdout] --> src/main.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | rtc::int_clear(rtc::RTC_IEN_COMP0); [INFO] [stdout] | ^^^ use of undeclared crate or module `rtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `adc` [INFO] [stdout] --> src/main.rs:145:71 [INFO] [stdout] | [INFO] [stdout] 145 | let mut it_sense = internal_temperature::InternalTemperature::new(adc::Adc::adc0()); [INFO] [stdout] | ^^^ use of undeclared crate or module `adc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/main.rs:152:80 [INFO] [stdout] | [INFO] [stdout] 152 | let mut hr_temp_sense = hr_temp::HumidityRelativeAndTemperatureSensor::new(i2c::I2C::i2c1()); [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop_all(&mut self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | def_circular_buffer!(CircularBuffer4, 4); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | self.by_ref().collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | def_circular_buffer!(CircularBuffer4, 4); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop_all(&mut self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | def_circular_buffer!(CircularBuffer8, 8); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | self.by_ref().collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | def_circular_buffer!(CircularBuffer8, 8); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop_all(&mut self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | def_circular_buffer!(CircularBuffer16, 16); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | self.by_ref().collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 123 | def_circular_buffer!(CircularBuffer16, 16); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop_all(&mut self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 124 | def_circular_buffer!(CircularBuffer128, 128); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | self.by_ref().collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 124 | def_circular_buffer!(CircularBuffer128, 128); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn pop_all(&mut self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 125 | def_circular_buffer!(CircularBuffer512, 512); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/circular_buffer.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | self.by_ref().collect::>() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 125 | def_circular_buffer!(CircularBuffer512, 512); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_circular_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/fixed_size_vector.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | vec: Vec [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/fixed_size_vector.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | vec: Vec::with_capacity(size) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usart` in this scope [INFO] [stdout] --> src/cmdparse.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let usart: Usart = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/cmdparse.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_line() -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usart` in this scope [INFO] [stdout] --> src/cmdparse.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | let usart: Usart = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `String` [INFO] [stdout] --> src/cmdparse.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let mut line = String::with_capacity(8); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/cmdparse.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse(line: String) -> Cmd { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::string::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/cmdparse.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let tokens: Vec<&str> = line.split(' ').collect(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PB0` in this scope [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | PB0.init(); PB0.on_click(btn0_cb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PB0` in this scope [INFO] [stdout] --> src/main.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | PB0.init(); PB0.on_click(btn0_cb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PB1` in this scope [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PB1.init(); PB1.on_click(btn1_cb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PB1` in this scope [INFO] [stdout] --> src/main.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | PB1.init(); PB1.on_click(btn1_cb); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usart` in this scope [INFO] [stdout] --> src/main.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | let mut uart: Usart = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usart` in this scope [INFO] [stdout] --> src/main.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | let uart: Usart = Default::default(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core, no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, alloc, slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/hr_temp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/internal_temperature.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/circular_buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/cmdparse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[alloc_error_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: use `#![feature(default_alloc_error_handler)]` for a default error handler [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/fixed_size_vector.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | self.len() >= self.capacity() [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] note: required by a bound in `FixedSizeVector::::len` [INFO] [stdout] --> src/fixed_size_vector.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl FixedSizeVector { [INFO] [stdout] | ^^^^^ required by this bound in `FixedSizeVector::::len` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn len(&self) -> usize { [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 82 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0259, E0283, E0412, E0425, E0433, E0463, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0259`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sensor-tracker` due to 83 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6935dd7447d06d609e19457a590489e2c325e238d75808b2ec9fcfd44464f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6935dd7447d06d609e19457a590489e2c325e238d75808b2ec9fcfd44464f92", kill_on_drop: false }` [INFO] [stdout] f6935dd7447d06d609e19457a590489e2c325e238d75808b2ec9fcfd44464f92