[INFO] fetching crate ds1302 2.0.0... [INFO] checking ds1302-2.0.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate ds1302 2.0.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ds1302 2.0.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ds1302 2.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ds1302 2.0.0 [INFO] tweaked toml for crates.io crate ds1302 2.0.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate ds1302 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cea4780b3641434e4077e96e574007c7b5f3b00d34690857e387230160e518b [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" "5cea4780b3641434e4077e96e574007c7b5f3b00d34690857e387230160e518b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cea4780b3641434e4077e96e574007c7b5f3b00d34690857e387230160e518b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cea4780b3641434e4077e96e574007c7b5f3b00d34690857e387230160e518b", kill_on_drop: false }` [INFO] [stdout] 5cea4780b3641434e4077e96e574007c7b5f3b00d34690857e387230160e518b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] c06d1792b36f1f534276f73e04d6d63e5b3ad064fbe9a8a11c74c556cc50f053 [INFO] running `Command { std: "docker" "start" "-a" "c06d1792b36f1f534276f73e04d6d63e5b3ad064fbe9a8a11c74c556cc50f053", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling panic-probe v0.2.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking fugit v0.3.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking ds1302 v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: variant is never constructed: `TCS` [INFO] [stdout] --> src/registers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TCS = 0x90, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RAM` [INFO] [stdout] --> src/registers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | RAM = 0xC0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RAMBURS` [INFO] [stdout] --> src/registers.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RAMBURS = 0xFE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking ssd1306 v0.5.2 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal::spi::SpiBitFormat` [INFO] [stdout] --> examples/bluepill_ssd1306.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use stm32f1xx_hal::spi::SpiBitFormat::LsbFirst; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `SpiBitFormat` in `spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let mut afio = dp.AFIO.constrain(); [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/afio.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn constrain(self, apb2: &mut APB2) -> Parts; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | let mut gpioa = dp.GPIOA.split(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/gpio.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn split(self, apb2: &mut APB2) -> Self::Parts; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut gpiob = dp.GPIOB.split(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/gpio.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn split(self, apb2: &mut APB2) -> Self::Parts; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 10 arguments but 9 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | let i2c = BlockingI2c::i2c1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 10 arguments [INFO] [stdout] 91 | dp.I2C1, [INFO] [stdout] | ------- [INFO] [stdout] 92 | (scl, sda), [INFO] [stdout] | ---------- [INFO] [stdout] 93 | &mut afio.mapr, [INFO] [stdout] | -------------- [INFO] [stdout] 94 | / OtherMode::Fast { [INFO] [stdout] 95 | | frequency: 400_000.hz(), [INFO] [stdout] 96 | | duty_cycle: DutyCycle::Ratio2to1, [INFO] [stdout] 97 | | }, [INFO] [stdout] | |_________- [INFO] [stdout] 98 | clocks, [INFO] [stdout] | ------ [INFO] [stdout] 99 | 1000, [INFO] [stdout] | ---- [INFO] [stdout] 100 | 10, [INFO] [stdout] | -- [INFO] [stdout] 101 | 1000, [INFO] [stdout] | ---- [INFO] [stdout] 102 | 1000, [INFO] [stdout] | ---- supplied 9 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/i2c.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn i2c1( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let mut spi = Spi::spi1( [INFO] [stdout] | ^^^^^^^^^ expected 7 arguments [INFO] [stdout] 118 | dp.SPI1, [INFO] [stdout] | ------- [INFO] [stdout] 119 | (sck, miso, mosi), [INFO] [stdout] | ----------------- [INFO] [stdout] 120 | &mut afio.mapr, [INFO] [stdout] | -------------- [INFO] [stdout] 121 | spi_mode, [INFO] [stdout] | -------- [INFO] [stdout] 122 | 500.khz(), [INFO] [stdout] | --------- [INFO] [stdout] 123 | clocks, [INFO] [stdout] | ------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/spi.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn spi1( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/bluepill_ssd1306.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let timer = Timer::tim1(dp.TIM1, &clocks); [INFO] [stdout] | ^^^^^^^^^^^ ------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f1xx-hal-0.7.0/src/timer.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | TIM1: (tim1, APB2, dbg_tim1_stop, tim1), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TCS` [INFO] [stdout] --> src/registers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TCS = 0x90, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RAM` [INFO] [stdout] --> src/registers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | RAM = 0xC0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RAMBURS` [INFO] [stdout] --> src/registers.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RAMBURS = 0xFE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bit_format` found for struct `Spi` in the current scope [INFO] [stdout] --> examples/bluepill_ssd1306.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | spi.bit_format(LsbFirst); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ds1302` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "c06d1792b36f1f534276f73e04d6d63e5b3ad064fbe9a8a11c74c556cc50f053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06d1792b36f1f534276f73e04d6d63e5b3ad064fbe9a8a11c74c556cc50f053", kill_on_drop: false }` [INFO] [stdout] c06d1792b36f1f534276f73e04d6d63e5b3ad064fbe9a8a11c74c556cc50f053