[INFO] cloning repository https://github.com/hamzzy/lib-shim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamzzy/lib-shim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzzy%2Flib-shim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzzy%2Flib-shim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60f6e94f1709af4e90516c72408e72549bd445d0 [INFO] checking hamzzy/lib-shim/60f6e94f1709af4e90516c72408e72549bd445d0 against master#540f43a224317d894a9a0710a8d67704f179a33c for pr-155193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzzy%2Flib-shim" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hamzzy/lib-shim [INFO] finished tweaking git repo https://github.com/hamzzy/lib-shim [INFO] tweaked toml for git repo https://github.com/hamzzy/lib-shim written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hamzzy/lib-shim on toolchain 540f43a224317d894a9a0710a8d67704f179a33c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hamzzy/lib-shim 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" "+540f43a224317d894a9a0710a8d67704f179a33c" "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 tabled_derive v0.7.0 [INFO] [stderr] Downloaded zmij v1.0.5 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded jiff-static v0.2.17 [INFO] [stderr] Downloaded syn v2.0.112 [INFO] [stderr] Downloaded jiff v0.2.17 [INFO] [stderr] Downloaded ttrpc v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e2ec3a9f447d3d48ca25c153648501db1155fc83037a2a1d13678ce7a824a54 [INFO] running `Command { std: "docker" "start" "-a" "0e2ec3a9f447d3d48ca25c153648501db1155fc83037a2a1d13678ce7a824a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e2ec3a9f447d3d48ca25c153648501db1155fc83037a2a1d13678ce7a824a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e2ec3a9f447d3d48ca25c153648501db1155fc83037a2a1d13678ce7a824a54", kill_on_drop: false }` [INFO] [stdout] 0e2ec3a9f447d3d48ca25c153648501db1155fc83037a2a1d13678ce7a824a54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15522e30fcc309fc60d5b0f0b214d90543707818da9cc9341ff7dcdb2f49141c [INFO] running `Command { std: "docker" "start" "-a" "15522e30fcc309fc60d5b0f0b214d90543707818da9cc9341ff7dcdb2f49141c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling zmij v1.0.5 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking jiff v0.2.17 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libcrun-shim v0.1.0 (/opt/rustwide/workdir/crates/libcrun-shim) [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking libcrun-shim-proto v0.1.0 (/opt/rustwide/workdir/crates/libcrun-shim-proto) [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling libcrun-sys v0.1.0 (/opt/rustwide/workdir/crates/libcrun-sys) [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] warning: libcrun-sys@0.1.0: libcrun not found via pkg-config, using stub bindings [INFO] [stderr] warning: libcrun-sys@0.1.0: To enable real libcrun support, install libcrun-dev (Ubuntu/Debian) or crun-devel (Fedora) [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking libcrun-shim-agent v0.1.0 (/opt/rustwide/workdir/crates/libcrun-shim-agent) [INFO] [stdout] warning: unused import: `AsRawFd` [INFO] [stdout] --> crates/libcrun-shim-agent/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawFd` [INFO] [stdout] --> crates/libcrun-shim-agent/src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stdout] warning: constant `VMADDR_CID_HOST` is never used [INFO] [stdout] --> crates/libcrun-shim-agent/src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const VMADDR_CID_HOST: u32 = 2; // Host (macOS) CID [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VMADDR_CID_HOST` is never used [INFO] [stdout] --> crates/libcrun-shim-agent/src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const VMADDR_CID_HOST: u32 = 2; // Host (macOS) CID [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stdout] error[E0425]: cannot find type `ContainerRuntime` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let runtime: ContainerRuntime = ContainerRuntime::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ContainerRuntime` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | let runtime: ContainerRuntime = ContainerRuntime::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContainerRuntime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ContainerConfig` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let config = ContainerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerConfig; [INFO] [stdout] | [INFO] [stdout] 194 + use crate::cri::ContainerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContainerRuntime` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | let runtime: ContainerRuntime = ContainerRuntime::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ContainerRuntime` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | let runtime: ContainerRuntime = ContainerRuntime::new().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContainerRuntime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerRuntime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ContainerConfig` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let config = ContainerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerConfig; [INFO] [stdout] | [INFO] [stdout] 194 + use crate::cri::ContainerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContainerInfo` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | let containers: Vec = runtime.list().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/libcrun-shim/src/linux.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ContainerStatus` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:251:42 [INFO] [stdout] | [INFO] [stdout] 251 | assert_eq!(containers[0].status, ContainerStatus::Running); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ContainerStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContainerInfo` in this scope [INFO] [stdout] --> crates/libcrun-shim/src/lib.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | let containers: Vec = runtime.list().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 194 + use crate::ContainerInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/libcrun-shim/src/linux.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libcrun-shim` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "15522e30fcc309fc60d5b0f0b214d90543707818da9cc9341ff7dcdb2f49141c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15522e30fcc309fc60d5b0f0b214d90543707818da9cc9341ff7dcdb2f49141c", kill_on_drop: false }` [INFO] [stdout] 15522e30fcc309fc60d5b0f0b214d90543707818da9cc9341ff7dcdb2f49141c