[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] testing mkomitee/krb5.rs against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkomitee%2Fkrb5.rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkomitee/krb5.rs on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/mkomitee/krb5.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a09335ccdf069829af7615a118c07993d8b37bec26ce1f95e794aee032cfeed8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a09335ccdf069829af7615a118c07993d8b37bec26ce1f95e794aee032cfeed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09335ccdf069829af7615a118c07993d8b37bec26ce1f95e794aee032cfeed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09335ccdf069829af7615a118c07993d8b37bec26ce1f95e794aee032cfeed8", kill_on_drop: false }` [INFO] [stdout] a09335ccdf069829af7615a118c07993d8b37bec26ce1f95e794aee032cfeed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d4ce6b9ef18537d699240752a6b5fbe3a8be4f8ab5418d0b1c3af481101c00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "25d4ce6b9ef18537d699240752a6b5fbe3a8be4f8ab5418d0b1c3af481101c00", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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: use of deprecated associated function `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 associated function `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: field is never read: `major` [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | major: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = note: `#[warn(improper_ctypes)]` on by default [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: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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "25d4ce6b9ef18537d699240752a6b5fbe3a8be4f8ab5418d0b1c3af481101c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d4ce6b9ef18537d699240752a6b5fbe3a8be4f8ab5418d0b1c3af481101c00", kill_on_drop: false }` [INFO] [stdout] 25d4ce6b9ef18537d699240752a6b5fbe3a8be4f8ab5418d0b1c3af481101c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f59a1462b0a615967a60d2aa840b7a9ac63dd8c5d26ac3a8b27f313aa7af26ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f59a1462b0a615967a60d2aa840b7a9ac63dd8c5d26ac3a8b27f313aa7af26ec", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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: use of deprecated associated function `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 associated function `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: field is never read: `major` [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | major: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = note: `#[warn(improper_ctypes)]` on by default [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: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: 22 warnings emitted [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: 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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 [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: use of deprecated associated function `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 associated function `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: field is never read: `major` [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | major: c_int, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = note: `#[warn(improper_ctypes)]` on by default [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: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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "f59a1462b0a615967a60d2aa840b7a9ac63dd8c5d26ac3a8b27f313aa7af26ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59a1462b0a615967a60d2aa840b7a9ac63dd8c5d26ac3a8b27f313aa7af26ec", kill_on_drop: false }` [INFO] [stdout] f59a1462b0a615967a60d2aa840b7a9ac63dd8c5d26ac3a8b27f313aa7af26ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7916d626ff87ce687a77e5353d2bad81d31b11d85660620029ad4da9a83657d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f7916d626ff87ce687a77e5353d2bad81d31b11d85660620029ad4da9a83657d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] running 3 tests [INFO] [stderr] --> src/context.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | #[allow(raw_pointer_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stderr] --> src/principal.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | #[allow(raw_pointer_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:64:50 [INFO] [stderr] | [INFO] [stderr] 64 | Error::FromUtf8(ref e) => Some(e as &::std::error::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | Error::Nul(ref e) => Some(e as &::std::error::Error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/context.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | let cname = try!(CString::new(name.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/context.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | Ok(try!(String::from_utf8(lname))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | Error::FromUtf8(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:58:36 [INFO] [stderr] | [INFO] [stderr] 58 | Error::Nul(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `major` [INFO] [stderr] --> src/error.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | major: c_int, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:40:39 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn krb5_init_context(context: *mut *mut krb5_context) -> c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:45:39 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn krb5_free_context(context: *mut krb5_context); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:52:37 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn krb5_parse_name(context: *mut krb5_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:54:39 [INFO] [stderr] | [INFO] [stderr] 54 | ... principal: *mut *mut krb5_principal) -> c_int; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct krb5_principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:60:41 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn krb5_free_principal(context: *mut krb5_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:61:37 [INFO] [stderr] | [INFO] [stderr] 61 | ... val: *mut krb5_principal); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct krb5_principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:69:45 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn krb5_aname_to_localname(context: *mut krb5_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_principal`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:70:43 [INFO] [stderr] | [INFO] [stderr] 70 | ... aname: *mut krb5_principal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct krb5_principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `[u8]`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | ... lname: *mut [u8]) -> c_int; [INFO] [stderr] | ^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using a raw pointer instead [INFO] [stderr] = note: slices have no C equivalent [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:78:44 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn krb5_get_error_message(context: *mut krb5_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:84:46 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn krb5_clear_error_message(context: *mut krb5_context); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` block uses type `ffi::krb5_context`, which is not FFI-safe [INFO] [stderr] --> src/ffi.rs:90:45 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn krb5_free_error_message(context: *mut krb5_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a member to this struct [INFO] [stderr] = note: this struct has no fields [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/ffi.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct krb5_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `krb5` (lib) generated 22 warnings [INFO] [stderr] warning: `krb5` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/krb5-5052d5ca3836ccb7) [INFO] [stdout] test context::tests::create_context ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test context::tests::translate_localname_ok ... FAILED [INFO] [stdout] test context::tests::translate_localname_err - should panic ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- context::tests::translate_localname_ok stdout ---- [INFO] [stdout] thread 'context::tests::translate_localname_ok' panicked at 'Tried to setenv '"KRB5_CONFIG"' while process has multiple threads', library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e299d8d9dc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e299d8d9dc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e299d8d9dc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e299d8d9dc - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e299db0e7c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55e299d89985 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55e299d8f430 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e299d8f430 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e299d8f430 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55e299d8f016 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55e299d8fae4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55e299d8f5c0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55e299d8de94 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55e299d8f529 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55e299d2f871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55e299d86374 - std::sys::unix::os::setenv::h76103fb51bceafed [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] 16: 0x55e299d86374 - std::env::_set_var::h92fd991ae4bac337 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:335:5 [INFO] [stdout] 17: 0x55e299d366d7 - std::env::set_var::h87b7d87e82161934 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:331:5 [INFO] [stdout] 18: 0x55e299d324ac - krb5::context::tests::translate_localname_ok::h9e935ee48e6493a5 [INFO] [stdout] at /opt/rustwide/workdir/src/context.rs:94:9 [INFO] [stdout] 19: 0x55e299d3246a - krb5::context::tests::translate_localname_ok::{{closure}}::haaea2d80ce38c247 [INFO] [stdout] at /opt/rustwide/workdir/src/context.rs:92:5 [INFO] [stdout] 20: 0x55e299d329ae - core::ops::function::FnOnce::call_once::habb78ec59ac0dfd0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e299d6af03 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e299d6af03 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x55e299d69b17 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x55e299d69b17 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e299d69b17 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55e299d69b17 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55e299d69b17 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55e299d69b17 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x55e299d69b17 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55e299d36dbe - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55e299d36dbe - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x55e299d3bb18 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x55e299d3bb18 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e299d3bb18 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x55e299d3bb18 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x55e299d3bb18 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x55e299d3bb18 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x55e299d3bb18 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e299d94b43 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55e299d94b43 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55e299d94b43 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f043dfa4609 - start_thread [INFO] [stdout] 43: 0x7f043e24a293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- context::tests::translate_localname_err stdout ---- [INFO] [stdout] thread 'context::tests::translate_localname_err' panicked at 'Tried to setenv '"KRB5_CONFIG"' while process has multiple threads', library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e299d8d9dc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e299d8d9dc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e299d8d9dc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e299d8d9dc - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e299db0e7c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55e299d89985 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55e299d8f430 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e299d8f430 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e299d8f430 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55e299d8f016 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55e299d8fae4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55e299d8f5c0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55e299d8de94 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55e299d8f529 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55e299d2f871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55e299d86374 - std::sys::unix::os::setenv::h76103fb51bceafed [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] 16: 0x55e299d86374 - std::env::_set_var::h92fd991ae4bac337 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:335:5 [INFO] [stdout] 17: 0x55e299d366d7 - std::env::set_var::h87b7d87e82161934 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:331:5 [INFO] [stdout] 18: 0x55e299d3271c - krb5::context::tests::translate_localname_err::h20be4d8ae9ecf3c7 [INFO] [stdout] at /opt/rustwide/workdir/src/context.rs:103:9 [INFO] [stdout] 19: 0x55e299d326da - krb5::context::tests::translate_localname_err::{{closure}}::ha5fc484adaea65e4 [INFO] [stdout] at /opt/rustwide/workdir/src/context.rs:101:5 [INFO] [stdout] 20: 0x55e299d3292e - core::ops::function::FnOnce::call_once::h36a656ca2bf592b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e299d6af03 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e299d6af03 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x55e299d69b17 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x55e299d69b17 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e299d69b17 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55e299d69b17 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55e299d69b17 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55e299d69b17 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x55e299d69b17 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55e299d36dbe - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55e299d36dbe - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x55e299d3bb18 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x55e299d3bb18 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e299d3bb18 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x55e299d3bb18 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x55e299d3bb18 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x55e299d3bb18 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x55e299d3bb18 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e299d94b43 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55e299d94b43 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55e299d94b43 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f043dfa4609 - start_thread [INFO] [stdout] 43: 0x7f043e24a293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: `"Tried to setenv '\"KRB5_CONFIG\"' while process has multiple threads"`, [INFO] [stdout] expected substring: `"No translation"` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] context::tests::translate_localname_err [INFO] [stdout] context::tests::translate_localname_ok [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7916d626ff87ce687a77e5353d2bad81d31b11d85660620029ad4da9a83657d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7916d626ff87ce687a77e5353d2bad81d31b11d85660620029ad4da9a83657d", kill_on_drop: false }` [INFO] [stdout] f7916d626ff87ce687a77e5353d2bad81d31b11d85660620029ad4da9a83657d