[INFO] fetching crate buildkit-rs-llb 0.1.0...
[INFO] checking buildkit-rs-llb-0.1.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate buildkit-rs-llb 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate buildkit-rs-llb 0.1.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.81
[INFO] [stderr]   Downloaded tonic-build v0.8.4
[INFO] [stderr]   Downloaded buildkit-rs-proto v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7c8ddabadd79ad9d3201a3a8c06ccf869cb5fcd97f14c42e8ff724d7b8dac4f
[INFO] running `Command { std: "docker" "start" "-a" "b7c8ddabadd79ad9d3201a3a8c06ccf869cb5fcd97f14c42e8ff724d7b8dac4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7c8ddabadd79ad9d3201a3a8c06ccf869cb5fcd97f14c42e8ff724d7b8dac4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7c8ddabadd79ad9d3201a3a8c06ccf869cb5fcd97f14c42e8ff724d7b8dac4f", kill_on_drop: false }`
[INFO] [stdout] b7c8ddabadd79ad9d3201a3a8c06ccf869cb5fcd97f14c42e8ff724d7b8dac4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2a86be937468dfa3029f8e51498e0388b35f89dce92d35d3ef6a711c2d7bb72
[INFO] running `Command { std: "docker" "start" "-a" "d2a86be937468dfa3029f8e51498e0388b35f89dce92d35d3ef6a711c2d7bb72", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking shlex v1.3.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking hyper v0.14.28
[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]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.8.3
[INFO] [stderr]     Checking 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<Node> {
[INFO] [stdout]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[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<Node> {
[INFO] [stdout]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` 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)]` 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: 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<P: AsRef<Path>> {
[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<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn from_definition(x: &pb::Definition) -> Self {
[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: field `inner` is never read
[INFO] [stdout]   --> src/serialize/node.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 18 |     inner: BTreeMap<u64, Node>,
[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<Item = &Node> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub(crate) fn into_registered_nodes(self) -> impl Iterator<Item = Node> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bytes`, `digest`, `metadata`, and `source_location` are never read
[INFO] [stdout]   --> src/serialize/node.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub(crate) struct Node {
[INFO] [stdout]    |                   ---- fields in this struct
[INFO] [stdout] 46 |     pub bytes: Vec<u8>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 47 |     pub digest: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 48 |     pub metadata: pb::OpMetadata,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     pub source_location: Option<SourceLocation>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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: fields `id`, `name`, `exclude`, and `include` are never read
[INFO] [stdout]   --> src/source/image.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Image {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 15 |     id: OperationId,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |     exclude: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     include: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<I, S>(mut self, include: I) -> Self
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn with_exclude<I, S>(mut self, exclude: I) -> Self
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source_map` and `ranges` are never read
[INFO] [stdout]   --> src/sourcemap.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SourceLocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 18 |     source_map: SourceMap,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     ranges: Vec<pb::Range>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filename` and `data` are never read
[INFO] [stdout]   --> src/sourcemap.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct SourceMap {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 24 |     pub filename: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 25 |     pub data: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/state.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum ContextKey {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 32 |     /// `llb.exec.args`
[INFO] [stdout] 33 |     Args,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 34 |     /// `llb.exec.dir`
[INFO] [stdout] 35 |     Dir,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     /// `llb.exec.env`
[INFO] [stdout] 37 |     Env,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     /// `llb.exec.extrahost`
[INFO] [stdout] 39 |     ExtraHost,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     /// `llb.exec.hostname`
[INFO] [stdout] 41 |     Hostname,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 42 |     /// `llb.exec.ulimit`
[INFO] [stdout] 43 |     Ulimit,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     /// `llb.exec.cgroup.parent`
[INFO] [stdout] 45 |     CgroupParent,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 46 |     /// `llb.exec.user`
[INFO] [stdout] 47 |     User,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Platform,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 51 |     /// `llb.network`
[INFO] [stdout] 52 |     Network,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 53 |     /// `llb.security`
[INFO] [stdout] 54 |     Security,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[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)]` 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<P: AsRef<Path>> {
[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<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn from_definition(x: &pb::Definition) -> Self {
[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: field `inner` is never read
[INFO] [stdout]   --> src/serialize/node.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 18 |     inner: BTreeMap<u64, Node>,
[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<Item = Node> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bytes`, `digest`, `metadata`, and `source_location` are never read
[INFO] [stdout]   --> src/serialize/node.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub(crate) struct Node {
[INFO] [stdout]    |                   ---- fields in this struct
[INFO] [stdout] 46 |     pub bytes: Vec<u8>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 47 |     pub digest: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 48 |     pub metadata: pb::OpMetadata,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 49 |     pub source_location: Option<SourceLocation>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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: fields `id`, `name`, `exclude`, and `include` are never read
[INFO] [stdout]   --> src/source/image.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Image {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 15 |     id: OperationId,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |     exclude: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     include: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<I, S>(mut self, include: I) -> Self
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn with_exclude<I, S>(mut self, exclude: I) -> Self
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source_map` and `ranges` are never read
[INFO] [stdout]   --> src/sourcemap.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SourceLocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 18 |     source_map: SourceMap,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     ranges: Vec<pb::Range>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filename` and `data` are never read
[INFO] [stdout]   --> src/sourcemap.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct SourceMap {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 24 |     pub filename: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 25 |     pub data: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/state.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | enum ContextKey {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 32 |     /// `llb.exec.args`
[INFO] [stdout] 33 |     Args,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 34 |     /// `llb.exec.dir`
[INFO] [stdout] 35 |     Dir,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     /// `llb.exec.env`
[INFO] [stdout] 37 |     Env,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     /// `llb.exec.extrahost`
[INFO] [stdout] 39 |     ExtraHost,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     /// `llb.exec.hostname`
[INFO] [stdout] 41 |     Hostname,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 42 |     /// `llb.exec.ulimit`
[INFO] [stdout] 43 |     Ulimit,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     /// `llb.exec.cgroup.parent`
[INFO] [stdout] 45 |     CgroupParent,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 46 |     /// `llb.exec.user`
[INFO] [stdout] 47 |     User,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Platform,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 51 |     /// `llb.network`
[INFO] [stdout] 52 |     Network,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 53 |     /// `llb.security`
[INFO] [stdout] 54 |     Security,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.37s
[INFO] running `Command { std: "docker" "inspect" "d2a86be937468dfa3029f8e51498e0388b35f89dce92d35d3ef6a711c2d7bb72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2a86be937468dfa3029f8e51498e0388b35f89dce92d35d3ef6a711c2d7bb72", kill_on_drop: false }`
[INFO] [stdout] d2a86be937468dfa3029f8e51498e0388b35f89dce92d35d3ef6a711c2d7bb72
