[INFO] fetching crate embassy-sync 0.7.2... [INFO] checking embassy-sync-0.7.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate embassy-sync 0.7.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate embassy-sync 0.7.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate embassy-sync 0.7.2 [INFO] tweaked toml for crates.io crate embassy-sync 0.7.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embassy-sync 0.7.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate embassy-sync 0.7.2 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db23782b8df43ba19e50ae6db79419c9176b5588c861744dedf1a1f4881fc77d [INFO] running `Command { std: "docker" "start" "-a" "db23782b8df43ba19e50ae6db79419c9176b5588c861744dedf1a1f4881fc77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db23782b8df43ba19e50ae6db79419c9176b5588c861744dedf1a1f4881fc77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db23782b8df43ba19e50ae6db79419c9176b5588c861744dedf1a1f4881fc77d", kill_on_drop: false }` [INFO] [stdout] db23782b8df43ba19e50ae6db79419c9176b5588c861744dedf1a1f4881fc77d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f009d2bedaf4039bd3352cee8b0644c0bf003c6738fbd336fa322ab978878ded [INFO] running `Command { std: "docker" "start" "-a" "f009d2bedaf4039bd3352cee8b0644c0bf003c6738fbd336fa322ab978878ded", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling embassy-sync v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking static_cell v2.1.1 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:474:76 [INFO] [stdout] | [INFO] [stdout] 474 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 475 | | Ok(Pipe::read(self, buf).await) [INFO] [stdout] 476 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:474:76 [INFO] [stdout] | [INFO] [stdout] 474 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 475 | | Ok(Pipe::read(self, buf).await) [INFO] [stdout] 476 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | Ok(Pipe::read(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:480:73 [INFO] [stdout] | [INFO] [stdout] 480 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 481 | | Ok(Pipe::write(self, buf).await) [INFO] [stdout] 482 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:480:73 [INFO] [stdout] | [INFO] [stdout] 480 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 481 | | Ok(Pipe::write(self, buf).await) [INFO] [stdout] 482 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(Pipe::write(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:494:76 [INFO] [stdout] | [INFO] [stdout] 494 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 495 | | Ok(Pipe::read(self, buf).await) [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:494:76 [INFO] [stdout] | [INFO] [stdout] 494 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 495 | | Ok(Pipe::read(self, buf).await) [INFO] [stdout] 496 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(Pipe::read(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:500:73 [INFO] [stdout] | [INFO] [stdout] 500 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 501 | | Ok(Pipe::write(self, buf).await) [INFO] [stdout] 502 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:500:73 [INFO] [stdout] | [INFO] [stdout] 500 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 501 | | Ok(Pipe::write(self, buf).await) [INFO] [stdout] 502 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | Ok(Pipe::write(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:514:76 [INFO] [stdout] | [INFO] [stdout] 514 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 515 | | Ok(Reader::read(self, buf).await) [INFO] [stdout] 516 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:514:76 [INFO] [stdout] | [INFO] [stdout] 514 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 515 | | Ok(Reader::read(self, buf).await) [INFO] [stdout] 516 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | Ok(Reader::read(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/pipe.rs:520:64 [INFO] [stdout] | [INFO] [stdout] 520 | async fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 521 | | Ok(Reader::fill_buf(self).await) [INFO] [stdout] 522 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/pipe.rs:520:64 [INFO] [stdout] | [INFO] [stdout] 520 | async fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 521 | | Ok(Reader::fill_buf(self).await) [INFO] [stdout] 522 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/pipe.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | Ok(Reader::fill_buf(self).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:534:73 [INFO] [stdout] | [INFO] [stdout] 534 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 535 | | Ok(Writer::write(self, buf).await) [INFO] [stdout] 536 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:534:73 [INFO] [stdout] | [INFO] [stdout] 534 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 535 | | Ok(Writer::write(self, buf).await) [INFO] [stdout] 536 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pipe.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | Ok(Writer::write(self, buf).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | Poll::Ready(Ok(SemaphoreReleaser { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 123 | | semaphore: self, [INFO] [stdout] 124 | | permits, [INFO] [stdout] 125 | | })) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:140:97 [INFO] [stdout] | [INFO] [stdout] 140 | async fn acquire(&self, permits: usize) -> Result, Self::Error> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 141 | | poll_fn(|cx| self.poll_acquire(permits, false, Some(cx.waker()))).await [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:140:97 [INFO] [stdout] | [INFO] [stdout] 140 | async fn acquire(&self, permits: usize) -> Result, Self::Error> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 141 | | poll_fn(|cx| self.poll_acquire(permits, false, Some(cx.waker()))).await [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | poll_fn(|cx| self.poll_acquire(permits, false, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:141:75 [INFO] [stdout] | [INFO] [stdout] 141 | poll_fn(|cx| self.poll_acquire(permits, false, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | poll_fn(|cx| self.poll_acquire(permits, false, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:151:97 [INFO] [stdout] | [INFO] [stdout] 151 | async fn acquire_all(&self, min: usize) -> Result, Self::Error> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 152 | | poll_fn(|cx| self.poll_acquire(min, true, Some(cx.waker()))).await [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:151:97 [INFO] [stdout] | [INFO] [stdout] 151 | async fn acquire_all(&self, min: usize) -> Result, Self::Error> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 152 | | poll_fn(|cx| self.poll_acquire(min, true, Some(cx.waker()))).await [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | poll_fn(|cx| self.poll_acquire(min, true, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:152:70 [INFO] [stdout] | [INFO] [stdout] 152 | poll_fn(|cx| self.poll_acquire(min, true, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/semaphore.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | poll_fn(|cx| self.poll_acquire(min, true, Some(cx.waker()))).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embassy-sync` (lib) due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f009d2bedaf4039bd3352cee8b0644c0bf003c6738fbd336fa322ab978878ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f009d2bedaf4039bd3352cee8b0644c0bf003c6738fbd336fa322ab978878ded", kill_on_drop: false }` [INFO] [stdout] f009d2bedaf4039bd3352cee8b0644c0bf003c6738fbd336fa322ab978878ded