[INFO] cloning repository https://github.com/LonelyPale/sysinfo-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LonelyPale/sysinfo-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLonelyPale%2Fsysinfo-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLonelyPale%2Fsysinfo-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b8e48cabe8f88cfdc360ff7fccd610e1ca4ba5b
[INFO] checking LonelyPale/sysinfo-cli against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLonelyPale%2Fsysinfo-cli" "/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/LonelyPale/sysinfo-cli on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LonelyPale/sysinfo-cli
[INFO] finished tweaking git repo https://github.com/LonelyPale/sysinfo-cli
[INFO] tweaked toml for git repo https://github.com/LonelyPale/sysinfo-cli written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/LonelyPale/sysinfo-cli 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.linker
[INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.linker
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/colored-rs/colored`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c821a735356c7b881fbd61eb72a627605e4f98bdfc3c8400550d0b6991d1292b
[INFO] running `Command { std: "docker" "start" "-a" "c821a735356c7b881fbd61eb72a627605e4f98bdfc3c8400550d0b6991d1292b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c821a735356c7b881fbd61eb72a627605e4f98bdfc3c8400550d0b6991d1292b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c821a735356c7b881fbd61eb72a627605e4f98bdfc3c8400550d0b6991d1292b", kill_on_drop: false }`
[INFO] [stdout] c821a735356c7b881fbd61eb72a627605e4f98bdfc3c8400550d0b6991d1292b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d05ab83359f2d5cf040f3c6e33b309c71451a376a1ae107d326ebd78808bfac9
[INFO] running `Command { std: "docker" "start" "-a" "d05ab83359f2d5cf040f3c6e33b309c71451a376a1ae107d326ebd78808bfac9", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.linker
[INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-musl.linker
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking colored v2.1.0 (https://github.com/colored-rs/colored#bbe16cbe)
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking anstream v0.6.11
[INFO] [stderr]     Checking clap_builder v4.4.18
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking rayon v1.8.1
[INFO] [stderr]     Checking sysinfo v0.30.5
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]     Checking clap v4.4.18
[INFO] [stderr]     Checking sysinfo-cli v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/disk.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/disk.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct StatvfsResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 24 |     pub f_bsize: u64,
[INFO] [stdout] 25 |     pub f_frsize: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub f_blocks: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 27 |     pub f_bfree: u64,
[INFO] [stdout] 28 |     pub f_bavail: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 29 |     pub f_files: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 30 |     pub f_ffree: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 31 |     pub f_favail: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     pub f_fsid: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 33 |     pub f_flag: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 34 |     pub f_namemax: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatvfsResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskInfo` is never constructed
[INFO] [stdout]   --> src/sys_info.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct DiskInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiskInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `column_index`, `columns`, and `record` are never read
[INFO] [stdout]    --> src/table.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct RenderArgs<'a> {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 150 |     pub value: CombineString<'a>,
[INFO] [stdout] 151 |     pub key: &'a str,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 152 |     pub column_index: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 153 |     pub column: &'a Column,
[INFO] [stdout] 154 |     pub columns: &'a Vec<Column>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 155 |     pub record_index: usize,
[INFO] [stdout] 156 |     pub record: &'a HashMap<String, String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AsString` is never constructed
[INFO] [stdout]    --> src/table.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub enum CombineString<'a> {
[INFO] [stdout]     |          ------------- variant in this enum
[INFO] [stdout] 164 |     AsStr(&'a str),
[INFO] [stdout] 165 |     AsString(String),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CombineString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_ptr`
[INFO] [stdout]    --> src/disk.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |     let x_ptr = x.as_ptr();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ptr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s_ptr`
[INFO] [stdout]    --> src/disk.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |     let s_ptr = s.as_ptr();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/disk.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |     let s1 = "abc";
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/disk.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct StatvfsResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 24 |     pub f_bsize: u64,
[INFO] [stdout] 25 |     pub f_frsize: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub f_blocks: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 27 |     pub f_bfree: u64,
[INFO] [stdout] 28 |     pub f_bavail: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 29 |     pub f_files: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 30 |     pub f_ffree: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 31 |     pub f_favail: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     pub f_fsid: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 33 |     pub f_flag: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 34 |     pub f_namemax: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatvfsResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskInfo` is never constructed
[INFO] [stdout]   --> src/sys_info.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct DiskInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiskInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `column_index`, `columns`, and `record` are never read
[INFO] [stdout]    --> src/table.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct RenderArgs<'a> {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 150 |     pub value: CombineString<'a>,
[INFO] [stdout] 151 |     pub key: &'a str,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 152 |     pub column_index: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 153 |     pub column: &'a Column,
[INFO] [stdout] 154 |     pub columns: &'a Vec<Column>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 155 |     pub record_index: usize,
[INFO] [stdout] 156 |     pub record: &'a HashMap<String, String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AsString` is never constructed
[INFO] [stdout]    --> src/table.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub enum CombineString<'a> {
[INFO] [stdout]     |          ------------- variant in this enum
[INFO] [stdout] 164 |     AsStr(&'a str),
[INFO] [stdout] 165 |     AsString(String),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CombineString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<i32>` will be dropped
[INFO] [stdout]    --> src/disk.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let x_ptr = vec![1, 2, 4].as_ptr();
[INFO] [stdout]     |                 ------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `Vec<i32>` 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 `Vec<i32>` 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: you must make sure that the variable you bind the `Vec<i32>` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `Vec<i32>` inside the function will not suffice
[INFO] [stdout]     = help: 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: a dangling pointer will be produced because the temporary `std::string::String` will be dropped
[INFO] [stdout]    --> src/disk.rs:266:35
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let s_ptr = "abc".to_string().as_ptr();
[INFO] [stdout]     |                 ----------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `std::string::String` 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 `std::string::String` 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: you must make sure that the variable you bind the `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped
[INFO] [stdout]    --> src/disk.rs:288:30
[INFO] [stdout]     |
[INFO] [stdout] 288 |     let ptr1 = s.to_string().as_ptr();
[INFO] [stdout]     |                ------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this `std::string::String` 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 `std::string::String` 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: you must make sure that the variable you bind the `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.72s
[INFO] running `Command { std: "docker" "inspect" "d05ab83359f2d5cf040f3c6e33b309c71451a376a1ae107d326ebd78808bfac9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d05ab83359f2d5cf040f3c6e33b309c71451a376a1ae107d326ebd78808bfac9", kill_on_drop: false }`
[INFO] [stdout] d05ab83359f2d5cf040f3c6e33b309c71451a376a1ae107d326ebd78808bfac9
