[INFO] cloning repository https://github.com/mkomitee/krb5.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkomitee/krb5.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkomitee%2Fkrb5.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkomitee%2Fkrb5.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69c0f39fc2215d6c0492805ee07d16f1068d554c
[INFO] checking mkomitee/krb5.rs against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkomitee%2Fkrb5.rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mkomitee/krb5.rs
[INFO] finished tweaking git repo https://github.com/mkomitee/krb5.rs
[INFO] tweaked toml for git repo https://github.com/mkomitee/krb5.rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mkomitee/krb5.rs on toolchain f3d95de532264a1215023baa665c0028aecf74b1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mkomitee/krb5.rs 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.1.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50daca271f559fa8d60efa7bb8f981b0c333bfe7542dfc2a785f70835c21dc20
[INFO] running `Command { std: "docker" "start" "-a" "50daca271f559fa8d60efa7bb8f981b0c333bfe7542dfc2a785f70835c21dc20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50daca271f559fa8d60efa7bb8f981b0c333bfe7542dfc2a785f70835c21dc20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50daca271f559fa8d60efa7bb8f981b0c333bfe7542dfc2a785f70835c21dc20", kill_on_drop: false }`
[INFO] [stdout] 50daca271f559fa8d60efa7bb8f981b0c333bfe7542dfc2a785f70835c21dc20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 878839e49a93da5f8e0aa31e37e905d25374798b38a44f5c92e3f44e70c6afd5
[INFO] running `Command { std: "docker" "start" "-a" "878839e49a93da5f8e0aa31e37e905d25374798b38a44f5c92e3f44e70c6afd5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.1.6
[INFO] [stderr]     Checking krb5 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]   --> src/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[allow(raw_pointer_derive)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/context.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let cname = try!(CString::new(name.as_bytes()));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/context.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Ok(try!(String::from_utf8(lname)))
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/principal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[allow(raw_pointer_derive)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn cause(&self) -> Option<&::std::error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn cause(&self) -> Option<&dyn (::std::error::Error)> {
[INFO] [stdout]    |                                +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:57:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Error::FromUtf8(ref e) => e.description(),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:58:36
[INFO] [stdout]    |
[INFO] [stdout] 58 |             Error::Nul(ref e) => e.description(),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:64:50
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Error::FromUtf8(ref e) => Some(e as &::std::error::Error),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Error::FromUtf8(ref e) => Some(e as &dyn (::std::error::Error)),
[INFO] [stdout]    |                                                  +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:65:45
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Error::Nul(ref e) => Some(e as &::std::error::Error),
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Error::Nul(ref e) => Some(e as &dyn (::std::error::Error)),
[INFO] [stdout]    |                                             +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `major` is never read
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Krb5Error {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 18 |     major: c_int,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Krb5Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:40:39
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn krb5_init_context(context: *mut *mut krb5_context) -> c_int;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:45:39
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn krb5_free_context(context: *mut krb5_context);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn krb5_parse_name(context: *mut krb5_context,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   principal: *mut *mut krb5_principal) -> c_int;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn krb5_free_principal(context: *mut krb5_context,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:61:37
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   val: *mut krb5_principal);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:69:45
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn krb5_aname_to_localname(context: *mut krb5_context,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   aname: *mut krb5_principal,
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   lname: *mut [u8]) -> c_int;
[INFO] [stdout]    |                              ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:78:44
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn krb5_get_error_message(context: *mut krb5_context,
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:84:46
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn krb5_clear_error_message(context: *mut krb5_context);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:90:45
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn krb5_free_error_message(context: *mut krb5_context,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/principal.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(ctx: &Context) -> Principal {
[INFO] [stdout]    |                     ^^^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(ctx: &Context) -> Principal<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]   --> src/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[allow(raw_pointer_derive)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/context.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let cname = try!(CString::new(name.as_bytes()));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/context.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Ok(try!(String::from_utf8(lname)))
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/principal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[allow(raw_pointer_derive)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn cause(&self) -> Option<&::std::error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn cause(&self) -> Option<&dyn (::std::error::Error)> {
[INFO] [stdout]    |                                +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:57:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Error::FromUtf8(ref e) => e.description(),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:58:36
[INFO] [stdout]    |
[INFO] [stdout] 58 |             Error::Nul(ref e) => e.description(),
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:64:50
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Error::FromUtf8(ref e) => Some(e as &::std::error::Error),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Error::FromUtf8(ref e) => Some(e as &dyn (::std::error::Error)),
[INFO] [stdout]    |                                                  +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:65:45
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Error::Nul(ref e) => Some(e as &::std::error::Error),
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Error::Nul(ref e) => Some(e as &dyn (::std::error::Error)),
[INFO] [stdout]    |                                             +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `major` is never read
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Krb5Error {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 18 |     major: c_int,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Krb5Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:40:39
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn krb5_init_context(context: *mut *mut krb5_context) -> c_int;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:45:39
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn krb5_free_context(context: *mut krb5_context);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn krb5_parse_name(context: *mut krb5_context,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   principal: *mut *mut krb5_principal) -> c_int;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn krb5_free_principal(context: *mut krb5_context,
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:61:37
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   val: *mut krb5_principal);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:69:45
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn krb5_aname_to_localname(context: *mut krb5_context,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   aname: *mut krb5_principal,
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct krb5_principal;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   lname: *mut [u8]) -> c_int;
[INFO] [stdout]    |                              ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:78:44
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn krb5_get_error_message(context: *mut krb5_context,
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:84:46
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn krb5_clear_error_message(context: *mut krb5_context);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe
[INFO] [stdout]   --> src/ffi.rs:90:45
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn krb5_free_error_message(context: *mut krb5_context,
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a member to this struct
[INFO] [stdout]    = note: this struct has no fields
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/ffi.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct krb5_context;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/principal.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(ctx: &Context) -> Principal {
[INFO] [stdout]    |                     ^^^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(ctx: &Context) -> Principal<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "878839e49a93da5f8e0aa31e37e905d25374798b38a44f5c92e3f44e70c6afd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "878839e49a93da5f8e0aa31e37e905d25374798b38a44f5c92e3f44e70c6afd5", kill_on_drop: false }`
[INFO] [stdout] 878839e49a93da5f8e0aa31e37e905d25374798b38a44f5c92e3f44e70c6afd5
