[INFO] fetching crate understatus 0.7.4...
[INFO] testing understatus-0.7.4 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate understatus 0.7.4 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate understatus 0.7.4
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate understatus 0.7.4
[INFO] tweaked toml for crates.io crate understatus 0.7.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate understatus 0.7.4 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate understatus 0.7.4 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b
[INFO] running `Command { std: "docker" "start" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling understatus v0.7.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling memchr v2.8.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stdout] error[E0425]: cannot find function `mach_host_self` in crate `libc`
[INFO] [stdout]    --> src/system.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let host = libc::mach_host_self();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `natural_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:158:34
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut cpu_count: libc::natural_t = 0;
[INFO] [stdout]     |                                  ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `processor_info_array_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let mut info_ptr: libc::processor_info_array_t = std::ptr::null_mut();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `mach_msg_type_number_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:160:35
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut info_count: libc::mach_msg_type_number_t = 0;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `host_processor_info` in crate `libc`
[INFO] [stdout]    --> src/system.rs:162:28
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let result = libc::host_processor_info(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESSOR_CPU_LOAD_INFO` in crate `libc`
[INFO] [stdout]    --> src/system.rs:164:19
[INFO] [stdout]     |
[INFO] [stdout] 164 |             libc::PROCESSOR_CPU_LOAD_INFO,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KERN_SUCCESS` in crate `libc`
[INFO] [stdout]    --> src/system.rs:169:28
[INFO] [stdout]     |
[INFO] [stdout] 169 |         if result != libc::KERN_SUCCESS || info_ptr.is_null() || cpu_count == 0 {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/linux_like/mod.rs:373:1
[INFO] [stdout]     |
[INFO] [stdout] 373 | pub const EXIT_SUCCESS: c_int = 0;
[INFO] [stdout]     | ----------------------------- similarly named constant `EXIT_SUCCESS` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 169 -         if result != libc::KERN_SUCCESS || info_ptr.is_null() || cpu_count == 0 {
[INFO] [stdout] 169 +         if result != libc::EXIT_SUCCESS || info_ptr.is_null() || cpu_count == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CPU_STATE_MAX` in crate `libc`
[INFO] [stdout]    --> src/system.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let states = libc::CPU_STATE_MAX as usize;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CPU_STATE_USER` in crate `libc`
[INFO] [stdout]     --> src/system.rs:180:51
[INFO] [stdout]      |
[INFO] [stdout]  180 |             let user = *info_ptr.add(base + libc::CPU_STATE_USER as usize) as u32 as u64;
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/linux_like/linux/mod.rs:2125:1
[INFO] [stdout]      |
[INFO] [stdout] 2125 | pub const TP_STATUS_USER: __u32 = 1 << 0;
[INFO] [stdout]      | ------------------------------- similarly named constant `TP_STATUS_USER` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]  180 -             let user = *info_ptr.add(base + libc::CPU_STATE_USER as usize) as u32 as u64;
[INFO] [stdout]  180 +             let user = *info_ptr.add(base + libc::TP_STATUS_USER as usize) as u32 as u64;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CPU_STATE_SYSTEM` in crate `libc`
[INFO] [stdout]    --> src/system.rs:181:53
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let system = *info_ptr.add(base + libc::CPU_STATE_SYSTEM as usize) as u32 as u64;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CPU_STATE_NICE` in crate `libc`
[INFO] [stdout]    --> src/system.rs:182:51
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let nice = *info_ptr.add(base + libc::CPU_STATE_NICE as usize) as u32 as u64;
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CPU_STATE_IDLE` in crate `libc`
[INFO] [stdout]    --> src/system.rs:183:51
[INFO] [stdout]     |
[INFO] [stdout] 183 |             let idle = *info_ptr.add(base + libc::CPU_STATE_IDLE as usize) as u32 as u64;
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `integer_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:189:78
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let dealloc_size = (info_count as usize) * std::mem::size_of::<libc::integer_t>();
[INFO] [stdout]     |                                                                              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/mod.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub type intptr_t = isize;
[INFO] [stdout]     | ----------------- similarly named type alias `intptr_t` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 189 -         let dealloc_size = (info_count as usize) * std::mem::size_of::<libc::integer_t>();
[INFO] [stdout] 189 +         let dealloc_size = (info_count as usize) * std::mem::size_of::<libc::intptr_t>();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vm_deallocate` in crate `libc`
[INFO] [stdout]    --> src/system.rs:190:15
[INFO] [stdout]     |
[INFO] [stdout] 190 |         libc::vm_deallocate(
[INFO] [stdout]     |               ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mach_task_self_` in crate `libc`
[INFO] [stdout]    --> src/system.rs:191:19
[INFO] [stdout]     |
[INFO] [stdout] 191 |             libc::mach_task_self_,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `vm_address_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:192:31
[INFO] [stdout]     |
[INFO] [stdout] 192 |             info_ptr as libc::vm_address_t,
[INFO] [stdout]     |                               ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `vm_size_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:193:35
[INFO] [stdout]     |
[INFO] [stdout] 193 |             dealloc_size as libc::vm_size_t,
[INFO] [stdout]     |                                   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | pub type blksize_t = i64;
[INFO] [stdout]     | ------------------ similarly named type alias `blksize_t` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 193 -             dealloc_size as libc::vm_size_t,
[INFO] [stdout] 193 +             dealloc_size as libc::blksize_t,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mach_host_self` in crate `libc`
[INFO] [stdout]    --> src/system.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let host = libc::mach_host_self();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `vm_statistics64` in crate `libc`
[INFO] [stdout]    --> src/system.rs:266:33
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let mut vm_stats: libc::vm_statistics64 = std::mem::zeroed();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/macros.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         $pub struct $i { $($field)* }
[INFO] [stdout]     |         -------------- similarly named struct `iw_statistics` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 266 -         let mut vm_stats: libc::vm_statistics64 = std::mem::zeroed();
[INFO] [stdout] 266 +         let mut vm_stats: libc::iw_statistics = std::mem::zeroed();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `mach_msg_type_number_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:267:30
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let mut count: libc::mach_msg_type_number_t = libc::HOST_VM_INFO64_COUNT;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HOST_VM_INFO64_COUNT` in crate `libc`
[INFO] [stdout]    --> src/system.rs:267:61
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let mut count: libc::mach_msg_type_number_t = libc::HOST_VM_INFO64_COUNT;
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `host_statistics64` in crate `libc`
[INFO] [stdout]    --> src/system.rs:268:28
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let result = libc::host_statistics64(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HOST_VM_INFO64` in crate `libc`
[INFO] [stdout]    --> src/system.rs:270:19
[INFO] [stdout]     |
[INFO] [stdout] 270 |             libc::HOST_VM_INFO64,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `host_info64_t` in crate `libc`
[INFO] [stdout]    --> src/system.rs:271:46
[INFO] [stdout]     |
[INFO] [stdout] 271 |             &mut vm_stats as *mut _ as libc::host_info64_t,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KERN_SUCCESS` in crate `libc`
[INFO] [stdout]    --> src/system.rs:274:28
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if result != libc::KERN_SUCCESS {
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.186/src/unix/linux_like/mod.rs:373:1
[INFO] [stdout]     |
[INFO] [stdout] 373 | pub const EXIT_SUCCESS: c_int = 0;
[INFO] [stdout]     | ----------------------------- similarly named constant `EXIT_SUCCESS` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 274 -         if result != libc::KERN_SUCCESS {
[INFO] [stdout] 274 +         if result != libc::EXIT_SUCCESS {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AF_LINK` in crate `libc`
[INFO] [stdout]    --> src/system.rs:647:72
[INFO] [stdout]     |
[INFO] [stdout] 647 |                 && (*entry.ifa_addr).sa_family as libc::c_int == libc::AF_LINK
[INFO] [stdout]     |                                                                        ^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `if_data` in crate `libc`
[INFO] [stdout]    --> src/system.rs:651:62
[INFO] [stdout]     |
[INFO] [stdout] 651 |                 let data = &*(entry.ifa_data as *const libc::if_data);
[INFO] [stdout]     |                                                              ^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `clamp` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/system.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |     percent.clamp(0.0, 100.0)
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you must specify a type for this binding, like `f32`
[INFO] [stdout]     |
[INFO] [stdout] 291 |     let percent: f32 = 100.0 * (used_pages as f64) / (total_pages as f64);
[INFO] [stdout]     |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `understatus` (bin "understatus") due to 28 previous errors
[INFO] running `Command { std: "docker" "inspect" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b", kill_on_drop: false }`
[INFO] [stdout] a3daf5ddec02ba614e570e0737f1b5d704fbb9e0a0b9195f2e2b24c8a59d703b
