[INFO] cloning repository https://github.com/stehekin/rust_container [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stehekin/rust_container" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstehekin%2Frust_container", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstehekin%2Frust_container'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b8f1edef5afe3afd586a7b3d3f7f4d74e772737 [INFO] checking stehekin/rust_container against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstehekin%2Frust_container" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stehekin/rust_container [INFO] finished tweaking git repo https://github.com/stehekin/rust_container [INFO] tweaked toml for git repo https://github.com/stehekin/rust_container written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stehekin/rust_container on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stehekin/rust_container 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.1.8 [INFO] [stderr] Downloaded pin-project v1.1.8 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded k8s-cri v0.10.0 [INFO] [stderr] Downloaded async-trait v0.1.85 [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded containerd-client v0.8.0 [INFO] [stderr] Downloaded getset v0.1.4 [INFO] [stderr] Downloaded oci-spec v0.7.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded fstr v0.2.12 [INFO] [stderr] Downloaded uuid7 v0.7.2 [INFO] [stderr] Downloaded prost-helper v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ac349579733b1496efa90f1e96102d9cbae173f24e42104b9f79b746a6e7441 [INFO] running `Command { std: "docker" "start" "-a" "0ac349579733b1496efa90f1e96102d9cbae173f24e42104b9f79b746a6e7441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ac349579733b1496efa90f1e96102d9cbae173f24e42104b9f79b746a6e7441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac349579733b1496efa90f1e96102d9cbae173f24e42104b9f79b746a6e7441", kill_on_drop: false }` [INFO] [stdout] 0ac349579733b1496efa90f1e96102d9cbae173f24e42104b9f79b746a6e7441 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b189a6c266f7fffa9397f93304f916c6b97fd5db654f026d0315f97cf2ccd9d1 [INFO] running `Command { std: "docker" "start" "-a" "b189a6c266f7fffa9397f93304f916c6b97fd5db654f026d0315f97cf2ccd9d1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking fstr v0.2.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling getset v0.1.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pin-project v1.1.8 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking prost-types v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking uuid7 v0.7.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling prost-build v0.13.4 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling containerd-client v0.8.0 [INFO] [stderr] Compiling k8s-cri v0.10.0 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking oci-spec v0.7.1 [INFO] [stderr] Checking prost-helper v0.8.3 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking container v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CGroup` is never constructed [INFO] [stdout] --> src/cgroup.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CGroup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CGroupCache` is never constructed [INFO] [stdout] --> src/cgroup.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct CGroupCache { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_cgroup` and `is_descendant` are never used [INFO] [stdout] --> src/cgroup.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl CGroupCache { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 17 | pub(crate) fn add_cgroup(&mut self, number: u32, name: String, parent: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn is_descendant(&self, cg1_number: u32, cg2_name: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/containerd.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `containerd_client::services::v1::namespaces_client::NamespacesClient` [INFO] [stdout] --> src/containerd.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use containerd_client::services::v1::namespaces_client::NamespacesClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ListNamespacesRequest` [INFO] [stdout] --> src/containerd.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use containerd_client::services::v1::{ListContainersRequest, ListNamespacesRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `containerd_client::types::RuntimeInfo` [INFO] [stdout] --> src/containerd.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use containerd_client::types::RuntimeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message` and `Name` [INFO] [stdout] --> src/containerd.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use prost::{Message, Name}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost_helper::ToJson` [INFO] [stdout] --> src/containerd.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use prost_helper::ToJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/containerd.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoRequest` and `Response` [INFO] [stdout] --> src/containerd.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tonic::{IntoRequest, Request, Response}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpecBuilder` [INFO] [stdout] --> src/containerd.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use oci_spec::runtime::{Spec, SpecBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Channel` [INFO] [stdout] --> src/cri.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::transport::{Channel, Endpoint, Uri}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `Response` [INFO] [stdout] --> src/cri.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::{Request, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cgroup.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | for i in 0..=6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/cgroup.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | for j in 0..=6 {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `number`, and `parent` are never read [INFO] [stdout] --> src/cgroup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct CGroup { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | number: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | parent: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_descendant` is never used [INFO] [stdout] --> src/cgroup.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl CGroupCache { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn is_descendant(&self, cg1_number: u32, cg2_name: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.26s [INFO] running `Command { std: "docker" "inspect" "b189a6c266f7fffa9397f93304f916c6b97fd5db654f026d0315f97cf2ccd9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b189a6c266f7fffa9397f93304f916c6b97fd5db654f026d0315f97cf2ccd9d1", kill_on_drop: false }` [INFO] [stdout] b189a6c266f7fffa9397f93304f916c6b97fd5db654f026d0315f97cf2ccd9d1