[INFO] fetching crate dilib 0.2.1... [INFO] testing dilib-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dilib 0.2.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dilib 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 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.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d71ac73e06ce21d71bfee25adcad4f23488de2729f751ae6c731ad33f5e9851 [INFO] running `Command { std: "docker" "start" "-a" "3d71ac73e06ce21d71bfee25adcad4f23488de2729f751ae6c731ad33f5e9851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d71ac73e06ce21d71bfee25adcad4f23488de2729f751ae6c731ad33f5e9851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d71ac73e06ce21d71bfee25adcad4f23488de2729f751ae6c731ad33f5e9851", kill_on_drop: false }` [INFO] [stdout] 3d71ac73e06ce21d71bfee25adcad4f23488de2729f751ae6c731ad33f5e9851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45fde7fbf1a5a440b8c2d785bf3245803fe082cef63120f156fd319f30761a5 [INFO] running `Command { std: "docker" "start" "-a" "d45fde7fbf1a5a440b8c2d785bf3245803fe082cef63120f156fd319f30761a5", 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.75s [INFO] running `Command { std: "docker" "inspect" "d45fde7fbf1a5a440b8c2d785bf3245803fe082cef63120f156fd319f30761a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45fde7fbf1a5a440b8c2d785bf3245803fe082cef63120f156fd319f30761a5", kill_on_drop: false }` [INFO] [stdout] d45fde7fbf1a5a440b8c2d785bf3245803fe082cef63120f156fd319f30761a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcf4502859d2c6628d2ef4420e79b323fc073a0831eaaefe3668f06722dcd533 [INFO] running `Command { std: "docker" "start" "-a" "bcf4502859d2c6628d2ef4420e79b323fc073a0831eaaefe3668f06722dcd533", kill_on_drop: false }` [INFO] [stderr] Compiling linked_hash_set v0.1.5 [INFO] [stderr] Compiling dilib v0.2.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [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 mattro v0.1.2 [INFO] [stderr] Compiling dilib-derive v0.2.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling dilib-macros v0.2.1 [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 3.87s [INFO] running `Command { std: "docker" "inspect" "bcf4502859d2c6628d2ef4420e79b323fc073a0831eaaefe3668f06722dcd533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf4502859d2c6628d2ef4420e79b323fc073a0831eaaefe3668f06722dcd533", kill_on_drop: false }` [INFO] [stdout] bcf4502859d2c6628d2ef4420e79b323fc073a0831eaaefe3668f06722dcd533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6122329e0b95ffb4807bf3cdc61de3df76e00ed4defc38efc19164bae677fbf4 [INFO] running `Command { std: "docker" "start" "-a" "6122329e0b95ffb4807bf3cdc61de3df76e00ed4defc38efc19164bae677fbf4", 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dilib-1c82bcd209074c4b) [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::get_test ... ok [INFO] [stdout] test container::tests::get_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::iter_test ... ok [INFO] [stdout] test container::tests::providers_test ... ok [INFO] [stdout] test container::tests::remove_test ... ok [INFO] [stdout] test container::tests::scoped_test ... ok [INFO] [stdout] test container::tests::scoped_with_name_test ... ok [INFO] [stdout] test container::tests::singleton_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 key::tests::with_name_test ... ok [INFO] [stdout] test lib_macros::tests::compile_get_scoped_trait_test_3 ... ok [INFO] [stdout] test scoped::tests::call_factory_test ... ok [INFO] [stdout] test container::tests::singleton_with_name_test ... 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_1 ... ok [INFO] [stdout] test scoped::tests::call_construct_test ... ok [INFO] [stdout] test container::tests::deps_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] [stderr] Doc-tests dilib [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/container.rs - container::_dummy (line 357) ... FAILED [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - (line 322) ... FAILED [INFO] [stdout] test src/lib.rs - (line 194) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_singleton_trait (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - (line 133) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_singleton_trait (line 201) ... FAILED [INFO] [stdout] test src/lib.rs - (line 355) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_scoped_trait (line 18) ... FAILED [INFO] [stdout] test src/injectable.rs - injectable::Inject (line 6) ... FAILED [INFO] [stdout] test src/lib_macros.rs - lib_macros::add_scoped_trait (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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 96) stdout ---- [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `dilib` found [INFO] [stdout] --> src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.rlib [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `inject` in this scope [INFO] [stdout] --> src/lib.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[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] 13 | #[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.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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_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] 3 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 19 | 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] 21 | 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] 18 | 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.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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_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] 3 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 23 | 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] 24 | 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] 26 | 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] 27 | 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] 22 | 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.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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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_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] 3 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 18 | 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] 20 | 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] 17 | 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/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] 3 | extern crate r#dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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_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] 3 | extern crate dilib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libdilib-9d8472c9b7723ce2.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libdilib-ad5eebe4ba2495eb.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] 26 | 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] 27 | 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] 30 | 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] 31 | 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] 25 | 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.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6122329e0b95ffb4807bf3cdc61de3df76e00ed4defc38efc19164bae677fbf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6122329e0b95ffb4807bf3cdc61de3df76e00ed4defc38efc19164bae677fbf4", kill_on_drop: false }` [INFO] [stdout] 6122329e0b95ffb4807bf3cdc61de3df76e00ed4defc38efc19164bae677fbf4