[INFO] fetching crate sml-rs 0.4.0... [INFO] checking sml-rs-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sml-rs 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sml-rs 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sml-rs 0.4.0 [INFO] tweaked toml for crates.io crate sml-rs 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sml-rs 0.4.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] crate crates.io crate sml-rs 0.4.0 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] [stderr] Blocking waiting for file lock on package cache [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] 774d64bba4a2b58cff16f4654ad41b9ca17ff83b1d23c27f642750526b54aa6a [INFO] running `Command { std: "docker" "start" "-a" "774d64bba4a2b58cff16f4654ad41b9ca17ff83b1d23c27f642750526b54aa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "774d64bba4a2b58cff16f4654ad41b9ca17ff83b1d23c27f642750526b54aa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774d64bba4a2b58cff16f4654ad41b9ca17ff83b1d23c27f642750526b54aa6a", kill_on_drop: false }` [INFO] [stdout] 774d64bba4a2b58cff16f4654ad41b9ca17ff83b1d23c27f642750526b54aa6a [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] 41794f7a5b48ce6a5ed4a3cd84372e8849cfb292f9ec7749ae6c6a42609ef893 [INFO] running `Command { std: "docker" "start" "-a" "41794f7a5b48ce6a5ed4a3cd84372e8849cfb292f9ec7749ae6c6a42609ef893", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking sml-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/lib.rs:615:65 [INFO] [stdout] | [INFO] [stdout] 615 | fn parse_from(value: &'i [u8]) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 616 | | Ok(value) [INFO] [stdout] 617 | | } [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<&[u8], Infallible> [INFO] [stdout] --> src/lib.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | Ok(value) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:660:65 [INFO] [stdout] | [INFO] [stdout] 660 | fn parse_from(value: &'i [u8]) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 661 | | Ok(Parser::new(value)) [INFO] [stdout] 662 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | Ok(Parser::new(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse(input: &'i [u8]) -> ResTy; [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 164 | fn parse(input: &'i [u8]) -> ResTy<'i, Self>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:169:43 [INFO] [stdout] | [INFO] [stdout] 169 | fn parse_complete(input: &'i [u8]) -> ResTyComplete { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 169 | fn parse_complete(input: &'i [u8]) -> ResTyComplete<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | fn parse(input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 188 | fn parse(input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | fn parse(input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 198 | fn parse(input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | fn take_byte(input: &[u8]) -> ResTy { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 208 | fn take_byte(input: &[u8]) -> ResTy<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | fn take(input: &[u8]) -> ResTy<&[u8; N]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | fn take(input: &[u8]) -> ResTy<'_, &[u8; N]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | fn take_n(input: &[u8], n: usize) -> ResTy<&[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 222 | fn take_n(input: &[u8], n: usize) -> ResTy<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/common.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | fn parse(input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 303 | fn parse(input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/complete.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | fn parse(mut input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 45 | fn parse(mut input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/complete.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn parse(input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 72 | fn parse(input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/complete.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn parse(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 259 | pub fn parse(input: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/streaming.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse(input: &'i [u8]) -> ResTy { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 134 | fn parse(input: &'i [u8]) -> ResTy<'i, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/tlf.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse(input: &[u8]) -> ResTy { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn parse(input: &[u8]) -> ResTy<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/tlf.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | fn tlf_byte(input: &[u8]) -> ResTy<(bool, u8, u32)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn tlf_byte(input: &[u8]) -> ResTy<'_, (bool, u8, u32)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/tlf.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn tlf_first_byte(input: &[u8]) -> ResTy<(bool, Ty, u32)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn tlf_first_byte(input: &[u8]) -> ResTy<'_, (bool, Ty, u32)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/tlf.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | fn tlf_next_byte(input: &[u8]) -> ResTy<(bool, u32)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | fn tlf_next_byte(input: &[u8]) -> ResTy<'_, (bool, u32)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sml-rs` (lib) due to 4 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "41794f7a5b48ce6a5ed4a3cd84372e8849cfb292f9ec7749ae6c6a42609ef893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41794f7a5b48ce6a5ed4a3cd84372e8849cfb292f9ec7749ae6c6a42609ef893", kill_on_drop: false }` [INFO] [stdout] 41794f7a5b48ce6a5ed4a3cd84372e8849cfb292f9ec7749ae6c6a42609ef893