[INFO] fetching crate confium 0.1.2...
[INFO] checking confium-0.1.2 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] extracting crate confium 0.1.2 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate confium 0.1.2
[INFO] finished tweaking crates.io crate confium 0.1.2
[INFO] tweaked toml for crates.io crate confium 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate confium 0.1.2 on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 71 packages to latest compatible versions
[INFO] [stderr]       Adding libloading v0.7.4 (available: v0.9.0)
[INFO] [stderr]       Adding snafu v0.6.10 (available: v0.9.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] af7a5ed085b833ca5595af2b12e7e5bd65b31f9623ab7731cb432dbae6bc474c
[INFO] running `Command { std: "docker" "start" "-a" "af7a5ed085b833ca5595af2b12e7e5bd65b31f9623ab7731cb432dbae6bc474c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af7a5ed085b833ca5595af2b12e7e5bd65b31f9623ab7731cb432dbae6bc474c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af7a5ed085b833ca5595af2b12e7e5bd65b31f9623ab7731cb432dbae6bc474c", kill_on_drop: false }`
[INFO] [stdout] af7a5ed085b833ca5595af2b12e7e5bd65b31f9623ab7731cb432dbae6bc474c
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f90b6dad457ebf25f785eae447ce231700d2d09db47afd852fa31c153a9d636d
[INFO] running `Command { std: "docker" "start" "-a" "f90b6dad457ebf25f785eae447ce231700d2d09db47afd852fa31c153a9d636d", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling doc-comment v0.3.4
[INFO] [stderr]     Checking arc-swap v1.9.1
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking erased-serde v0.3.31
[INFO] [stderr]     Checking slog v2.8.2
[INFO] [stderr]     Checking slog-scope v4.4.1
[INFO] [stderr]     Checking slog-async v2.8.0
[INFO] [stderr]     Checking slog-stdlog v4.1.1
[INFO] [stderr]     Checking slog-term v2.9.2
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]     Checking snafu v0.6.10
[INFO] [stderr]     Checking confium v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/ffi/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/ffi/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/ffi/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(let_else)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(backtrace)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]  --> src/utils.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_escape]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/ffi/utils.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_use]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]  --> src/ffi/utils.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_escape]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]   --> src/ffi/utils.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[macro_escape]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]   --> src/ffi/plugin.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[macro_escape]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/ffi/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]  --> src/ffi/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::Error`
[INFO] [stdout]  --> src/ffi/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `let_else` has been stable since 1.65.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(let_else)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(backtrace)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]  --> src/utils.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_escape]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/ffi/utils.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_use]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]  --> src/ffi/utils.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_escape]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]   --> src/ffi/utils.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[macro_escape]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs
[INFO] [stdout]   --> src/ffi/plugin.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[macro_escape]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = help: `#[macro_escape]` can be applied to crates, extern crates, and modules
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/ffi/error.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub extern "C" fn cfm_err_get_source(err: *const Error, src: *mut *mut Error) -> u32 {
[INFO] [stdout]    |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/ffi/error.rs:49:57
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub extern "C" fn cfm_err_get_source(err: *const Error, src: *mut *mut Error) -> u32 {
[INFO] [stdout]    |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `errptr`
[INFO] [stdout]    --> src/ffi/hash.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     errptr: *mut *mut Error,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ffi/utils.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/ffi/options.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe {
[INFO] [stdout]    |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 ffi_return_err!(e, err);
[INFO] [stdout]    |                 ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ffi/utils.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/ffi/options.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe {
[INFO] [stdout]    |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 75 |             ffi_return_err!(e, err);
[INFO] [stdout]    |             ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ffi/utils.rs:13:13
[INFO] [stdout]     |
[INFO] [stdout]  13 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ffi/options.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 131 |                 ffi_return_err!(e, err);
[INFO] [stdout]     |                 ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ffi/utils.rs:13:13
[INFO] [stdout]     |
[INFO] [stdout]  13 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ffi/options.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 135 |             ffi_return_err!(e, err);
[INFO] [stdout]     |             ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ffi/plugin.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let mut start = idx;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/ffi/error.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub extern "C" fn cfm_err_get_source(err: *const Error, src: *mut *mut Error) -> u32 {
[INFO] [stdout]    |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/ffi/error.rs:49:57
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub extern "C" fn cfm_err_get_source(err: *const Error, src: *mut *mut Error) -> u32 {
[INFO] [stdout]    |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `errptr`
[INFO] [stdout]    --> src/ffi/hash.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     errptr: *mut *mut Error,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ffi/utils.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/ffi/options.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe {
[INFO] [stdout]    |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 ffi_return_err!(e, err);
[INFO] [stdout]    |                 ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ffi/utils.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/ffi/options.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe {
[INFO] [stdout]    |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 75 |             ffi_return_err!(e, err);
[INFO] [stdout]    |             ----------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ffi/utils.rs:13:13
[INFO] [stdout]     |
[INFO] [stdout]  13 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ffi/options.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 131 |                 ffi_return_err!(e, err);
[INFO] [stdout]     |                 ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/ffi/utils.rs:13:13
[INFO] [stdout]     |
[INFO] [stdout]  13 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ffi/options.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 135 |             ffi_return_err!(e, err);
[INFO] [stdout]     |             ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `ffi_return_err` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/lib.rs:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn load_plugin(&self, path: &Path, options: &StringOptions) -> Result<()> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/lib.rs:75:44
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn load_plugin(&self, path: &Path, options: &StringOptions) -> Result<()> {
[INFO] [stdout]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Confium {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 49 |     providers: Vec<Provider>,
[INFO] [stdout] 50 |     logger: slog::Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `initialize` is never read
[INFO] [stdout]   --> src/ffi/plugin.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct PluginV0 {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 39 |     initialize: Box<InitializeFnV0>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_load_plugin` is never used
[INFO] [stdout]   --> src/lib.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn test_load_plugin() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ffi/plugin.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let mut start = idx;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/utils.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Box::from_raw(s);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let _ = Box::from_raw(s);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/error.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Box::from_raw(err);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let _ = Box::from_raw(err);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), error::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/ffi/hash.rs:206:86
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub extern "C" fn cfm_hash_finalize_(hash: *mut Hash, result: *mut u8, size: u32) -> Result<()> {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/ffi/hash.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |             Box::from_raw(hash);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 226 |             let _ = Box::from_raw(hash);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Box::from_raw(cfm);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let _ = Box::from_raw(cfm);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/options.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Box::from_raw(opts);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let _ = Box::from_raw(opts);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/lib.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         cfm.load_plugin(Path::new("/a/b/c"), &opts);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = cfm.load_plugin(Path::new("/a/b/c"), &opts);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/lib.rs:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn load_plugin(&self, path: &Path, options: &StringOptions) -> Result<()> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/lib.rs:75:44
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn load_plugin(&self, path: &Path, options: &StringOptions) -> Result<()> {
[INFO] [stdout]    |                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Confium {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 49 |     providers: Vec<Provider>,
[INFO] [stdout] 50 |     logger: slog::Logger,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `initialize` is never read
[INFO] [stdout]   --> src/ffi/plugin.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct PluginV0 {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 39 |     initialize: Box<InitializeFnV0>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/utils.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Box::from_raw(s);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let _ = Box::from_raw(s);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/error.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Box::from_raw(err);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let _ = Box::from_raw(err);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), error::Error>`, which is not FFI-safe
[INFO] [stdout]    --> src/ffi/hash.rs:206:86
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub extern "C" fn cfm_hash_finalize_(hash: *mut Hash, result: *mut u8, size: u32) -> Result<()> {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/ffi/hash.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |             Box::from_raw(hash);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 226 |             let _ = Box::from_raw(hash);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Box::from_raw(cfm);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let _ = Box::from_raw(cfm);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/ffi/options.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Box::from_raw(opts);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let _ = Box::from_raw(opts);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.18s
[INFO] running `Command { std: "docker" "inspect" "f90b6dad457ebf25f785eae447ce231700d2d09db47afd852fa31c153a9d636d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f90b6dad457ebf25f785eae447ce231700d2d09db47afd852fa31c153a9d636d", kill_on_drop: false }`
[INFO] [stdout] f90b6dad457ebf25f785eae447ce231700d2d09db47afd852fa31c153a9d636d
