[INFO] fetching crate string_iter 0.1.0...
[INFO] checking string_iter-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate string_iter 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate string_iter 0.1.0
[INFO] finished tweaking crates.io crate string_iter 0.1.0
[INFO] tweaked toml for crates.io crate string_iter 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate string_iter 0.1.0 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] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 69 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.5.1 (available: v0.7.0)
[INFO] [stderr]       Adding itertools v0.11.0 (available: v0.14.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dfea7486b3e9867b0fcf75eafc480873a79d93d898a0da46ea46997104125ab2
[INFO] running `Command { std: "docker" "start" "-a" "dfea7486b3e9867b0fcf75eafc480873a79d93d898a0da46ea46997104125ab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfea7486b3e9867b0fcf75eafc480873a79d93d898a0da46ea46997104125ab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfea7486b3e9867b0fcf75eafc480873a79d93d898a0da46ea46997104125ab2", kill_on_drop: false }`
[INFO] [stdout] dfea7486b3e9867b0fcf75eafc480873a79d93d898a0da46ea46997104125ab2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7ceb0218f2d47ebdc23a1a3654267bc2d894c07e9a553b1aa4b6aefd02016d46
[INFO] running `Command { std: "docker" "start" "-a" "7ceb0218f2d47ebdc23a1a3654267bc2d894c07e9a553b1aa4b6aefd02016d46", kill_on_drop: false }`
[INFO] [stderr]     Checking clap_builder v4.5.51
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking string_iter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stdout] warning: methods `slice_front_ptr` and `slice_back_ptr` are never used
[INFO] [stdout]    --> src/lib.rs:332:15
[INFO] [stdout]     |
[INFO] [stdout] 304 | impl<'t> StringIter<'t> {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 332 |     unsafe fn slice_front_ptr(&self, ptr: *const u8) -> &'t str{
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |     unsafe fn slice_back_ptr(&self, ptr: *const u8) -> &'t str{
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<&str>, Never>
[INFO] [stdout]    --> src/slice.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         self.try_next_slice(pat).unwrap()
[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<Option<&str>, Never>
[INFO] [stdout]    --> src/slice.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         self.try_next_slice_back(pat).unwrap()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/iter_fns.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 267 |             if f.matches(c, s).unwrap() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/iter_fns.rs:289:25
[INFO] [stdout]     |
[INFO] [stdout] 289 |                     if !f.matches(s2c1(s), s).unwrap() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/iter_fns.rs:299:25
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     if !f.matches(s2c2(s), s).unwrap() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/iter_fns.rs:309:25
[INFO] [stdout]     |
[INFO] [stdout] 309 |                     if !f.matches(s2c3(s), s).unwrap() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/iter_fns.rs:318:21
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 if !f.matches(s2c4(s), s).unwrap() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/interval.rs:88:72
[INFO] [stdout]    |
[INFO] [stdout] 88 |       fn matches(&mut self, _: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 89 | |         self.cursor += 1;
[INFO] [stdout] 90 | |         if self.cursor.is_negative() {
[INFO] [stdout] 91 | |             return Ok(false);
[INFO] [stdout] ...  |
[INFO] [stdout] 95 | |             self.interval.iter().any(|x| x.get() == self.cursor as usize))
[INFO] [stdout] 96 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/interval.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |             return Ok(false);
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/interval.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | /         Ok(self.cursor == 0 || 
[INFO] [stdout] 95 | |             self.interval.iter().any(|x| x.get() == self.cursor as usize))
[INFO] [stdout]    | |__________________________________________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:62:72
[INFO] [stdout]    |
[INFO] [stdout] 62 |       fn matches(&mut self, _: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 63 | |         *self -= 1;
[INFO] [stdout] 64 | |         Ok(*self == -1)
[INFO] [stdout] 65 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         Ok(*self == -1)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:70:72
[INFO] [stdout]    |
[INFO] [stdout] 70 |       fn matches(&mut self, _: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 71 | |         self.end -= 1;
[INFO] [stdout] 72 | |         Ok(self.contains(&-1))
[INFO] [stdout] 73 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         Ok(self.contains(&-1))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:78:72
[INFO] [stdout]    |
[INFO] [stdout] 78 |       fn matches(&mut self, c: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 79 | |         Ok(self.contains(&c))
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Ok(self.contains(&c))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:85:72
[INFO] [stdout]    |
[INFO] [stdout] 85 |       fn matches(&mut self, c: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 86 | |         Ok(c == *self)
[INFO] [stdout] 87 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         Ok(c == *self)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:92:72
[INFO] [stdout]    |
[INFO] [stdout] 92 |       fn matches(&mut self, _: char, s: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]    |  ________________________________________________________________________^
[INFO] [stdout] 93 | |         Ok(s.starts_with(*self))
[INFO] [stdout] 94 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]   --> src/pattern.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         Ok(s.starts_with(*self))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:103:72
[INFO] [stdout]     |
[INFO] [stdout] 103 |       fn matches(&mut self, c: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]     |  ________________________________________________________________________^
[INFO] [stdout] 104 | |         Ok(self.contains(&c))
[INFO] [stdout] 105 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         Ok(self.contains(&c))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:110:72
[INFO] [stdout]     |
[INFO] [stdout] 110 |       fn matches(&mut self, c: char, _: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]     |  ________________________________________________________________________^
[INFO] [stdout] 111 | |         Ok(self.contains(&c))
[INFO] [stdout] 112 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         Ok(self.contains(&c))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:130:45
[INFO] [stdout]     |
[INFO] [stdout] 130 |       fn get(self) -> Result<bool, Self::Err> {
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 131 | |         Ok(self)
[INFO] [stdout] 132 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |         Ok(self)
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:280:76
[INFO] [stdout]     |
[INFO] [stdout] 280 |           fn matches(&mut self, _: char, s: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]     |  ____________________________________________________________________________^
[INFO] [stdout] 281 | |             Ok(self == &s)
[INFO] [stdout] 282 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 281 |             Ok(self == &s)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:291:76
[INFO] [stdout]     |
[INFO] [stdout] 291 |           fn matches(&mut self, _: char, s: &str) -> Result<bool, Self::Err> {
[INFO] [stdout]     |  ____________________________________________________________________________^
[INFO] [stdout] 292 | |             Ok(self == &s)
[INFO] [stdout] 293 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Never>
[INFO] [stdout]    --> src/pattern.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |             Ok(self == &s)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `string_iter` (lib) due to 30 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "7ceb0218f2d47ebdc23a1a3654267bc2d894c07e9a553b1aa4b6aefd02016d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ceb0218f2d47ebdc23a1a3654267bc2d894c07e9a553b1aa4b6aefd02016d46", kill_on_drop: false }`
[INFO] [stdout] 7ceb0218f2d47ebdc23a1a3654267bc2d894c07e9a553b1aa4b6aefd02016d46
