[INFO] fetching crate buildkit-rs-llb 0.1.0... [INFO] testing buildkit-rs-llb-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate buildkit-rs-llb 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate buildkit-rs-llb 0.1.0 [INFO] finished tweaking crates.io crate buildkit-rs-llb 0.1.0 [INFO] tweaked toml for crates.io crate buildkit-rs-llb 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate buildkit-rs-llb 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--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] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding prost v0.11.9 (available: v0.14.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a632d5fb01a9ad3a2142825e293ae5fab5b8510435e5881023869687dfdfb559 [INFO] running `Command { std: "docker" "start" "-a" "a632d5fb01a9ad3a2142825e293ae5fab5b8510435e5881023869687dfdfb559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a632d5fb01a9ad3a2142825e293ae5fab5b8510435e5881023869687dfdfb559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a632d5fb01a9ad3a2142825e293ae5fab5b8510435e5881023869687dfdfb559", kill_on_drop: false }` [INFO] [stdout] a632d5fb01a9ad3a2142825e293ae5fab5b8510435e5881023869687dfdfb559 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab16d8a0e2accc89117300801d562809e398dfa65f437bf59f79887362ed3742 [INFO] running `Command { std: "docker" "start" "-a" "ab16d8a0e2accc89117300801d562809e398dfa65f437bf59f79887362ed3742", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Compiling buildkit-rs-proto v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.8.3 [INFO] [stderr] Compiling buildkit-rs-llb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/source/image.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | fn serialize(&self, cx: &mut Context) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/state.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn configure_dir(state: State, dir: String) -> State { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TmpfsInfo` is never constructed [INFO] [stdout] --> src/exec/mount.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct TmpfsInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CacheMountSharingMode` is never used [INFO] [stdout] --> src/exec/mount.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum CacheMountSharingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mount` is never constructed [INFO] [stdout] --> src/exec/mount.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Mount> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Digest` is never used [INFO] [stdout] --> src/serialize/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Digest = String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraints` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Constraints; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_definition`, `into_bytes`, and `from_definition` are never used [INFO] [stdout] --> src/serialize/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Definition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | /// Convert to the protobuf representation [INFO] [stdout] 21 | fn into_definition(&self) -> pb::Definition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn into_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_definition(x: &pb::Definition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ID_ACC` is never used [INFO] [stdout] --> src/serialize/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static ID_ACC: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationId` is never constructed [INFO] [stdout] --> src/serialize/id.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct OperationId(u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/serialize/id.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl OperationId { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operation` is never used [INFO] [stdout] --> src/serialize/node.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait Operation: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/serialize/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `into_registered_nodes` are never used [INFO] [stdout] --> src/serialize/node.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 22 | #[allow(clippy::map_entry)] [INFO] [stdout] 23 | pub(crate) fn register<'a>(&'a mut self, op: &dyn Operation) -> Option<&'a Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn into_registered_nodes(self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/serialize/node.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `digest` are never used [INFO] [stdout] --> src/serialize/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 53 | pub fn new(message: pb::Op, metadata: pb::OpMetadata) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn digest(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/source/image.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_include`, and `with_exclude` are never used [INFO] [stdout] --> src/source/image.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_include(mut self, include: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_exclude(mut self, exclude: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/sourcemap.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceMap` is never constructed [INFO] [stdout] --> src/sourcemap.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct SourceMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContextKey` is never used [INFO] [stdout] --> src/state.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum ContextKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/state.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ContextKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 58 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev` is never read [INFO] [stdout] --> src/state.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 86 | // out: Output, [INFO] [stdout] 87 | prev: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.33s [INFO] running `Command { std: "docker" "inspect" "ab16d8a0e2accc89117300801d562809e398dfa65f437bf59f79887362ed3742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab16d8a0e2accc89117300801d562809e398dfa65f437bf59f79887362ed3742", kill_on_drop: false }` [INFO] [stdout] ab16d8a0e2accc89117300801d562809e398dfa65f437bf59f79887362ed3742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd679b304d5b6872f8c57910b935fff5914a1faafccbcebf728c2d08d910d140 [INFO] running `Command { std: "docker" "start" "-a" "dd679b304d5b6872f8c57910b935fff5914a1faafccbcebf728c2d08d910d140", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/source/image.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | fn serialize(&self, cx: &mut Context) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/state.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn configure_dir(state: State, dir: String) -> State { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TmpfsInfo` is never constructed [INFO] [stdout] --> src/exec/mount.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct TmpfsInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CacheMountSharingMode` is never used [INFO] [stdout] --> src/exec/mount.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum CacheMountSharingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mount` is never constructed [INFO] [stdout] --> src/exec/mount.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Mount> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Digest` is never used [INFO] [stdout] --> src/serialize/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Digest = String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraints` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Constraints; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_definition`, `into_bytes`, and `from_definition` are never used [INFO] [stdout] --> src/serialize/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Definition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | /// Convert to the protobuf representation [INFO] [stdout] 21 | fn into_definition(&self) -> pb::Definition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn into_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_definition(x: &pb::Definition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ID_ACC` is never used [INFO] [stdout] --> src/serialize/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static ID_ACC: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationId` is never constructed [INFO] [stdout] --> src/serialize/id.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct OperationId(u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/serialize/id.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl OperationId { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operation` is never used [INFO] [stdout] --> src/serialize/node.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait Operation: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/serialize/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `into_registered_nodes` are never used [INFO] [stdout] --> src/serialize/node.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 22 | #[allow(clippy::map_entry)] [INFO] [stdout] 23 | pub(crate) fn register<'a>(&'a mut self, op: &dyn Operation) -> Option<&'a Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn into_registered_nodes(self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/serialize/node.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `digest` are never used [INFO] [stdout] --> src/serialize/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 53 | pub fn new(message: pb::Op, metadata: pb::OpMetadata) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn digest(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling buildkit-rs-llb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/source/image.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_include`, and `with_exclude` are never used [INFO] [stdout] --> src/source/image.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_include(mut self, include: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_exclude(mut self, exclude: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/sourcemap.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceMap` is never constructed [INFO] [stdout] --> src/sourcemap.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct SourceMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContextKey` is never used [INFO] [stdout] --> src/state.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum ContextKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/state.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ContextKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 58 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev` is never read [INFO] [stdout] --> src/state.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 86 | // out: Output, [INFO] [stdout] 87 | prev: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/source/image.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | fn serialize(&self, cx: &mut Context) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/state.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn configure_dir(state: State, dir: String) -> State { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TmpfsInfo` is never constructed [INFO] [stdout] --> src/exec/mount.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct TmpfsInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CacheMountSharingMode` is never used [INFO] [stdout] --> src/exec/mount.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum CacheMountSharingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mount` is never constructed [INFO] [stdout] --> src/exec/mount.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Mount> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Digest` is never used [INFO] [stdout] --> src/serialize/mod.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Digest = String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraints` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Constraints; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Definition` is never constructed [INFO] [stdout] --> src/serialize/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_definition`, `into_bytes`, and `from_definition` are never used [INFO] [stdout] --> src/serialize/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Definition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | /// Convert to the protobuf representation [INFO] [stdout] 21 | fn into_definition(&self) -> pb::Definition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn into_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_definition(x: &pb::Definition) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ID_ACC` is never used [INFO] [stdout] --> src/serialize/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static ID_ACC: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationId` is never constructed [INFO] [stdout] --> src/serialize/id.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct OperationId(u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/serialize/id.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl OperationId { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Operation` is never used [INFO] [stdout] --> src/serialize/node.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) trait Operation: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/serialize/node.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `registered_nodes_iter`, and `into_registered_nodes` are never used [INFO] [stdout] --> src/serialize/node.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 22 | #[allow(clippy::map_entry)] [INFO] [stdout] 23 | pub(crate) fn register<'a>(&'a mut self, op: &dyn Operation) -> Option<&'a Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) fn registered_nodes_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn into_registered_nodes(self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/serialize/node.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `digest` are never used [INFO] [stdout] --> src/serialize/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 53 | pub fn new(message: pb::Op, metadata: pb::OpMetadata) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn digest(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/source/image.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_include`, and `with_exclude` are never used [INFO] [stdout] --> src/source/image.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_include(mut self, include: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_exclude(mut self, exclude: I) -> Self [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceLocation` is never constructed [INFO] [stdout] --> src/sourcemap.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SourceLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceMap` is never constructed [INFO] [stdout] --> src/sourcemap.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct SourceMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContextKey` is never used [INFO] [stdout] --> src/state.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum ContextKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/state.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ContextKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 58 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev` is never read [INFO] [stdout] --> src/state.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 86 | // out: Output, [INFO] [stdout] 87 | prev: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "dd679b304d5b6872f8c57910b935fff5914a1faafccbcebf728c2d08d910d140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd679b304d5b6872f8c57910b935fff5914a1faafccbcebf728c2d08d910d140", kill_on_drop: false }` [INFO] [stdout] dd679b304d5b6872f8c57910b935fff5914a1faafccbcebf728c2d08d910d140 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6bffbec3d6884854524e7207eb03506ff62dc853a2bc669aee06ddf2cff144a [INFO] running `Command { std: "docker" "start" "-a" "a6bffbec3d6884854524e7207eb03506ff62dc853a2bc669aee06ddf2cff144a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> src/source/image.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | fn serialize(&self, cx: &mut Context) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/state.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn configure_dir(state: State, dir: String) -> State { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: struct `TmpfsInfo` is never constructed [INFO] [stderr] --> src/exec/mount.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct TmpfsInfo { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `CacheMountSharingMode` is never used [INFO] [stderr] --> src/exec/mount.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | enum CacheMountSharingMode { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Mount` is never constructed [INFO] [stderr] --> src/exec/mount.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Mount> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Digest` is never used [INFO] [stderr] --> src/serialize/mod.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | type Digest = String; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Constraints` is never constructed [INFO] [stderr] --> src/serialize/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Constraints; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Definition` is never constructed [INFO] [stderr] --> src/serialize/mod.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | struct Definition { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `into_definition`, `into_bytes`, and `from_definition` are never used [INFO] [stderr] --> src/serialize/mod.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 19 | impl Definition { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 20 | /// Convert to the protobuf representation [INFO] [stderr] 21 | fn into_definition(&self) -> pb::Definition { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn into_bytes(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn from_definition(x: &pb::Definition) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ID_ACC` is never used [INFO] [stderr] --> src/serialize/id.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | static ID_ACC: AtomicU64 = AtomicU64::new(0); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OperationId` is never constructed [INFO] [stderr] --> src/serialize/id.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct OperationId(u64); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/serialize/id.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl OperationId { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 30 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Operation` is never used [INFO] [stderr] --> src/serialize/node.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) trait Operation: Debug + Send + Sync { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Context` is never constructed [INFO] [stderr] --> src/serialize/node.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Context { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `register` and `into_registered_nodes` are never used [INFO] [stderr] --> src/serialize/node.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 21 | impl Context { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 22 | #[allow(clippy::map_entry)] [INFO] [stderr] 23 | pub(crate) fn register<'a>(&'a mut self, op: &dyn Operation) -> Option<&'a Node> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub(crate) fn into_registered_nodes(self) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Node` is never constructed [INFO] [stderr] --> src/serialize/node.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | pub(crate) struct Node { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `digest` are never used [INFO] [stderr] --> src/serialize/node.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 52 | impl Node { [INFO] [stderr] | --------- associated functions in this implementation [INFO] [stderr] 53 | pub fn new(message: pb::Op, metadata: pb::OpMetadata) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn digest(bytes: &[u8]) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Image` is never constructed [INFO] [stderr] --> src/source/image.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Image { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_name`, `with_include`, and `with_exclude` are never used [INFO] [stderr] --> src/source/image.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Image { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 25 | pub fn new(name: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn with_name(mut self, name: String) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn with_include(mut self, include: I) -> Self [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn with_exclude(mut self, exclude: I) -> Self [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SourceLocation` is never constructed [INFO] [stderr] --> src/sourcemap.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct SourceLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SourceMap` is never constructed [INFO] [stderr] --> src/sourcemap.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | struct SourceMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ContextKey` is never used [INFO] [stderr] --> src/state.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | enum ContextKey { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/state.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl ContextKey { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 58 | pub fn as_str(&self) -> &str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `prev` is never read [INFO] [stderr] --> src/state.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 86 | // out: Output, [INFO] [stderr] 87 | prev: Option>, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `register`, `registered_nodes_iter`, and `into_registered_nodes` are never used [INFO] [stderr] --> src/serialize/node.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 21 | impl Context { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 22 | #[allow(clippy::map_entry)] [INFO] [stderr] 23 | pub(crate) fn register<'a>(&'a mut self, op: &dyn Operation) -> Option<&'a Node> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub(crate) fn registered_nodes_iter(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub(crate) fn into_registered_nodes(self) -> impl Iterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `buildkit-rs-llb` (lib) generated 24 warnings (run `cargo fix --lib -p buildkit-rs-llb` to apply 2 suggestions) [INFO] [stderr] warning: `buildkit-rs-llb` (lib test) generated 24 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/buildkit_rs_llb-b2bd05f66b0f92b3) [INFO] [stdout] [INFO] [stderr] Doc-tests buildkit_rs_llb [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a6bffbec3d6884854524e7207eb03506ff62dc853a2bc669aee06ddf2cff144a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bffbec3d6884854524e7207eb03506ff62dc853a2bc669aee06ddf2cff144a", kill_on_drop: false }` [INFO] [stdout] a6bffbec3d6884854524e7207eb03506ff62dc853a2bc669aee06ddf2cff144a