[INFO] fetching crate dilib 0.2.1... [INFO] testing dilib-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate dilib 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate dilib 0.2.1 [INFO] finished tweaking crates.io crate dilib 0.2.1 [INFO] tweaked toml for crates.io crate dilib 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dilib 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dc9f57fdbf2d45073d860a0dba2e9d83af110b8697cba442fd8daad8f57e80f [INFO] running `Command { std: "docker" "start" "-a" "1dc9f57fdbf2d45073d860a0dba2e9d83af110b8697cba442fd8daad8f57e80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dc9f57fdbf2d45073d860a0dba2e9d83af110b8697cba442fd8daad8f57e80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc9f57fdbf2d45073d860a0dba2e9d83af110b8697cba442fd8daad8f57e80f", kill_on_drop: false }` [INFO] [stdout] 1dc9f57fdbf2d45073d860a0dba2e9d83af110b8697cba442fd8daad8f57e80f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4944f27739dc323f634636699fa7eb10ddbd5bd05e9fa76713a61a95fb1ddcde [INFO] running `Command { std: "docker" "start" "-a" "4944f27739dc323f634636699fa7eb10ddbd5bd05e9fa76713a61a95fb1ddcde", kill_on_drop: false }` [INFO] [stderr] Compiling dilib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lib_macros::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use lib_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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/container.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider> [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider> [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] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider> [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] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn add_deps(&mut self) -> Result<(), Provider> [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] 106 | pub fn add_deps(&mut self) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider> [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] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider> [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] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option { [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] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider> [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] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 290 | ) -> Result<(), Provider> [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] 290 | ) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 337 | ) -> Result<(), Provider> { [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] 337 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 347 | ) -> Result<(), Provider> { [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] 347 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "4944f27739dc323f634636699fa7eb10ddbd5bd05e9fa76713a61a95fb1ddcde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4944f27739dc323f634636699fa7eb10ddbd5bd05e9fa76713a61a95fb1ddcde", kill_on_drop: false }` [INFO] [stdout] 4944f27739dc323f634636699fa7eb10ddbd5bd05e9fa76713a61a95fb1ddcde [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4fb5ac2e01c633d7bb7491d78c1158ec41e5bee003ee3da93a905f5a8a4717 [INFO] running `Command { std: "docker" "start" "-a" "2a4fb5ac2e01c633d7bb7491d78c1158ec41e5bee003ee3da93a905f5a8a4717", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling dilib v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stdout] warning: unused import: `lib_macros::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use lib_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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/container.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider> [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider> [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] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider> [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] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn add_deps(&mut self) -> Result<(), Provider> [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] 106 | pub fn add_deps(&mut self) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider> [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] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider> [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] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option { [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] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider> [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] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 290 | ) -> Result<(), Provider> [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] 290 | ) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 337 | ) -> Result<(), Provider> { [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] 337 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 347 | ) -> Result<(), Provider> { [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] 347 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling linked_hash_set v0.1.6 [INFO] [stderr] Compiling mattro v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling dilib-macros v0.2.1 [INFO] [stderr] Compiling dilib-derive v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling dilib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib_macros.rs:311:52 [INFO] [stdout] | [INFO] [stdout] 311 | let ret = $container.get::)? + Send + Sync + 'static)>>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | let _r1 = get_resolved_trait!(container, Gen1).unwrap(); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `get_resolved_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib_macros.rs:311:52 [INFO] [stdout] | [INFO] [stdout] 311 | let ret = $container.get::)? + Send + Sync + 'static)>>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | let _r2 = get_resolved_trait!(container, Gen2).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `get_resolved_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib_macros::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use lib_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/lib_macros.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 360 | trait Gen1 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 361 | fn get(&self) -> &T1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/lib_macros.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 364 | trait Gen2 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 365 | fn get(&self) -> (&T1, &T2); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/lib_macros.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 368 | trait Gen3 { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 369 | fn get(&self) -> (&T1, &T2, &T3); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider> [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider> [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] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider> [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] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn add_deps(&mut self) -> Result<(), Provider> [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] 106 | pub fn add_deps(&mut self) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider> [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] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider> [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] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option { [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] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider> [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] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 290 | ) -> Result<(), Provider> [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] 290 | ) -> Result<(), Provider<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 337 | ) -> Result<(), Provider> { [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] 337 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/container.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 347 | ) -> Result<(), Provider> { [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] 347 | ) -> Result<(), Provider<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.67s [INFO] running `Command { std: "docker" "inspect" "2a4fb5ac2e01c633d7bb7491d78c1158ec41e5bee003ee3da93a905f5a8a4717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4fb5ac2e01c633d7bb7491d78c1158ec41e5bee003ee3da93a905f5a8a4717", kill_on_drop: false }` [INFO] [stdout] 2a4fb5ac2e01c633d7bb7491d78c1158ec41e5bee003ee3da93a905f5a8a4717 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2883bf1de6c46af18f7eef7c1fff5f74eeb5524cc8b10390b5e4d7b51dd67d18 [INFO] running `Command { std: "docker" "start" "-a" "2883bf1de6c46af18f7eef7c1fff5f74eeb5524cc8b10390b5e4d7b51dd67d18", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `lib_macros::*` [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use lib_macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:32:29 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider> [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | pub fn add_scoped(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:46:39 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 46 | pub fn add_scoped_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider> [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] 60 | pub fn add_singleton(&mut self, value: T) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:73:39 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider> [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] 73 | pub fn add_singleton_with_name(&mut self, name: &str, value: T) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:106:24 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn add_deps(&mut self) -> Result<(), Provider> [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] 106 | pub fn add_deps(&mut self) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:119:34 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider> [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] 119 | pub fn add_deps_with_name(&mut self, name: &str) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:132:30 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider> [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] 132 | pub fn add_deps_fn(&mut self, f: F) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:146:40 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider> [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] 146 | pub fn add_deps_fn_with_name(&mut self, name: &str, f: F) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:242:19 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option { [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] 242 | pub fn remove(&mut self, key: InjectionKey<'a>) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:266:22 [INFO] [stderr] | [INFO] [stderr] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider> { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 266 | pub fn providers(&self) -> Values<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:272:17 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider> { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 272 | pub fn iter(&self) -> Iter<'_, InjectionKey<'a>, Provider<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:278:31 [INFO] [stderr] | [INFO] [stderr] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider> [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] 278 | fn add_scoped_internal(&mut self, scoped: Scoped, name: Option<&str>) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:287:9 [INFO] [stderr] | [INFO] [stderr] 287 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 290 | ) -> Result<(), Provider> [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] 290 | ) -> Result<(), Provider<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 337 | ) -> Result<(), Provider> { [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] 337 | ) -> Result<(), Provider<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/container.rs:344:9 [INFO] [stderr] | [INFO] [stderr] 344 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 347 | ) -> Result<(), Provider> { [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] 347 | ) -> Result<(), Provider<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dilib` (lib) generated 16 warnings (run `cargo fix --lib -p dilib` to apply 16 suggestions) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib_macros.rs:311:52 [INFO] [stderr] | [INFO] [stderr] 311 | let ret = $container.get::)? + Send + Sync + 'static)>>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | let _r1 = get_resolved_trait!(container, Gen1).unwrap(); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `get_resolved_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib_macros.rs:311:52 [INFO] [stderr] | [INFO] [stderr] 311 | let ret = $container.get::)? + Send + Sync + 'static)>>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 357 | let _r2 = get_resolved_trait!(container, Gen2).unwrap(); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `get_resolved_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/lib_macros.rs:361:12 [INFO] [stderr] | [INFO] [stderr] 360 | trait Gen1 { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 361 | fn get(&self) -> &T1; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/lib_macros.rs:365:12 [INFO] [stderr] | [INFO] [stderr] 364 | trait Gen2 { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 365 | fn get(&self) -> (&T1, &T2); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/lib_macros.rs:369:12 [INFO] [stderr] | [INFO] [stderr] 368 | trait Gen3 { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 369 | fn get(&self) -> (&T1, &T2, &T3); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `dilib` (lib test) generated 21 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dilib-52858731d8d2af4b) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test container::tests::clear_test ... ok [INFO] [stdout] test container::tests::contains_test ... ok [INFO] [stdout] test container::tests::deps_with_name_test ... ok [INFO] [stdout] test container::tests::get_all_test ... ok [INFO] [stdout] test container::tests::deps_test ... ok [INFO] [stdout] test container::tests::get_with_name_test ... ok [INFO] [stdout] test container::tests::get_test ... ok [INFO] [stdout] test container::tests::iter_test ... ok [INFO] [stdout] test container::tests::scoped_with_name_test ... ok [INFO] [stdout] test container::tests::providers_test ... ok [INFO] [stdout] test container::tests::scoped_test ... ok [INFO] [stdout] test container::tests::singleton_test ... ok [INFO] [stdout] test container::tests::remove_test ... ok [INFO] [stdout] test container::tests::singleton_with_name_test ... ok [INFO] [stdout] test key::tests::new_test ... ok [INFO] [stdout] test key::tests::of_test ... ok [INFO] [stdout] test lib_macros::tests::compile_get_resolved_trait ... ok [INFO] [stdout] test lib_macros::tests::compile_get_scoped_trait_test_1 ... ok [INFO] [stdout] test lib_macros::tests::compile_get_scoped_trait_test_2 ... ok [INFO] [stdout] test lib_macros::tests::compile_get_scoped_trait_test_3 ... ok [INFO] [stdout] test scoped::tests::call_construct_test ... ok [INFO] [stdout] test scoped::tests::call_factory_test ... ok [INFO] [stderr] Doc-tests dilib [INFO] [stdout] test key::tests::with_name_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] test src/lib.rs - (line 355) ... FAILED [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 322) ... FAILED [INFO] [stdout] test src/container.rs - container::_dummy (line 357) ... FAILED [INFO] [stdout] test src/injectable.rs - injectable::Inject (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - (line 133) ... FAILED [INFO] [stdout] test src/lib.rs - (line 290) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_scoped_trait (line 18) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_scoped_trait (line 43) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_singleton_trait (line 175) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_singleton_trait (line 201) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 96) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 110) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 355) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 194) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 322) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | init_container(|container| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 327 | container.add_scoped(|| String::from("Orange")).unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 326 | init_container(|container: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0464. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/container.rs - container::_dummy (line 357) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/container.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/injectable.rs - injectable::Inject (line 6) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/injectable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 133) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 290) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inject` in this scope [INFO] [stdout] --> src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | #[inject(name="apple")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `inject` is an attribute that can be used by the derive macro `Inject`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inject` in this scope [INFO] [stdout] --> src/lib.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | #[inject(name="apple_price")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `inject` is an attribute that can be used by the derive macro `Inject`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0464`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib_macros.rs - lib_macros::add_scoped_trait (line 18) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib_macros.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | add_scoped_trait!(container, Greet => EnglishGreeting).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let greeting = get_scoped_trait!(container, Greet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Container` [INFO] [stdout] --> src/lib_macros.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let mut container = Container::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Container` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0464. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib_macros.rs - lib_macros::add_scoped_trait (line 43) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib_macros.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | add_scoped_trait!(container, "hello", Greet => Hello).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | add_scoped_trait!(container, "bye", Greet => { Bye }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let hello = get_scoped_trait!(container, Greet, "hello").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_scoped_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | let bye = get_scoped_trait!(container, Greet, "bye").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Container` [INFO] [stdout] --> src/lib_macros.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | let mut container = Container::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Container` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0464. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib_macros.rs - lib_macros::add_singleton_trait (line 175) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib_macros.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | add_singleton_trait!(container, Greet => HelloWorld).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let greet = get_singleton_trait!(container, Greet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Container` [INFO] [stdout] --> src/lib_macros.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let mut container = Container::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Container` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0464. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib_macros.rs - lib_macros::add_singleton_trait (line 201) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib_macros.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-d8f0805d285dbac5.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | add_singleton_trait!(container, "sum", BinaryOp => Sum).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `add_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | add_singleton_trait!(container, "prod", BinaryOp => Prod).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | let sum = get_singleton_trait!(container, BinaryOp, "sum").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_singleton_trait` in this scope [INFO] [stdout] --> src/lib_macros.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | let prod = get_singleton_trait!(container, BinaryOp, "prod").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Container` [INFO] [stdout] --> src/lib_macros.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | let mut container = Container::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Container` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0464. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/container.rs - container::_dummy (line 357) [INFO] [stdout] src/injectable.rs - injectable::Inject (line 6) [INFO] [stdout] src/lib.rs - (line 110) [INFO] [stdout] src/lib.rs - (line 133) [INFO] [stdout] src/lib.rs - (line 194) [INFO] [stdout] src/lib.rs - (line 290) [INFO] [stdout] src/lib.rs - (line 322) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 355) [INFO] [stdout] src/lib.rs - (line 96) [INFO] [stdout] src/lib_macros.rs - lib_macros::add_scoped_trait (line 18) [INFO] [stdout] src/lib_macros.rs - lib_macros::add_scoped_trait (line 43) [INFO] [stdout] src/lib_macros.rs - lib_macros::add_singleton_trait (line 175) [INFO] [stdout] src/lib_macros.rs - lib_macros::add_singleton_trait (line 201) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2883bf1de6c46af18f7eef7c1fff5f74eeb5524cc8b10390b5e4d7b51dd67d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2883bf1de6c46af18f7eef7c1fff5f74eeb5524cc8b10390b5e4d7b51dd67d18", kill_on_drop: false }` [INFO] [stdout] 2883bf1de6c46af18f7eef7c1fff5f74eeb5524cc8b10390b5e4d7b51dd67d18