[INFO] cloning repository https://github.com/T0mstone/tlib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/T0mstone/tlib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT0mstone%2Ftlib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT0mstone%2Ftlib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 048f9005b8512f79a615b2bfdce98ed8993dc7d5 [INFO] checking T0mstone/tlib against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT0mstone%2Ftlib" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/T0mstone/tlib [INFO] finished tweaking git repo https://github.com/T0mstone/tlib [INFO] tweaked toml for git repo https://github.com/T0mstone/tlib written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/T0mstone/tlib on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/T0mstone/tlib already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfd483bee2e2c5b00d61fccbd00e911340c46626541af14d5353c1d86ea915c3 [INFO] running `Command { std: "docker" "start" "-a" "dfd483bee2e2c5b00d61fccbd00e911340c46626541af14d5353c1d86ea915c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfd483bee2e2c5b00d61fccbd00e911340c46626541af14d5353c1d86ea915c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd483bee2e2c5b00d61fccbd00e911340c46626541af14d5353c1d86ea915c3", kill_on_drop: false }` [INFO] [stdout] dfd483bee2e2c5b00d61fccbd00e911340c46626541af14d5353c1d86ea915c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d65bb9805b0d399c634dd9079dbca34e65e7f24959f5fce6a540c54539fda7 [INFO] running `Command { std: "docker" "start" "-a" "12d65bb9805b0d399c634dd9079dbca34e65e7f24959f5fce6a540c54539fda7", kill_on_drop: false }` [INFO] [stderr] Compiling tlib v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `profile` [INFO] [stdout] --> src/cargo_tools.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(profile = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(profile, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(profile, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `profile` [INFO] [stdout] --> src/cargo_tools.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(profile = "release")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(profile, values("release"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(profile, values(\"release\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn init(&mut self, t: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn to_option(&self) -> Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn into_option(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn expect(self, msg: &str) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn as_ref(&self) -> Singleton<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn as_mut(&mut self) -> Singleton<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn map U, U>(self, f: F) -> Singleton { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn map_in_place T>(&mut self, mut f: F) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cloned(&self) -> Singleton { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn copied(&self) -> Singleton { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cargo_tools.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn version(&self) -> CargoPackageVersion { [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] 143 | pub fn version(&self) -> CargoPackageVersion<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlib` (lib) due to 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `profile` [INFO] [stdout] --> src/cargo_tools.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(profile = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(profile, values("debug"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(profile, values(\"debug\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `profile` [INFO] [stdout] --> src/cargo_tools.rs:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(profile = "release")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(profile, values("release"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(profile, values(\"release\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn init(&mut self, t: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn to_option(&self) -> Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn into_option(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn expect(self, msg: &str) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn as_ref(&self) -> Singleton<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn as_mut(&mut self) -> Singleton<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn map U, U>(self, f: F) -> Singleton { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn map_in_place T>(&mut self, mut f: F) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cloned(&self) -> Singleton { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/singleton.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Deref for Singleton { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 31 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn copied(&self) -> Singleton { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:155:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/core/src/ops/deref.rs:156:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cargo_tools.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn version(&self) -> CargoPackageVersion { [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] 143 | pub fn version(&self) -> CargoPackageVersion<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tlib` (lib test) due to 14 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "12d65bb9805b0d399c634dd9079dbca34e65e7f24959f5fce6a540c54539fda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d65bb9805b0d399c634dd9079dbca34e65e7f24959f5fce6a540c54539fda7", kill_on_drop: false }` [INFO] [stdout] 12d65bb9805b0d399c634dd9079dbca34e65e7f24959f5fce6a540c54539fda7