[INFO] fetching crate heim-process 0.1.1-rc.1... [INFO] testing heim-process-0.1.1-rc.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate heim-process 0.1.1-rc.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate heim-process 0.1.1-rc.1 [INFO] finished tweaking crates.io crate heim-process 0.1.1-rc.1 [INFO] tweaked toml for crates.io crate heim-process 0.1.1-rc.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate heim-process 0.1.1-rc.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.5) [INFO] [stderr] Adding ntapi v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding once_cell v1.5.2 (available: v1.21.3) [INFO] [stderr] Adding ordered-float v2.0.1 (available: v2.10.1) [INFO] [stderr] Adding platforms v1.0.3 (available: v1.1.0) [INFO] [stderr] Adding regex v1.8.4 (available: v1.11.2) [INFO] [stderr] Adding smol v1.2.5 (available: v1.3.0) [INFO] [stderr] Adding version-sync v0.9.4 (available: v0.9.5) [INFO] [stderr] Adding which v4.0.2 (available: v4.4.2) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ba5935360179b0119543a14c9add1e7119f7c7fb7eff43b178755839676761e4 [INFO] running `Command { std: "docker" "start" "-a" "ba5935360179b0119543a14c9add1e7119f7c7fb7eff43b178755839676761e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba5935360179b0119543a14c9add1e7119f7c7fb7eff43b178755839676761e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba5935360179b0119543a14c9add1e7119f7c7fb7eff43b178755839676761e4", kill_on_drop: false }` [INFO] [stdout] ba5935360179b0119543a14c9add1e7119f7c7fb7eff43b178755839676761e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 857805675e67c189f4a7e88cef8cad4d634db5a1c17cc624fef09266183f2ae6 [INFO] running `Command { std: "docker" "start" "-a" "857805675e67c189f4a7e88cef8cad4d634db5a1c17cc624fef09266183f2ae6", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling heim-common v0.1.0-rc.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling platforms v1.0.3 [INFO] [stderr] Compiling heim-host v0.1.0-rc.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling macaddr v1.0.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v2.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling uom v0.30.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-net v1.8.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling heim-runtime v0.1.0-rc.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling heim-net v0.1.0-rc.1 [INFO] [stderr] Compiling heim-cpu v0.1.0-rc.1 [INFO] [stderr] Compiling heim-process v0.1.1-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unused doc comment [INFO] [stdout] --> src/sys/unix/bindings.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// Copied from the Rust sources. [INFO] [stdout] 2 | | /// [INFO] [stdout] 3 | | /// Reference: https://github.com/rust-lang/rust/blob/75cf41afb468152611212271bae026948cd3ba46/src/libstd/sys/unix/os.rs [INFO] [stdout] | |________________________________________________________________________________________________________________________^ [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | #[cfg(not(target_os = "dragonfly"))] [INFO] [stdout] 6 | | #[cfg_attr( [INFO] [stdout] 7 | | any(target_os = "macos", target_os = "ios", target_os = "freebsd"), [INFO] [stdout] ... | [INFO] [stdout] 21 | | pub fn errno_location() -> *mut libc::c_int; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_doc_comments)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys/unix/bindings.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `IntoEnvironmentIter` [INFO] [stdout] --> src/sys/linux/process/procfs/mod.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::env::{environment, Environment, IntoEnvironmentIter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `children_utime` and `children_stime` are never read [INFO] [stdout] --> src/sys/linux/process/procfs/cpu_times.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CpuTime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | children_utime: Time, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | children_stime: Time, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuTime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | dead_code, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sys/unix/env.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn iter(&self) -> EnvironmentIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 47 | pub fn iter(&self) -> EnvironmentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sys/linux/process/mod.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn signal(&self, signal: Signal) -> BoxFuture> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn signal(&self, signal: Signal) -> BoxFuture<'_, ProcessResult<()>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heim-process` (lib) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "857805675e67c189f4a7e88cef8cad4d634db5a1c17cc624fef09266183f2ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857805675e67c189f4a7e88cef8cad4d634db5a1c17cc624fef09266183f2ae6", kill_on_drop: false }` [INFO] [stdout] 857805675e67c189f4a7e88cef8cad4d634db5a1c17cc624fef09266183f2ae6