[INFO] fetching crate coreplus 0.2.1... [INFO] checking coreplus-0.2.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate coreplus 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate coreplus 0.2.1 [INFO] finished tweaking crates.io crate coreplus 0.2.1 [INFO] tweaked toml for crates.io crate coreplus 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate coreplus 0.2.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 07fad50525002fa3c142c335e5972fbb1f2e9d564121b8308c58b5decdb7a621 [INFO] running `Command { std: "docker" "start" "-a" "07fad50525002fa3c142c335e5972fbb1f2e9d564121b8308c58b5decdb7a621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07fad50525002fa3c142c335e5972fbb1f2e9d564121b8308c58b5decdb7a621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07fad50525002fa3c142c335e5972fbb1f2e9d564121b8308c58b5decdb7a621", kill_on_drop: false }` [INFO] [stdout] 07fad50525002fa3c142c335e5972fbb1f2e9d564121b8308c58b5decdb7a621 [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] f8a1099f312be506de510c3e0387fe6b9e1c21b288ff4b4d1e7a3540e7fbd94f [INFO] running `Command { std: "docker" "start" "-a" "f8a1099f312be506de510c3e0387fe6b9e1c21b288ff4b4d1e7a3540e7fbd94f", kill_on_drop: false }` [INFO] [stderr] Checking coreplus v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:116:70 [INFO] [stdout] | [INFO] [stdout] 116 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 117 | | let amt = cmp::min(buf.len(), self.len()); [INFO] [stdout] 118 | | let (a, b) = self.split_at(amt); [INFO] [stdout] ... | [INFO] [stdout] 130 | | Ok(amt) [INFO] [stdout] 131 | | } [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/io.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(amt) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:137:68 [INFO] [stdout] | [INFO] [stdout] 137 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 138 | | let amt = cmp::min(data.len(), self.len()); [INFO] [stdout] 139 | | let (a, b) = mem::replace(self, &mut []).split_at_mut(amt); [INFO] [stdout] 140 | | a.copy_from_slice(&data[..amt]); [INFO] [stdout] 141 | | *self = b; [INFO] [stdout] 142 | | Ok(amt) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(amt) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | self.write(data).map(|_| {}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/net/parser.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | Self::checked_mul(*self, other.try_into().ok()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | impl_helper! { u8 u16 u32 } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/net/parser.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | Self::checked_add(*self, other.try_into().ok()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | impl_helper! { u8 u16 u32 } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coreplus` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:116:70 [INFO] [stdout] | [INFO] [stdout] 116 | fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 117 | | let amt = cmp::min(buf.len(), self.len()); [INFO] [stdout] 118 | | let (a, b) = self.split_at(amt); [INFO] [stdout] ... | [INFO] [stdout] 130 | | Ok(amt) [INFO] [stdout] 131 | | } [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/io.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(amt) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:137:68 [INFO] [stdout] | [INFO] [stdout] 137 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 138 | | let amt = cmp::min(data.len(), self.len()); [INFO] [stdout] 139 | | let (a, b) = mem::replace(self, &mut []).split_at_mut(amt); [INFO] [stdout] 140 | | a.copy_from_slice(&data[..amt]); [INFO] [stdout] 141 | | *self = b; [INFO] [stdout] 142 | | Ok(amt) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(amt) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/io.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | self.write(data).map(|_| {}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/net/parser.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | Self::checked_mul(*self, other.try_into().ok()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | impl_helper! { u8 u16 u32 } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/net/parser.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | Self::checked_add(*self, other.try_into().ok()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | impl_helper! { u8 u16 u32 } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coreplus` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f8a1099f312be506de510c3e0387fe6b9e1c21b288ff4b4d1e7a3540e7fbd94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a1099f312be506de510c3e0387fe6b9e1c21b288ff4b4d1e7a3540e7fbd94f", kill_on_drop: false }` [INFO] [stdout] f8a1099f312be506de510c3e0387fe6b9e1c21b288ff4b4d1e7a3540e7fbd94f