[INFO] fetching crate goods 0.12.1... [INFO] testing goods-0.12.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate goods 0.12.1 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate goods 0.12.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded treasury-client v0.1.0 [INFO] [stderr] Downloaded goods-proc v0.2.0 [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded treasury-api v0.1.0 [INFO] [stderr] Downloaded treasury-id v0.1.0 [INFO] [stderr] Downloaded hashbrown v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24de290d0ab8656ab85a5dd59eaa7fa368616899b69e0037859f707de1b6164a [INFO] running `Command { std: "docker" "start" "-a" "24de290d0ab8656ab85a5dd59eaa7fa368616899b69e0037859f707de1b6164a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24de290d0ab8656ab85a5dd59eaa7fa368616899b69e0037859f707de1b6164a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24de290d0ab8656ab85a5dd59eaa7fa368616899b69e0037859f707de1b6164a", kill_on_drop: false }` [INFO] [stdout] 24de290d0ab8656ab85a5dd59eaa7fa368616899b69e0037859f707de1b6164a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0810300df5e8710fa5b4211e1444d2260a6f08f8375e25660e41f0c5431dbfb2 [INFO] running `Command { std: "docker" "start" "-a" "0810300df5e8710fa5b4211e1444d2260a6f08f8375e25660e41f0c5431dbfb2", 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 futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling ahash v0.7.4 [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 futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 thiserror v1.0.29 [INFO] [stderr] Compiling tracing v0.1.26 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 35.80s [INFO] running `Command { std: "docker" "inspect" "0810300df5e8710fa5b4211e1444d2260a6f08f8375e25660e41f0c5431dbfb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0810300df5e8710fa5b4211e1444d2260a6f08f8375e25660e41f0c5431dbfb2", kill_on_drop: false }` [INFO] [stdout] 0810300df5e8710fa5b4211e1444d2260a6f08f8375e25660e41f0c5431dbfb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c7c8f4af5ce2558202dc885b1887bddbf7ded098fa2db4529f7d7346b3c1847d [INFO] running `Command { std: "docker" "start" "-a" "c7c8f4af5ce2558202dc885b1887bddbf7ded098fa2db4529f7d7346b3c1847d", kill_on_drop: false }` [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> examples/proc.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn load(&self, id: AssetId) -> BoxFuture, Infallible>> { [INFO] [stdout] | ^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> examples/proc.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 111 | ) -> BoxFuture, Infallible>> { [INFO] [stdout] | ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | ) -> BoxFuture<'_, Result, Infallible>> { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stdout] | ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | ) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "c7c8f4af5ce2558202dc885b1887bddbf7ded098fa2db4529f7d7346b3c1847d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c8f4af5ce2558202dc885b1887bddbf7ded098fa2db4529f7d7346b3c1847d", kill_on_drop: false }` [INFO] [stdout] c7c8f4af5ce2558202dc885b1887bddbf7ded098fa2db4529f7d7346b3c1847d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d26dafd25e0f721349fd846bdeeab1858dd8af1e1cbee178efda5bba6f405051 [INFO] running `Command { std: "docker" "start" "-a" "d26dafd25e0f721349fd846bdeeab1858dd8af1e1cbee178efda5bba6f405051", 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 112 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/loader.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | fn load(&self, id: AssetId) -> BoxFuture, Error>>; [INFO] [stderr] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 113 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 114 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 121 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/loader.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | fn load(&self, id: AssetId) -> BoxFuture, Error>> { [INFO] [stderr] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 126 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 131 | fn update(&self, id: AssetId, version: u64) -> BoxFuture<'_, Result, Error>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | fn find(&self, path: &str, asset: &str) -> BoxFuture<'_, Option>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/source.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | fn load(&self, id: AssetId) -> BoxFuture, Self::Error>>; [INFO] [stderr] | ^^^^^ ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Self::Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/source.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 41 | ) -> BoxFuture, Self::Error>>; [INFO] [stderr] | ------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | fn find(&self, path: &str, _asset: &str) -> BoxFuture<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> examples/proc.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | fn load(&self, id: AssetId) -> BoxFuture, Infallible>> { [INFO] [stderr] | ^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 97 | fn load(&self, id: AssetId) -> BoxFuture<'_, Result, Infallible>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> examples/proc.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 111 | ) -> BoxFuture, Infallible>> { [INFO] [stderr] | ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] warning: `goods` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/goods-a401f460cbbc9736) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d26dafd25e0f721349fd846bdeeab1858dd8af1e1cbee178efda5bba6f405051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26dafd25e0f721349fd846bdeeab1858dd8af1e1cbee178efda5bba6f405051", kill_on_drop: false }` [INFO] [stdout] d26dafd25e0f721349fd846bdeeab1858dd8af1e1cbee178efda5bba6f405051