[INFO] fetching crate ni-syscfg 0.2.0...
[INFO] checking ni-syscfg-0.2.0 against 1.95.0 for pr-155915
[INFO] extracting crate ni-syscfg 0.2.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate ni-syscfg 0.2.0
[INFO] finished tweaking crates.io crate ni-syscfg 0.2.0
[INFO] tweaked toml for crates.io crate ni-syscfg 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ni-syscfg 0.2.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ni-syscfg 0.2.0 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ni-syscfg-sys v20.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e694eb1ecef8dbf9cd4ab3d8dd81edfdd91b4ced21cb69d433141949ce1bf49
[INFO] running `Command { std: "docker" "start" "-a" "3e694eb1ecef8dbf9cd4ab3d8dd81edfdd91b4ced21cb69d433141949ce1bf49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e694eb1ecef8dbf9cd4ab3d8dd81edfdd91b4ced21cb69d433141949ce1bf49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e694eb1ecef8dbf9cd4ab3d8dd81edfdd91b4ced21cb69d433141949ce1bf49", kill_on_drop: false }`
[INFO] [stdout] 3e694eb1ecef8dbf9cd4ab3d8dd81edfdd91b4ced21cb69d433141949ce1bf49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0be2876eaebe38d9c839c3432f5b9f36883de378dd349d39eefde2cd58bb0873
[INFO] running `Command { std: "docker" "start" "-a" "0be2876eaebe38d9c839c3432f5b9f36883de378dd349d39eefde2cd58bb0873", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]    Compiling ni-syscfg-sys v20.5.0
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking ni-syscfg v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/parameters.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let status = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/parameters.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let status = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SystemExpert` is never constructed
[INFO] [stdout]    --> src/experts.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct SystemExpert {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parameters.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | #[derive(FromPrimitive, Copy, Clone, Debug)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BusType`
[INFO] [stdout] 157 | pub enum BusType {
[INFO] [stdout]     |          ------- `BusType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/session.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 172 |     ) -> Result<HardwareResourceList> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 172 |     ) -> Result<HardwareResourceList<'_>> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]   --> src/software.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |             actual_password?.as_ptr()
[INFO] [stdout]    |             ---------------- ^^^^^^ pointer created here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this `CString` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/software.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 |             actual_password?.as_ptr()
[INFO] [stdout]     |             ---------------- ^^^^^^ pointer created here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/parameters.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let status = unsafe {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/parameters.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let status = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/parameters.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let status = unsafe {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SystemExpert` is never constructed
[INFO] [stdout]    --> src/experts.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct SystemExpert {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parameters.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | #[derive(FromPrimitive, Copy, Clone, Debug)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_BusType`
[INFO] [stdout] 157 | pub enum BusType {
[INFO] [stdout]     |          ------- `BusType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/session.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 172 |     ) -> Result<HardwareResourceList> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 172 |     ) -> Result<HardwareResourceList<'_>> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> bin/ni-syscfg.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ni_syscfg::SessionConfig`
[INFO] [stdout]  --> bin/ni-syscfg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ni_syscfg::SessionConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]   --> src/software.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |             actual_password?.as_ptr()
[INFO] [stdout]    |             ---------------- ^^^^^^ pointer created here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this `CString` is dropped at end of statement
[INFO] [stdout]    |
[INFO] [stdout]    = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/software.rs:136:30
[INFO] [stdout]     |
[INFO] [stdout] 136 |             actual_password?.as_ptr()
[INFO] [stdout]     |             ---------------- ^^^^^^ pointer created here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> bin/ni-syscfg.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ni_syscfg::SessionConfig`
[INFO] [stdout]  --> bin/ni-syscfg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ni_syscfg::SessionConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.40s
[INFO] running `Command { std: "docker" "inspect" "0be2876eaebe38d9c839c3432f5b9f36883de378dd349d39eefde2cd58bb0873", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0be2876eaebe38d9c839c3432f5b9f36883de378dd349d39eefde2cd58bb0873", kill_on_drop: false }`
[INFO] [stdout] 0be2876eaebe38d9c839c3432f5b9f36883de378dd349d39eefde2cd58bb0873
