[INFO] fetching crate goods 0.12.1... [INFO] testing goods-0.12.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate goods 0.12.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate goods 0.12.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b96c5214a8e041edfa29e6f7e23363b6db3d61bbe99c5f31d7f278d6ed7d013e [INFO] running `Command { std: "docker" "start" "-a" "b96c5214a8e041edfa29e6f7e23363b6db3d61bbe99c5f31d7f278d6ed7d013e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b96c5214a8e041edfa29e6f7e23363b6db3d61bbe99c5f31d7f278d6ed7d013e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96c5214a8e041edfa29e6f7e23363b6db3d61bbe99c5f31d7f278d6ed7d013e", kill_on_drop: false }` [INFO] [stdout] b96c5214a8e041edfa29e6f7e23363b6db3d61bbe99c5f31d7f278d6ed7d013e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b10669fd685084f65dcf4c8bfff84cbead62ce6ce540d71c459ec3107f7135d8 [INFO] running `Command { std: "docker" "start" "-a" "b10669fd685084f65dcf4c8bfff84cbead62ce6ce540d71c459ec3107f7135d8", 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] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [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] Compiling tracing v0.1.26 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.42s [INFO] running `Command { std: "docker" "inspect" "b10669fd685084f65dcf4c8bfff84cbead62ce6ce540d71c459ec3107f7135d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10669fd685084f65dcf4c8bfff84cbead62ce6ce540d71c459ec3107f7135d8", kill_on_drop: false }` [INFO] [stdout] b10669fd685084f65dcf4c8bfff84cbead62ce6ce540d71c459ec3107f7135d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88182efe2be5629cada03a131e1546bf00745c82bf1be84c6f3644c174d9c5c4 [INFO] running `Command { std: "docker" "start" "-a" "88182efe2be5629cada03a131e1546bf00745c82bf1be84c6f3644c174d9c5c4", kill_on_drop: false }` [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] [stderr] Compiling goods v0.12.1 (/opt/rustwide/workdir) [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: 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: 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] 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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.32s [INFO] running `Command { std: "docker" "inspect" "88182efe2be5629cada03a131e1546bf00745c82bf1be84c6f3644c174d9c5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88182efe2be5629cada03a131e1546bf00745c82bf1be84c6f3644c174d9c5c4", kill_on_drop: false }` [INFO] [stdout] 88182efe2be5629cada03a131e1546bf00745c82bf1be84c6f3644c174d9c5c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d3c669443422f29abc6a9db7f4cc2021befc73f8144d466c5163d11e7f191c1 [INFO] running `Command { std: "docker" "start" "-a" "8d3c669443422f29abc6a9db7f4cc2021befc73f8144d466c5163d11e7f191c1", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:672:51 [INFO] [stderr] | [INFO] [stderr] 672 | let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 672 - let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 672 + let path_shard = &self.path_cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:717:57 [INFO] [stderr] | [INFO] [stderr] 717 | ... let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 717 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 717 + let shard = &self.cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:778:41 [INFO] [stderr] | [INFO] [stderr] 778 | let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 778 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 778 + let shard = &self.cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `update` is never used [INFO] [stderr] --> src/loader.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 111 | trait AnySource: Send + Sync + 'static { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:114:15 [INFO] [stderr] | [INFO] [stderr] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loader.rs:131:15 [INFO] [stderr] | [INFO] [stderr] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture, Error>> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | ) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `goods` (lib) generated 13 warnings (run `cargo fix --lib -p goods` to apply 12 suggestions) [INFO] [stderr] warning: `goods` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> examples/proc.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct SimpleAsset { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 18 | field: SimpleFieldType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `a` is never read [INFO] [stderr] --> examples/proc.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct TwoLevelAsset { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 24 | #[asset(external)] [INFO] [stderr] 25 | a: SimpleAsset, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `TwoLevelAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `a` is never read [INFO] [stderr] --> examples/proc.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Container { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 30 | #[asset(external)] [INFO] [stderr] 31 | a: UnitAsset, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Container` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `c` and `a` are never read [INFO] [stderr] --> examples/proc.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct ComplexAsset { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 37 | #[asset(container)] [INFO] [stderr] 38 | c: Container, [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 41 | a: SimpleAsset, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `ComplexAsset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `a` is never read [INFO] [stderr] --> examples/proc.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 58 | pub struct AssetWithWrapper { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 59 | #[asset(external(as WrapperAsset))] [INFO] [stderr] 60 | a: u32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `AssetWithWrapper` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `a` is never read [INFO] [stderr] --> examples/proc.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct AssetWithSerdeAttribute { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 67 | #[serde(default = "default_a")] [INFO] [stderr] 68 | a: u32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `AssetWithSerdeAttribute` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `foo` is never read [INFO] [stderr] --> examples/proc.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 77 | pub struct AssetWithOption { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 80 | foo: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AssetWithOption` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/proc.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/proc.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | fn load(&self, id: AssetId) -> BoxFuture, Infallible>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/proc.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 111 | ) -> BoxFuture, Infallible>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 111 | ) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `goods` (example "proc") generated 10 warnings (run `cargo fix --example "proc"` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/goods-8f285544d69bd475) [INFO] [stdout] [INFO] [stderr] Doc-tests goods [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] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:672:51 [INFO] [stderr] | [INFO] [stderr] 672 | let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 672 - let path_shard = &self.path_cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 672 + let path_shard = &self.path_cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:717:57 [INFO] [stderr] | [INFO] [stderr] 717 | ... let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 717 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 717 + let shard = &self.cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/loader.rs:778:41 [INFO] [stderr] | [INFO] [stderr] 778 | let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 778 - let shard = &self.cache[(key_hash as usize % shards_len)]; [INFO] [stderr] 778 + let shard = &self.cache[key_hash as usize % shards_len]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d3c669443422f29abc6a9db7f4cc2021befc73f8144d466c5163d11e7f191c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3c669443422f29abc6a9db7f4cc2021befc73f8144d466c5163d11e7f191c1", kill_on_drop: false }` [INFO] [stdout] 8d3c669443422f29abc6a9db7f4cc2021befc73f8144d466c5163d11e7f191c1