[INFO] cloning repository https://github.com/resin-io-playground/resin-pam
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/resin-io-playground/resin-pam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresin-io-playground%2Fresin-pam", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresin-io-playground%2Fresin-pam'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e883acf45cf3dd57e8f5d80508db8ea76fa4caca
[INFO] checking resin-io-playground/resin-pam against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresin-io-playground%2Fresin-pam" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/resin-io-playground/resin-pam on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/resin-io-playground/resin-pam
[INFO] finished tweaking git repo https://github.com/resin-io-playground/resin-pam
[INFO] tweaked toml for git repo https://github.com/resin-io-playground/resin-pam written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/resin-io-playground/resin-pam 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.31
[INFO] [stderr]   Downloaded ryu v0.2.6
[INFO] [stderr]   Downloaded jsonwebtoken v5.0.1
[INFO] [stderr]   Downloaded serde_derive v1.0.79
[INFO] [stderr]   Downloaded safemem v0.3.0
[INFO] [stderr]   Downloaded byteorder v1.2.6
[INFO] [stderr]   Downloaded syn v0.15.6
[INFO] [stderr]   Downloaded serde v1.0.79
[INFO] [stderr]   Downloaded proc-macro2 v0.4.19
[INFO] [stderr]   Downloaded ring v0.13.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff0f78db09322b4582fa719380971001776d4d3a05541833abb09a84ff3f50b5
[INFO] running `Command { std: "docker" "start" "-a" "ff0f78db09322b4582fa719380971001776d4d3a05541833abb09a84ff3f50b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff0f78db09322b4582fa719380971001776d4d3a05541833abb09a84ff3f50b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff0f78db09322b4582fa719380971001776d4d3a05541833abb09a84ff3f50b5", kill_on_drop: false }`
[INFO] [stdout] ff0f78db09322b4582fa719380971001776d4d3a05541833abb09a84ff3f50b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f18b3aad6a23e5c2c05cab2c27a3808aba0f5369bc7ede3715db0fab0a21da80
[INFO] running `Command { std: "docker" "start" "-a" "f18b3aad6a23e5c2c05cab2c27a3808aba0f5369bc7ede3715db0fab0a21da80", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.19
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling serde v1.0.79
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking safemem v0.3.0
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]     Checking pam v0.1.0 (/opt/rustwide/workdir/lib/pam)
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stdout] warning: `extern` block uses type `Box<PamDataT>`, which is not FFI-safe
[INFO] [stdout]   --> lib/pam/src/module.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     data: Box<PamDataT>,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Box<PamDataT>`, which is not FFI-safe
[INFO] [stdout]   --> lib/pam/src/module.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |                       cleanup: extern "C" fn(pamh: *const PamHandle,
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 34 | |                                            data: Box<PamDataT>,
[INFO] [stdout] 35 | |                                            error_status: PamResultCode))
[INFO] [stdout]    | |_______________________________________________________________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: functions generic over types or consts must be mangled
[INFO] [stdout]   --> lib/pam/src/module.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 54 |   #[no_mangle]
[INFO] [stdout]    |   ------------ help: remove this attribute
[INFO] [stdout] 55 | / pub extern "C" fn cleanup<T>(_: *const PamHandle, c_data: Box<PamDataT>, _: PamResultCode) {
[INFO] [stdout] 56 | |     unsafe {
[INFO] [stdout] 57 | |         let data: Box<T> = mem::transmute(c_data);
[INFO] [stdout] 58 | |         mem::drop(data);
[INFO] [stdout] 59 | |     }
[INFO] [stdout] 60 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(no_mangle_generic_items)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> lib/pam/src/module.rs:86:48
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let c_key = CString::new(key).unwrap().as_ptr() as *const _;
[INFO] [stdout]    |                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> lib/pam/src/module.rs:104:48
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let c_key = CString::new(key).unwrap().as_ptr() as *const _;
[INFO] [stdout]     |                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> lib/pam/src/module.rs:173:49
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Some(p) => CString::new(p).unwrap().as_ptr() as *const _,
[INFO] [stdout]     |                        ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling syn v0.15.6
[INFO] [stderr]    Compiling ring v0.13.2
[INFO] [stderr]     Checking num-integer v0.1.39
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.79
[INFO] [stderr]     Checking serde_json v1.0.31
[INFO] [stderr]     Checking jsonwebtoken v5.0.1
[INFO] [stderr]     Checking pam-jwt v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PAM_TEXT_INFO`
[INFO] [stdout]   --> src/lib.rs:23:67
[INFO] [stdout]    |
[INFO] [stdout] 23 | use pam::constants::{PamResultCode, PamFlag, PAM_PROMPT_ECHO_OFF, PAM_TEXT_INFO};
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `pam_try`
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | macro_rules! pam_try {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PAM_TEXT_INFO`
[INFO] [stdout]   --> src/lib.rs:23:67
[INFO] [stdout]    |
[INFO] [stdout] 23 | use pam::constants::{PamResultCode, PamFlag, PAM_PROMPT_ECHO_OFF, PAM_TEXT_INFO};
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `pam_try`
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | macro_rules! pam_try {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.82s
[INFO] running `Command { std: "docker" "inspect" "f18b3aad6a23e5c2c05cab2c27a3808aba0f5369bc7ede3715db0fab0a21da80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f18b3aad6a23e5c2c05cab2c27a3808aba0f5369bc7ede3715db0fab0a21da80", kill_on_drop: false }`
[INFO] [stdout] f18b3aad6a23e5c2c05cab2c27a3808aba0f5369bc7ede3715db0fab0a21da80
[INFO] checking resin-io-playground/resin-pam against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresin-io-playground%2Fresin-pam" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/resin-io-playground/resin-pam on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/resin-io-playground/resin-pam
[INFO] finished tweaking git repo https://github.com/resin-io-playground/resin-pam
[INFO] tweaked toml for git repo https://github.com/resin-io-playground/resin-pam written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/resin-io-playground/resin-pam 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 426b073ec3714c1272494a7c305cae96e1e11e7620619f344b6a5d8d3d539d82
[INFO] running `Command { std: "docker" "start" "-a" "426b073ec3714c1272494a7c305cae96e1e11e7620619f344b6a5d8d3d539d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "426b073ec3714c1272494a7c305cae96e1e11e7620619f344b6a5d8d3d539d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "426b073ec3714c1272494a7c305cae96e1e11e7620619f344b6a5d8d3d539d82", kill_on_drop: false }`
[INFO] [stdout] 426b073ec3714c1272494a7c305cae96e1e11e7620619f344b6a5d8d3d539d82
[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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e4fe8dcdfa3c2e0ce87e73de2fab25e292953543f37c855cbd0a01179c1d155
[INFO] running `Command { std: "docker" "start" "-a" "1e4fe8dcdfa3c2e0ce87e73de2fab25e292953543f37c855cbd0a01179c1d155", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.19
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling serde v1.0.79
[INFO] [stderr]     Checking safemem v0.3.0
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]     Checking pam v0.1.0 (/opt/rustwide/workdir/lib/pam)
[INFO] [stdout] warning: `extern` block uses type `Box<PamDataT>`, which is not FFI-safe
[INFO] [stdout]   --> lib/pam/src/module.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     data: Box<PamDataT>,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `Box<PamDataT>`, which is not FFI-safe
[INFO] [stdout]   --> lib/pam/src/module.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |                       cleanup: extern "C" fn(pamh: *const PamHandle,
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 34 | |                                            data: Box<PamDataT>,
[INFO] [stdout] 35 | |                                            error_status: PamResultCode))
[INFO] [stdout]    | |_______________________________________________________________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: functions generic over types or consts must be mangled
[INFO] [stdout]   --> lib/pam/src/module.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 54 |   #[no_mangle]
[INFO] [stdout]    |   ------------ help: remove this attribute
[INFO] [stdout] 55 | / pub extern "C" fn cleanup<T>(_: *const PamHandle, c_data: Box<PamDataT>, _: PamResultCode) {
[INFO] [stdout] 56 | |     unsafe {
[INFO] [stdout] 57 | |         let data: Box<T> = mem::transmute(c_data);
[INFO] [stdout] 58 | |         mem::drop(data);
[INFO] [stdout] 59 | |     }
[INFO] [stdout] 60 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(no_mangle_generic_items)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]   --> lib/pam/src/module.rs:86:48
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let c_key = CString::new(key).unwrap().as_ptr() as *const _;
[INFO] [stdout]    |                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]    = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> lib/pam/src/module.rs:104:48
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let c_key = CString::new(key).unwrap().as_ptr() as *const _;
[INFO] [stdout]     |                     -------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> lib/pam/src/module.rs:173:49
[INFO] [stdout]     |
[INFO] [stdout] 173 |             Some(p) => CString::new(p).unwrap().as_ptr() as *const _,
[INFO] [stdout]     |                        ------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling ring v0.13.2
[INFO] [stderr]    Compiling syn v0.15.6
[INFO] [stderr]     Checking num-integer v0.1.39
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.79
[INFO] [stderr]     Checking serde_json v1.0.31
[INFO] [stderr]     Checking jsonwebtoken v5.0.1
[INFO] [stderr]     Checking pam-jwt v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PAM_TEXT_INFO`
[INFO] [stdout]   --> src/lib.rs:23:67
[INFO] [stdout]    |
[INFO] [stdout] 23 | use pam::constants::{PamResultCode, PamFlag, PAM_PROMPT_ECHO_OFF, PAM_TEXT_INFO};
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `pam_try`
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | macro_rules! pam_try {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PAM_TEXT_INFO`
[INFO] [stdout]   --> src/lib.rs:23:67
[INFO] [stdout]    |
[INFO] [stdout] 23 | use pam::constants::{PamResultCode, PamFlag, PAM_PROMPT_ECHO_OFF, PAM_TEXT_INFO};
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `pam_try`
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | macro_rules! pam_try {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Claims`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Claims`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DeviceConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DeviceConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Claims`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Claims`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_DeviceConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DeviceConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pam-jwt` (lib test) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pam-jwt` (lib) due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1e4fe8dcdfa3c2e0ce87e73de2fab25e292953543f37c855cbd0a01179c1d155", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e4fe8dcdfa3c2e0ce87e73de2fab25e292953543f37c855cbd0a01179c1d155", kill_on_drop: false }`
[INFO] [stdout] 1e4fe8dcdfa3c2e0ce87e73de2fab25e292953543f37c855cbd0a01179c1d155
