[INFO] fetching crate cffi 0.1.7...
[INFO] checking cffi-0.1.7 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate cffi 0.1.7 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate cffi 0.1.7
[INFO] finished tweaking crates.io crate cffi 0.1.7
[INFO] tweaked toml for crates.io crate cffi 0.1.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cffi 0.1.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] 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 87 packages to latest compatible versions
[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-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] a5887f2d81a9d713bd04c8f844978ecfb45f33593cafa2b551007cc31eb93c8a
[INFO] running `Command { std: "docker" "start" "-a" "a5887f2d81a9d713bd04c8f844978ecfb45f33593cafa2b551007cc31eb93c8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5887f2d81a9d713bd04c8f844978ecfb45f33593cafa2b551007cc31eb93c8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5887f2d81a9d713bd04c8f844978ecfb45f33593cafa2b551007cc31eb93c8a", kill_on_drop: false }`
[INFO] [stdout] a5887f2d81a9d713bd04c8f844978ecfb45f33593cafa2b551007cc31eb93c8a
[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] a4f0c393918b443f3306e232a6ee155464f925745f8d6ced6ef2502db6d98041
[INFO] running `Command { std: "docker" "start" "-a" "a4f0c393918b443f3306e232a6ee155464f925745f8d6ced6ef2502db6d98041", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling cffi-impl v0.1.6
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]     Checking cffi v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/str.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct StrMarshaler<'a>(&'a PhantomData<()>);
[INFO] [stdout]   |            ------------     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[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<*const T, Infallible>
[INFO] [stdout]   --> src/arc.rs:43:67
[INFO] [stdout]    |
[INFO] [stdout] 43 |       fn to_foreign(local: Arc<T>) -> Result<*const T, Self::Error> {
[INFO] [stdout]    |  ___________________________________________________________________^
[INFO] [stdout] 44 | |         log::debug!(
[INFO] [stdout] 45 | |             "<ArcMarshaler<{ty}> as ToForeign<{ty}, {o}>>::to_foreign",
[INFO] [stdout] 46 | |             ty = std::any::type_name::<T>(),
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         Ok(Arc::into_raw(local))
[INFO] [stdout] 57 | |     }
[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<*const T, Infallible>
[INFO] [stdout]   --> src/arc.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Ok(Arc::into_raw(local))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/bool.rs:24:64
[INFO] [stdout]    |
[INFO] [stdout] 24 |       unsafe fn from_foreign(i: u8) -> Result<bool, Self::Error> {
[INFO] [stdout]    |  ________________________________________________________________^
[INFO] [stdout] 25 | |         Ok(i != 0)
[INFO] [stdout] 26 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/bool.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         Ok(i != 0)
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u8, Infallible>
[INFO] [stdout]   --> src/bool.rs:33:55
[INFO] [stdout]    |
[INFO] [stdout] 33 |       fn to_foreign(b: bool) -> Result<u8, Self::Error> {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 34 | |         Ok(if b { 1 } else { 0 })
[INFO] [stdout] 35 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u8, Infallible>
[INFO] [stdout]   --> src/bool.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Ok(if b { 1 } else { 0 })
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<*const T, Infallible>
[INFO] [stdout]   --> src/boxed.rs:74:67
[INFO] [stdout]    |
[INFO] [stdout] 74 |       fn to_foreign(local: Box<T>) -> Result<*const T, Self::Error> {
[INFO] [stdout]    |  ___________________________________________________________________^
[INFO] [stdout] 75 | |         log::debug!(
[INFO] [stdout] 76 | |             "<BoxMarshaler<{ty}> as ToForeign<{ty}, {o}>>::to_foreign",
[INFO] [stdout] 77 | |             ty = std::any::type_name::<T>(),
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         Ok(Box::into_raw(local) as *const _ as *const _)
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<*const T, Infallible>
[INFO] [stdout]   --> src/boxed.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         Ok(Box::into_raw(local) as *const _ as *const _)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:54:69
[INFO] [stdout]    |
[INFO] [stdout] 54 |       fn to_foreign(input: PathBuf) -> Result<Slice<u8>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 55 | |         use std::os::unix::ffi::OsStringExt;
[INFO] [stdout] 56 | |
[INFO] [stdout] 57 | |         let vec = input.into_os_string().into_vec();
[INFO] [stdout] 58 | |         VecMarshaler::to_foreign(vec)
[INFO] [stdout] 59 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         VecMarshaler::to_foreign(vec)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:68:31
[INFO] [stdout]    |
[INFO] [stdout] 68 |         input.and_then(|x| Ok(PathBufMarshaler::to_foreign(x).unwrap()))
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:27:69
[INFO] [stdout]    |
[INFO] [stdout] 27 |       fn to_foreign(string: String) -> Result<Slice<u8>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 28 | |         VecMarshaler::to_foreign(string.into_bytes())
[INFO] [stdout] 29 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         VecMarshaler::to_foreign(string.into_bytes())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |         result.and_then(|v| Ok(StringMarshaler::to_foreign(v).unwrap()))
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Some(v) => Ok(StringMarshaler::to_foreign(v).unwrap()),
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<T>, Infallible>
[INFO] [stdout]   --> src/vec.rs:29:69
[INFO] [stdout]    |
[INFO] [stdout] 29 |       fn to_foreign(mut vec: Vec<T>) -> Result<Slice<T>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 30 | |         vec.shrink_to_fit();
[INFO] [stdout] 31 | |         let len = vec.len();
[INFO] [stdout] 32 | |         let data = vec.as_mut_ptr();
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         Ok(raw)
[INFO] [stdout] 43 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<T>, Infallible>
[INFO] [stdout]   --> src/vec.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Ok(raw)
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cffi` (lib test) due to 17 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/str.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct StrMarshaler<'a>(&'a PhantomData<()>);
[INFO] [stdout]   |            ------------     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[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<*const T, Infallible>
[INFO] [stdout]   --> src/arc.rs:43:67
[INFO] [stdout]    |
[INFO] [stdout] 43 |       fn to_foreign(local: Arc<T>) -> Result<*const T, Self::Error> {
[INFO] [stdout]    |  ___________________________________________________________________^
[INFO] [stdout] 44 | |         log::debug!(
[INFO] [stdout] 45 | |             "<ArcMarshaler<{ty}> as ToForeign<{ty}, {o}>>::to_foreign",
[INFO] [stdout] 46 | |             ty = std::any::type_name::<T>(),
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         Ok(Arc::into_raw(local))
[INFO] [stdout] 57 | |     }
[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<*const T, Infallible>
[INFO] [stdout]   --> src/arc.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         Ok(Arc::into_raw(local))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/bool.rs:24:64
[INFO] [stdout]    |
[INFO] [stdout] 24 |       unsafe fn from_foreign(i: u8) -> Result<bool, Self::Error> {
[INFO] [stdout]    |  ________________________________________________________________^
[INFO] [stdout] 25 | |         Ok(i != 0)
[INFO] [stdout] 26 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<bool, Infallible>
[INFO] [stdout]   --> src/bool.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         Ok(i != 0)
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u8, Infallible>
[INFO] [stdout]   --> src/bool.rs:33:55
[INFO] [stdout]    |
[INFO] [stdout] 33 |       fn to_foreign(b: bool) -> Result<u8, Self::Error> {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 34 | |         Ok(if b { 1 } else { 0 })
[INFO] [stdout] 35 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u8, Infallible>
[INFO] [stdout]   --> src/bool.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Ok(if b { 1 } else { 0 })
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<*const T, Infallible>
[INFO] [stdout]   --> src/boxed.rs:74:67
[INFO] [stdout]    |
[INFO] [stdout] 74 |       fn to_foreign(local: Box<T>) -> Result<*const T, Self::Error> {
[INFO] [stdout]    |  ___________________________________________________________________^
[INFO] [stdout] 75 | |         log::debug!(
[INFO] [stdout] 76 | |             "<BoxMarshaler<{ty}> as ToForeign<{ty}, {o}>>::to_foreign",
[INFO] [stdout] 77 | |             ty = std::any::type_name::<T>(),
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         Ok(Box::into_raw(local) as *const _ as *const _)
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<*const T, Infallible>
[INFO] [stdout]   --> src/boxed.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         Ok(Box::into_raw(local) as *const _ as *const _)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:54:69
[INFO] [stdout]    |
[INFO] [stdout] 54 |       fn to_foreign(input: PathBuf) -> Result<Slice<u8>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 55 | |         use std::os::unix::ffi::OsStringExt;
[INFO] [stdout] 56 | |
[INFO] [stdout] 57 | |         let vec = input.into_os_string().into_vec();
[INFO] [stdout] 58 | |         VecMarshaler::to_foreign(vec)
[INFO] [stdout] 59 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         VecMarshaler::to_foreign(vec)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/pathbuf/unix.rs:68:31
[INFO] [stdout]    |
[INFO] [stdout] 68 |         input.and_then(|x| Ok(PathBufMarshaler::to_foreign(x).unwrap()))
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:27:69
[INFO] [stdout]    |
[INFO] [stdout] 27 |       fn to_foreign(string: String) -> Result<Slice<u8>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 28 | |         VecMarshaler::to_foreign(string.into_bytes())
[INFO] [stdout] 29 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         VecMarshaler::to_foreign(string.into_bytes())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |         result.and_then(|v| Ok(StringMarshaler::to_foreign(v).unwrap()))
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<u8>, Infallible>
[INFO] [stdout]   --> src/string.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Some(v) => Ok(StringMarshaler::to_foreign(v).unwrap()),
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<T>, Infallible>
[INFO] [stdout]   --> src/vec.rs:29:69
[INFO] [stdout]    |
[INFO] [stdout] 29 |       fn to_foreign(mut vec: Vec<T>) -> Result<Slice<T>, Self::Error> {
[INFO] [stdout]    |  _____________________________________________________________________^
[INFO] [stdout] 30 | |         vec.shrink_to_fit();
[INFO] [stdout] 31 | |         let len = vec.len();
[INFO] [stdout] 32 | |         let data = vec.as_mut_ptr();
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         Ok(raw)
[INFO] [stdout] 43 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Slice<T>, Infallible>
[INFO] [stdout]   --> src/vec.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Ok(raw)
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cffi` (lib) due to 17 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a4f0c393918b443f3306e232a6ee155464f925745f8d6ced6ef2502db6d98041", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4f0c393918b443f3306e232a6ee155464f925745f8d6ced6ef2502db6d98041", kill_on_drop: false }`
[INFO] [stdout] a4f0c393918b443f3306e232a6ee155464f925745f8d6ced6ef2502db6d98041
