[INFO] fetching crate mufmt 0.4.2... [INFO] checking mufmt-0.4.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate mufmt 0.4.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate mufmt 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mufmt 0.4.2 [INFO] tweaked toml for crates.io crate mufmt 0.4.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mufmt 0.4.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 mufmt 0.4.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2c082c891f2e2b940209580d1c23db5c935fd7b3ab52306b6e55be196c2eec86 [INFO] running `Command { std: "docker" "start" "-a" "2c082c891f2e2b940209580d1c23db5c935fd7b3ab52306b6e55be196c2eec86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c082c891f2e2b940209580d1c23db5c935fd7b3ab52306b6e55be196c2eec86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c082c891f2e2b940209580d1c23db5c935fd7b3ab52306b6e55be196c2eec86", kill_on_drop: false }` [INFO] [stdout] 2c082c891f2e2b940209580d1c23db5c935fd7b3ab52306b6e55be196c2eec86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5e4df1108ce5efc01229c64843e9c9e1c4bdbcc92c7a2e3a743bcb8006975945 [INFO] running `Command { std: "docker" "start" "-a" "5e4df1108ce5efc01229c64843e9c9e1c4bdbcc92c7a2e3a743bcb8006975945", kill_on_drop: false }` [INFO] [stderr] Checking mufmt v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: this type continue be must used: Result>::Error>, Infallible> [INFO] [stdout] --> src/types/ast.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_expr(expr: &'fmt str) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 98 | | Ok(T::from_expr(expr)) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result>::Error>, Infallible> [INFO] [stdout] --> src/types/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(T::from_expr(expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_expr(s: &str) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 51 | | ::std::str::FromStr::from_str(s) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [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 `ast_from_str` (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/types/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::str::FromStr::from_str(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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/types/ast.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_expr(s: &str) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 51 | | ::std::str::FromStr::from_str(s) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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/types/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::str::FromStr::from_str(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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<&str, Infallible> [INFO] [stdout] --> src/types/ast.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | fn from_expr(s: &'fmt str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 183 | | Ok(s) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/types/ast.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(s) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Path, Infallible> [INFO] [stdout] --> src/types/ast.rs:190:61 [INFO] [stdout] | [INFO] [stdout] 190 | fn from_expr(s: &'fmt str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 191 | | Ok(Path::new(s)) [INFO] [stdout] 192 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Path, Infallible> [INFO] [stdout] --> src/types/ast.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(Path::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_expr(_: &str) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 219 | | Ok(Self) [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | Ok(Self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&T, Infallible> [INFO] [stdout] --> src/types/manifest.rs:76:82 [INFO] [stdout] | [INFO] [stdout] 76 | fn manifest(&self, ast: &BoundedInt) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 77 | | Ok(unsafe { self.as_slice().get_unchecked(usize::from(*ast)) }) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&T, Infallible> [INFO] [stdout] --> src/types/manifest.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(unsafe { self.as_slice().get_unchecked(usize::from(*ast)) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mufmt` (lib) due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/tests.rs:210:91 [INFO] [stdout] | [INFO] [stdout] 210 | fn ident_lifetime<'fmt>(s: &&'fmt str) -> Result<&'fmt str, std::convert::Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 211 | | Ok(s) [INFO] [stdout] 212 | | } [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<&str, Infallible> [INFO] [stdout] --> src/tests.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | Ok(s) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tests.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(template.render(&ident_lifetime).unwrap(), "sh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result>::Error>, Infallible> [INFO] [stdout] --> src/types/ast.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_expr(expr: &'fmt str) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 98 | | Ok(T::from_expr(expr)) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result>::Error>, Infallible> [INFO] [stdout] --> src/types/ast.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Ok(T::from_expr(expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_expr(s: &str) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 51 | | ::std::str::FromStr::from_str(s) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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/types/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::str::FromStr::from_str(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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/types/ast.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_expr(s: &str) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 51 | | ::std::str::FromStr::from_str(s) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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/types/ast.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::str::FromStr::from_str(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | / ast_from_str!( [INFO] [stdout] 137 | | // str types [INFO] [stdout] 138 | | String, [INFO] [stdout] 139 | | PathBuf, [INFO] [stdout] ... | [INFO] [stdout] 176 | | f64 [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ast_from_str` (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<&str, Infallible> [INFO] [stdout] --> src/types/ast.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | fn from_expr(s: &'fmt str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 183 | | Ok(s) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/types/ast.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(s) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Path, Infallible> [INFO] [stdout] --> src/types/ast.rs:190:61 [INFO] [stdout] | [INFO] [stdout] 190 | fn from_expr(s: &'fmt str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 191 | | Ok(Path::new(s)) [INFO] [stdout] 192 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&Path, Infallible> [INFO] [stdout] --> src/types/ast.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(Path::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_expr(_: &str) -> Result { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 219 | | Ok(Self) [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types/ast.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | Ok(Self) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&T, Infallible> [INFO] [stdout] --> src/types/manifest.rs:76:82 [INFO] [stdout] | [INFO] [stdout] 76 | fn manifest(&self, ast: &BoundedInt) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 77 | | Ok(unsafe { self.as_slice().get_unchecked(usize::from(*ast)) }) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&T, Infallible> [INFO] [stdout] --> src/types/manifest.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(unsafe { self.as_slice().get_unchecked(usize::from(*ast)) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mufmt` (lib test) due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e4df1108ce5efc01229c64843e9c9e1c4bdbcc92c7a2e3a743bcb8006975945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4df1108ce5efc01229c64843e9c9e1c4bdbcc92c7a2e3a743bcb8006975945", kill_on_drop: false }` [INFO] [stdout] 5e4df1108ce5efc01229c64843e9c9e1c4bdbcc92c7a2e3a743bcb8006975945