[INFO] fetching crate goods 0.12.1... [INFO] checking goods-0.12.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate goods 0.12.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate goods 0.12.1 [INFO] finished tweaking crates.io crate goods 0.12.1 [INFO] tweaked toml for crates.io crate goods 0.12.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate goods 0.12.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate goods 0.12.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e6bd7b0d2c1648981ddc6f9e6c17f59e60ec3472d5711d2d4cb934836d04e48 [INFO] running `Command { std: "docker" "start" "-a" "2e6bd7b0d2c1648981ddc6f9e6c17f59e60ec3472d5711d2d4cb934836d04e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e6bd7b0d2c1648981ddc6f9e6c17f59e60ec3472d5711d2d4cb934836d04e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6bd7b0d2c1648981ddc6f9e6c17f59e60ec3472d5711d2d4cb934836d04e48", kill_on_drop: false }` [INFO] [stdout] 2e6bd7b0d2c1648981ddc6f9e6c17f59e60ec3472d5711d2d4cb934836d04e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4bbf5711d4424011110bc6b16867fb9b2e6f8489b3eb8108225fe0af053ff56 [INFO] running `Command { std: "docker" "start" "-a" "e4bbf5711d4424011110bc6b16867fb9b2e6f8489b3eb8108225fe0af053ff56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hashbrown v0.12.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling goods-proc v0.2.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking goods v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:672:51 [INFO] [stdout] | [INFO] [stdout] 672 | let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 672 - let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 672 + let path_shard = &self.path_cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:717:57 [INFO] [stdout] | [INFO] [stdout] 717 | ... let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 717 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 717 + let shard = &self.cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:778:41 [INFO] [stdout] | [INFO] [stdout] 778 | let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 778 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 778 + let shard = &self.cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:672:51 [INFO] [stdout] | [INFO] [stdout] 672 | let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 672 - let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 672 + let path_shard = &self.path_cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:717:57 [INFO] [stdout] | [INFO] [stdout] 717 | ... let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 717 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 717 + let shard = &self.cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/loader.rs:778:41 [INFO] [stdout] | [INFO] [stdout] 778 | let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 778 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stdout] 778 + let shard = &self.cache[key_hash as usize % shards_len ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/loader.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 111 | trait AnySource: Send + Sync + 'static { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | ) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/loader.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 111 | trait AnySource: Send + Sync + 'static { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loader.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | ) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> examples/proc.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SimpleAsset { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | field: SimpleFieldType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> examples/proc.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TwoLevelAsset { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 24 | #[asset(external)] [INFO] [stdout] 25 | a: SimpleAsset, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TwoLevelAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> examples/proc.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 30 | #[asset(external)] [INFO] [stdout] 31 | a: UnitAsset, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Container` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c` and `a` are never read [INFO] [stdout] --> examples/proc.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ComplexAsset { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 37 | #[asset(container)] [INFO] [stdout] 38 | c: Container, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 41 | a: SimpleAsset, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ComplexAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> examples/proc.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct AssetWithWrapper { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 59 | #[asset(external(as WrapperAsset))] [INFO] [stdout] 60 | a: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetWithWrapper` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> examples/proc.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct AssetWithSerdeAttribute { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 67 | #[serde(default = "default_a")] [INFO] [stdout] 68 | a: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetWithSerdeAttribute` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `foo` is never read [INFO] [stdout] --> examples/proc.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct AssetWithOption { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | foo: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetWithOption` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AssetField` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, AssetResult> [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, ContainerDecodeError> [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AssetField` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `AssetField` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, AssetField)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/proc.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Asset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/proc.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/proc.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Asset)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/proc.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/proc.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn load(&self, id: AssetId) -> BoxFuture, Infallible>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | Box::pin(ready(Ok(match self.0.get(&id) { [INFO] [stdout] | ________________________^ [INFO] [stdout] 99 | | Some(data) => Some(AssetData { [INFO] [stdout] 100 | | bytes: data.clone(), [INFO] [stdout] 101 | | version: 0, [INFO] [stdout] 102 | | }), [INFO] [stdout] 103 | | None => None, [INFO] [stdout] 104 | | }))) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/proc.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 111 | ) -> BoxFuture, Infallible>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | ) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/proc.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | Box::pin(ready(Ok(None))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goods` (example "proc") due to 25 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4bbf5711d4424011110bc6b16867fb9b2e6f8489b3eb8108225fe0af053ff56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bbf5711d4424011110bc6b16867fb9b2e6f8489b3eb8108225fe0af053ff56", kill_on_drop: false }` [INFO] [stdout] e4bbf5711d4424011110bc6b16867fb9b2e6f8489b3eb8108225fe0af053ff56