[INFO] fetching crate buildkit-rs-llb 0.1.0...
[INFO] testing buildkit-rs-llb-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate buildkit-rs-llb 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate buildkit-rs-llb 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 139 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding axum v0.6.20 (latest: v0.7.5)
[INFO] [stderr]       Adding axum-core v0.3.4 (latest: v0.4.3)
[INFO] [stderr]       Adding base64 v0.13.1 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding fixedbitset v0.4.2 (latest: v0.5.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding heck v0.4.1 (latest: v0.5.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-timeout v0.4.1 (latest: v0.5.1)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding matchit v0.7.3 (latest: v0.8.2)
[INFO] [stderr]       Adding multimap v0.8.3 (latest: v0.10.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding prettyplease v0.1.25 (latest: v0.2.20)
[INFO] [stderr]       Adding prost v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-build v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-derive v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-types v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding tonic v0.8.3 (latest: v0.11.0)
[INFO] [stderr]       Adding tonic-build v0.8.4 (latest: v0.11.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding which v4.4.2 (latest: v6.0.1)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded prost v0.11.9
[INFO] [stderr]   Downloaded tonic-build v0.8.4
[INFO] [stderr]   Downloaded prost-derive v0.11.9
[INFO] [stderr]   Downloaded prost-build v0.11.9
[INFO] [stderr]   Downloaded tonic v0.8.3
[INFO] [stderr]   Downloaded prettyplease v0.1.25
[INFO] [stderr]   Downloaded prost-types v0.11.9
[INFO] [stderr]   Downloaded buildkit-rs-proto v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2504af79e29389ca8e11c1640cc3f4a3fb23c5bdbaf43b9b4064b6a1a983e79
[INFO] running `Command { std: "docker" "start" "-a" "a2504af79e29389ca8e11c1640cc3f4a3fb23c5bdbaf43b9b4064b6a1a983e79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2504af79e29389ca8e11c1640cc3f4a3fb23c5bdbaf43b9b4064b6a1a983e79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2504af79e29389ca8e11c1640cc3f4a3fb23c5bdbaf43b9b4064b6a1a983e79", kill_on_drop: false }`
[INFO] [stdout] a2504af79e29389ca8e11c1640cc3f4a3fb23c5bdbaf43b9b4064b6a1a983e79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf46e93827bff811520a17b6f8014cb5910e22baa9ffa3591852f0cc41a3ecfe
[INFO] running `Command { std: "docker" "start" "-a" "cf46e93827bff811520a17b6f8014cb5910e22baa9ffa3591852f0cc41a3ecfe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling tonic-build v0.8.4
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling buildkit-rs-proto v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.28
[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<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: 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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.61s
[INFO] running `Command { std: "docker" "inspect" "cf46e93827bff811520a17b6f8014cb5910e22baa9ffa3591852f0cc41a3ecfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf46e93827bff811520a17b6f8014cb5910e22baa9ffa3591852f0cc41a3ecfe", kill_on_drop: false }`
[INFO] [stdout] cf46e93827bff811520a17b6f8014cb5910e22baa9ffa3591852f0cc41a3ecfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 308177423d8143aca4fefbb0a8a362abfefde83933a8245412b41bc9bb4869c6
[INFO] running `Command { std: "docker" "start" "-a" "308177423d8143aca4fefbb0a8a362abfefde83933a8245412b41bc9bb4869c6", 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<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: 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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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<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: 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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s
[INFO] running `Command { std: "docker" "inspect" "308177423d8143aca4fefbb0a8a362abfefde83933a8245412b41bc9bb4869c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "308177423d8143aca4fefbb0a8a362abfefde83933a8245412b41bc9bb4869c6", kill_on_drop: false }`
[INFO] [stdout] 308177423d8143aca4fefbb0a8a362abfefde83933a8245412b41bc9bb4869c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 18885272f0c35259348c0b73af9b27676c2ab0a9208885f26b985f5300d4f375
[INFO] running `Command { std: "docker" "start" "-a" "18885272f0c35259348c0b73af9b27676c2ab0a9208885f26b985f5300d4f375", 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<Node> {
[INFO] [stderr]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` 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)]` 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<P: AsRef<Path>> {
[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<u8> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     fn from_definition(x: &pb::Definition) -> Self {
[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: field `inner` is never read
[INFO] [stderr]   --> src/serialize/node.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Context {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] 18 |     inner: BTreeMap<u64, Node>,
[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<Item = Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `bytes`, `digest`, `metadata`, and `source_location` are never read
[INFO] [stderr]   --> src/serialize/node.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub(crate) struct Node {
[INFO] [stderr]    |                   ---- fields in this struct
[INFO] [stderr] 46 |     pub bytes: Vec<u8>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 47 |     pub digest: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 48 |     pub metadata: pb::OpMetadata,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 49 |     pub source_location: Option<SourceLocation>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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: fields `id`, `name`, `exclude`, and `include` are never read
[INFO] [stderr]   --> src/source/image.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Image {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 15 |     id: OperationId,
[INFO] [stderr]    |     ^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 19 |
[INFO] [stderr] 20 |     exclude: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 21 |     include: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<I, S>(mut self, include: I) -> Self
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub fn with_exclude<I, S>(mut self, exclude: I) -> Self
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `source_map` and `ranges` are never read
[INFO] [stderr]   --> src/sourcemap.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct SourceLocation {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 18 |     source_map: SourceMap,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 19 |     ranges: Vec<pb::Range>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SourceLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `filename` and `data` are never read
[INFO] [stderr]   --> src/sourcemap.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 23 | struct SourceMap {
[INFO] [stderr]    |        --------- fields in this struct
[INFO] [stderr] 24 |     pub filename: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 25 |     pub data: Vec<u8>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SourceMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<Box<State>>,
[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<Item = &Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub(crate) fn into_registered_nodes(self) -> impl Iterator<Item = Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `buildkit-rs-llb` (lib) generated 22 warnings
[INFO] [stderr] warning: `buildkit-rs-llb` (lib test) generated 22 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/buildkit_rs_llb-7a71ee80a138453c)
[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] [stderr]    Doc-tests buildkit_rs_llb
[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" "18885272f0c35259348c0b73af9b27676c2ab0a9208885f26b985f5300d4f375", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18885272f0c35259348c0b73af9b27676c2ab0a9208885f26b985f5300d4f375", kill_on_drop: false }`
[INFO] [stdout] 18885272f0c35259348c0b73af9b27676c2ab0a9208885f26b985f5300d4f375
[INFO] testing buildkit-rs-llb-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate buildkit-rs-llb 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate buildkit-rs-llb 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 139 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding axum v0.6.20 (latest: v0.7.5)
[INFO] [stderr]       Adding axum-core v0.3.4 (latest: v0.4.3)
[INFO] [stderr]       Adding base64 v0.13.1 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding fixedbitset v0.4.2 (latest: v0.5.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding h2 v0.3.26 (latest: v0.4.5)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding heck v0.4.1 (latest: v0.5.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding hyper-timeout v0.4.1 (latest: v0.5.1)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding matchit v0.7.3 (latest: v0.8.2)
[INFO] [stderr]       Adding multimap v0.8.3 (latest: v0.10.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding prettyplease v0.1.25 (latest: v0.2.20)
[INFO] [stderr]       Adding prost v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-build v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-derive v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding prost-types v0.11.9 (latest: v0.12.6)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding tonic v0.8.3 (latest: v0.11.0)
[INFO] [stderr]       Adding tonic-build v0.8.4 (latest: v0.11.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding which v4.4.2 (latest: v6.0.1)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1da1df0bc94b364f23c7e9d90d045f294cc83a3f4a415346318fb300d916661e
[INFO] running `Command { std: "docker" "start" "-a" "1da1df0bc94b364f23c7e9d90d045f294cc83a3f4a415346318fb300d916661e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1da1df0bc94b364f23c7e9d90d045f294cc83a3f4a415346318fb300d916661e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1da1df0bc94b364f23c7e9d90d045f294cc83a3f4a415346318fb300d916661e", kill_on_drop: false }`
[INFO] [stdout] 1da1df0bc94b364f23c7e9d90d045f294cc83a3f4a415346318fb300d916661e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4eadbd9158a96215fcf72cd5fb63f9e5c6369d15147c44fb2b00e8dc9641fc9
[INFO] running `Command { std: "docker" "start" "-a" "c4eadbd9158a96215fcf72cd5fb63f9e5c6369d15147c44fb2b00e8dc9641fc9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tonic-build v0.8.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling buildkit-rs-proto v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.28
[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<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: 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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.48s
[INFO] running `Command { std: "docker" "inspect" "c4eadbd9158a96215fcf72cd5fb63f9e5c6369d15147c44fb2b00e8dc9641fc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4eadbd9158a96215fcf72cd5fb63f9e5c6369d15147c44fb2b00e8dc9641fc9", kill_on_drop: false }`
[INFO] [stdout] c4eadbd9158a96215fcf72cd5fb63f9e5c6369d15147c44fb2b00e8dc9641fc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a86af14c3dcd9ec709588ffe19277327b087fb2a4b32615f2dff56d09c2e3dc8
[INFO] running `Command { std: "docker" "start" "-a" "a86af14c3dcd9ec709588ffe19277327b087fb2a4b32615f2dff56d09c2e3dc8", 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<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: 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] [stderr]    Compiling buildkit-rs-llb v0.1.0 (/opt/rustwide/workdir)
[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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[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: 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: 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<Box<State>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "a86af14c3dcd9ec709588ffe19277327b087fb2a4b32615f2dff56d09c2e3dc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a86af14c3dcd9ec709588ffe19277327b087fb2a4b32615f2dff56d09c2e3dc8", kill_on_drop: false }`
[INFO] [stdout] a86af14c3dcd9ec709588ffe19277327b087fb2a4b32615f2dff56d09c2e3dc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c6724cd915a899ad23d6a9f65761300a22bbe35d1b8652187334478ccbdff019
[INFO] running `Command { std: "docker" "start" "-a" "c6724cd915a899ad23d6a9f65761300a22bbe35d1b8652187334478ccbdff019", 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<Node> {
[INFO] [stderr]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_cx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` 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)]` 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<P: AsRef<Path>> {
[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<u8> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     fn from_definition(x: &pb::Definition) -> Self {
[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: field `inner` is never read
[INFO] [stderr]   --> src/serialize/node.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Context {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] 18 |     inner: BTreeMap<u64, Node>,
[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<Item = Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `bytes`, `digest`, `metadata`, and `source_location` are never read
[INFO] [stderr]   --> src/serialize/node.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub(crate) struct Node {
[INFO] [stderr]    |                   ---- fields in this struct
[INFO] [stderr] 46 |     pub bytes: Vec<u8>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 47 |     pub digest: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 48 |     pub metadata: pb::OpMetadata,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 49 |     pub source_location: Option<SourceLocation>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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: fields `id`, `name`, `exclude`, and `include` are never read
[INFO] [stderr]   --> src/source/image.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Image {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 15 |     id: OperationId,
[INFO] [stderr]    |     ^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 19 |
[INFO] [stderr] 20 |     exclude: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 21 |     include: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<I, S>(mut self, include: I) -> Self
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub fn with_exclude<I, S>(mut self, exclude: I) -> Self
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `source_map` and `ranges` are never read
[INFO] [stderr]   --> src/sourcemap.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct SourceLocation {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 18 |     source_map: SourceMap,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 19 |     ranges: Vec<pb::Range>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SourceLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `filename` and `data` are never read
[INFO] [stderr]   --> src/sourcemap.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 23 | struct SourceMap {
[INFO] [stderr]    |        --------- fields in this struct
[INFO] [stderr] 24 |     pub filename: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 25 |     pub data: Vec<u8>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SourceMap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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<Box<State>>,
[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<Item = &Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub(crate) fn into_registered_nodes(self) -> impl Iterator<Item = Node> {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `buildkit-rs-llb` (lib) generated 22 warnings
[INFO] [stderr] warning: `buildkit-rs-llb` (lib test) generated 22 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/buildkit_rs_llb-7a71ee80a138453c)
[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] [stderr]    Doc-tests buildkit_rs_llb
[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" "c6724cd915a899ad23d6a9f65761300a22bbe35d1b8652187334478ccbdff019", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6724cd915a899ad23d6a9f65761300a22bbe35d1b8652187334478ccbdff019", kill_on_drop: false }`
[INFO] [stdout] c6724cd915a899ad23d6a9f65761300a22bbe35d1b8652187334478ccbdff019
