[INFO] cloning repository https://github.com/step21/pymacjoule [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/step21/pymacjoule" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstep21%2Fpymacjoule", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstep21%2Fpymacjoule'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4a4314af7072c11a5cc7d2851b73286eaa955e7 [INFO] testing step21/pymacjoule against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstep21%2Fpymacjoule" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/step21/pymacjoule [INFO] finished tweaking git repo https://github.com/step21/pymacjoule [INFO] tweaked toml for git repo https://github.com/step21/pymacjoule written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/step21/pymacjoule on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/step21/pymacjoule 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a7559a7ca25e5bf0f0dde9e43e4cb80eb1e0736bfaeb8dd32aee551880ac327 [INFO] running `Command { std: "docker" "start" "-a" "3a7559a7ca25e5bf0f0dde9e43e4cb80eb1e0736bfaeb8dd32aee551880ac327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a7559a7ca25e5bf0f0dde9e43e4cb80eb1e0736bfaeb8dd32aee551880ac327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a7559a7ca25e5bf0f0dde9e43e4cb80eb1e0736bfaeb8dd32aee551880ac327", kill_on_drop: false }` [INFO] [stdout] 3a7559a7ca25e5bf0f0dde9e43e4cb80eb1e0736bfaeb8dd32aee551880ac327 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eed5e751e91f31716cb7664dd156dbfcabcea283f6fc0902fe7d6af80222b14 [INFO] running `Command { std: "docker" "start" "-a" "3eed5e751e91f31716cb7664dd156dbfcabcea283f6fc0902fe7d6af80222b14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling core-foundation-sys v0.8.7 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling pyo3-build-config v0.23.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling core-foundation v0.10.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.4 [INFO] [stderr] Compiling pyo3-ffi v0.23.4 [INFO] [stderr] Compiling pyo3 v0.23.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling serde-inline-default v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling pyo3-macros v0.23.4 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling pymacjoule v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `CTL_HW` in crate `libc` [INFO] [stdout] --> src/sources.rs:385:27 [INFO] [stdout] | [INFO] [stdout] 385 | let mut name = [libc::CTL_HW, libc::HW_MEMSIZE]; [INFO] [stdout] | ^^^^^^ help: a constant with a similar name exists: `CTL_FS` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/linux_like/linux/mod.rs:5444:1 [INFO] [stdout] | [INFO] [stdout] 5444 | pub const CTL_FS: c_int = 5; [INFO] [stdout] | ----------------------- similarly named constant `CTL_FS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HW_MEMSIZE` in crate `libc` [INFO] [stdout] --> src/sources.rs:385:41 [INFO] [stdout] | [INFO] [stdout] 385 | let mut name = [libc::CTL_HW, libc::HW_MEMSIZE]; [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/sources.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | let mut count: u32 = libc::HOST_VM_INFO64_COUNT as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `vm_statistics64` in crate `libc` [INFO] [stdout] --> src/sources.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | let mut stats = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `iw_statistics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/linux_like/linux/mod.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / s! { [INFO] [stdout] 92 | | pub struct glob_t { [INFO] [stdout] 93 | | pub gl_pathc: size_t, [INFO] [stdout] 94 | | pub gl_pathv: *mut *mut c_char, [INFO] [stdout] ... | [INFO] [stdout] 1231 | | } [INFO] [stdout] | |_- similarly named struct `iw_statistics` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `host_statistics64` in crate `libc` [INFO] [stdout] --> src/sources.rs:407:26 [INFO] [stdout] | [INFO] [stdout] 407 | let ret_code = libc::host_statistics64( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mach_host_self` in crate `libc` [INFO] [stdout] --> src/sources.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | libc::mach_host_self(), [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/sources.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | libc::HOST_VM_INFO64, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VM_SWAPUSAGE` in crate `libc` [INFO] [stdout] --> src/sources.rs:439:41 [INFO] [stdout] | [INFO] [stdout] 439 | let mut name = [libc::CTL_VM, libc::VM_SWAPUSAGE]; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `xsw_usage` in crate `libc` [INFO] [stdout] --> src/sources.rs:440:46 [INFO] [stdout] | [INFO] [stdout] 440 | let mut size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `xsw_usage` in crate `libc` [INFO] [stdout] --> src/sources.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | let mut xsw: libc::xsw_usage = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `xsw_usage` in crate `libc` [INFO] [stdout] --> src/sources.rs:441:61 [INFO] [stdout] | [INFO] [stdout] 441 | let mut xsw: libc::xsw_usage = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pymacjoule` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "3eed5e751e91f31716cb7664dd156dbfcabcea283f6fc0902fe7d6af80222b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eed5e751e91f31716cb7664dd156dbfcabcea283f6fc0902fe7d6af80222b14", kill_on_drop: false }` [INFO] [stdout] 3eed5e751e91f31716cb7664dd156dbfcabcea283f6fc0902fe7d6af80222b14