[INFO] fetching crate from-os-str 0.1.0...
[INFO] checking from-os-str-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate from-os-str 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate from-os-str 0.1.0
[INFO] finished tweaking crates.io crate from-os-str 0.1.0
[INFO] tweaked toml for crates.io crate from-os-str 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate from-os-str 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] 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] 9e4edea176b7ad1e80003183ca328a12e6efb30bb52bc7c9ba2fc42173456629
[INFO] running `Command { std: "docker" "start" "-a" "9e4edea176b7ad1e80003183ca328a12e6efb30bb52bc7c9ba2fc42173456629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e4edea176b7ad1e80003183ca328a12e6efb30bb52bc7c9ba2fc42173456629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e4edea176b7ad1e80003183ca328a12e6efb30bb52bc7c9ba2fc42173456629", kill_on_drop: false }`
[INFO] [stdout] 9e4edea176b7ad1e80003183ca328a12e6efb30bb52bc7c9ba2fc42173456629
[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] 99449a05b155391b1e3167e0273e7138fb632b369f1025675ebcf40f9f574fa3
[INFO] running `Command { std: "docker" "start" "-a" "99449a05b155391b1e3167e0273e7138fb632b369f1025675ebcf40f9f574fa3", kill_on_drop: false }`
[INFO] [stderr]     Checking from-os-str v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:229:57
[INFO] [stdout]     |
[INFO] [stdout] 229 |           fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]     |  _________________________________________________________^
[INFO] [stdout] 230 | |             Ok(Foo("STR: ".to_string() + s))
[INFO] [stdout] 231 | |         }
[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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:230:13
[INFO] [stdout]     |
[INFO] [stdout] 230 |             Ok(Foo("STR: ".to_string() + s))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<&std::ffi::OsStr, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |         let os_str_2 = try_from_os_str!(os_str as &OsStr).unwrap();
[INFO] [stdout]     |                        ---------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<&Path, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |         let path = try_from_os_str!(os_str as &Path).unwrap();
[INFO] [stdout]     |                    --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<PathBuf, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |         let path = try_from_os_str!(os_str as PathBuf).unwrap();
[INFO] [stdout]     |                    ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |         let foo = try_from_os_str!(os_str as Foo);
[INFO] [stdout]     |                   ------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:20
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:25
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_eq!(foo, Ok(Foo("OS: 123".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<&std::ffi::OsStr, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |         let os_str_2 = try_from_os_str!(os_str as &OsStr).unwrap();
[INFO] [stdout]     |                        ---------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<&Path, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |         let path = try_from_os_str!(os_str as &Path).unwrap();
[INFO] [stdout]     |                    --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<PathBuf, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |         let path = try_from_os_str!(os_str as PathBuf).unwrap();
[INFO] [stdout]     |                    ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         (&&&&&&&&Wrap::<$typ>::new($name)).specialized()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |         let foo = try_from_os_str!(os_str as Foo);
[INFO] [stdout]     |                   ------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `try_from_os_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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:20
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:25
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (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<Foo, std::convert::Infallible>
[INFO] [stdout]    --> src/lib.rs:278:9
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_eq!(foo, Ok(Foo("OS: ��".to_owned())));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `from-os-str` (lib test) due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "99449a05b155391b1e3167e0273e7138fb632b369f1025675ebcf40f9f574fa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99449a05b155391b1e3167e0273e7138fb632b369f1025675ebcf40f9f574fa3", kill_on_drop: false }`
[INFO] [stdout] 99449a05b155391b1e3167e0273e7138fb632b369f1025675ebcf40f9f574fa3
