[INFO] fetching crate rmw_str 0.0.7... [INFO] checking rmw_str-0.0.7 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rmw_str 0.0.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rmw_str 0.0.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rmw_str 0.0.7 [INFO] tweaked toml for crates.io crate rmw_str 0.0.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rmw_str 0.0.7 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 rmw_str 0.0.7 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1565fd93aa3e7482261dfcb53da7db07c23e482c303310014648c39529d3c97f [INFO] running `Command { std: "docker" "start" "-a" "1565fd93aa3e7482261dfcb53da7db07c23e482c303310014648c39529d3c97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1565fd93aa3e7482261dfcb53da7db07c23e482c303310014648c39529d3c97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1565fd93aa3e7482261dfcb53da7db07c23e482c303310014648c39529d3c97f", kill_on_drop: false }` [INFO] [stdout] 1565fd93aa3e7482261dfcb53da7db07c23e482c303310014648c39529d3c97f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ed764748476d2587bb33aee0f1dc0a4e5b117ba5fb1714047a0c2a46ca117574 [INFO] running `Command { std: "docker" "start" "-a" "ed764748476d2587bb33aee0f1dc0a4e5b117ba5fb1714047a0c2a46ca117574", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking rmw_str v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(i) = i.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ImplStr` (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: ControlFlow, String> [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | / String::from_utf8_lossy(val) [INFO] [stdout] 47 | | .lines() [INFO] [stdout] 48 | | .next() [INFO] [stdout] 49 | | .unwrap_or("") [INFO] [stdout] 50 | | .trim() [INFO] [stdout] 51 | | .parse()?, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `ImplStr` (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/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | / String::from_utf8_lossy(val) [INFO] [stdout] 47 | | .lines() [INFO] [stdout] 48 | | .next() [INFO] [stdout] 49 | | .unwrap_or("") [INFO] [stdout] 50 | | .trim() [INFO] [stdout] 51 | | .parse()?, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ImplStr` (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/lib.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(i) = i.parse() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ImplStr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rmw_str` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(i) = i.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ImplStr` (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: ControlFlow, String> [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | / String::from_utf8_lossy(val) [INFO] [stdout] 47 | | .lines() [INFO] [stdout] 48 | | .next() [INFO] [stdout] 49 | | .unwrap_or("") [INFO] [stdout] 50 | | .trim() [INFO] [stdout] 51 | | .parse()?, [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `ImplStr` (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/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | / String::from_utf8_lossy(val) [INFO] [stdout] 47 | | .lines() [INFO] [stdout] 48 | | .next() [INFO] [stdout] 49 | | .unwrap_or("") [INFO] [stdout] 50 | | .trim() [INFO] [stdout] 51 | | .parse()?, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ImplStr` (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/lib.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | if let Ok(i) = i.parse() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | ImplStr!(String); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ImplStr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rmw_str` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ed764748476d2587bb33aee0f1dc0a4e5b117ba5fb1714047a0c2a46ca117574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed764748476d2587bb33aee0f1dc0a4e5b117ba5fb1714047a0c2a46ca117574", kill_on_drop: false }` [INFO] [stdout] ed764748476d2587bb33aee0f1dc0a4e5b117ba5fb1714047a0c2a46ca117574