[INFO] fetching crate ointer 3.0.12... [INFO] checking ointer-3.0.12 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate ointer 3.0.12 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ointer 3.0.12 [INFO] finished tweaking crates.io crate ointer 3.0.12 [INFO] tweaked toml for crates.io crate ointer 3.0.12 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ointer 3.0.12 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 038c3e071704eec929aa76f3c50dffe91be36bb9d6afdf0de14664dcb226398f [INFO] running `Command { std: "docker" "start" "-a" "038c3e071704eec929aa76f3c50dffe91be36bb9d6afdf0de14664dcb226398f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "038c3e071704eec929aa76f3c50dffe91be36bb9d6afdf0de14664dcb226398f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "038c3e071704eec929aa76f3c50dffe91be36bb9d6afdf0de14664dcb226398f", kill_on_drop: false }` [INFO] [stdout] 038c3e071704eec929aa76f3c50dffe91be36bb9d6afdf0de14664dcb226398f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3221df8624707859d4d12b886198b59a557333d6a056762519d024771fb75bd5 [INFO] running `Command { std: "docker" "start" "-a" "3221df8624707859d4d12b886198b59a557333d6a056762519d024771fb75bd5", kill_on_drop: false }` [INFO] [stderr] Checking ointer v3.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/ointer.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | if cfg!(target_pointer_width = "128") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [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: unused import: `define_enum_ointers` [INFO] [stdout] --> src/ointer.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | pub use define_enum_ointers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/ointer.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | if cfg!(target_pointer_width = "128") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [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: unused import: `define_enum_ointers` [INFO] [stdout] --> src/ointer.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | pub use define_enum_ointers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_ointer` and `as_ointer_mut` are never used [INFO] [stdout] --> src/ointer.rs:518:31 [INFO] [stdout] | [INFO] [stdout] 489 | / impl $name { [INFO] [stdout] 490 | | #[inline(always)] [INFO] [stdout] 491 | | pub fn new(u: usize, p: P) -> Self { [INFO] [stdout] 492 | | use core::any::TypeId; [INFO] [stdout] ... | [INFO] [stdout] 518 | | pub unsafe fn as_ointer + 'static>(&self) -> &P { [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 522 | | pub unsafe fn as_ointer_mut + 'static>(&mut self) -> &mut P { [INFO] [stdout] | | ^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 575 | | } [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | / define_enum_ointers!( [INFO] [stdout] 76 | | MyEnumOinters { [INFO] [stdout] 77 | | Box = 1, [INFO] [stdout] 78 | | Arc = 2, [INFO] [stdout] ... | [INFO] [stdout] 81 | | 8 [INFO] [stdout] 82 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_enum_ointers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/boxed.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_ointer_strong!(BBox, Box, 8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_ointer_strong` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(ORc, Rc, OWeak, Weak, 1); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ointer` (lib) due to 21 previous errors; 2 warnings emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/rc.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BRc, Rc, BWeak, Weak, 8); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | define_shared_ointer!(OArc, Arc, OWeak, Weak, 1); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn o(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn flip(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn clone_and_flip(&self) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_ointer` which comes from the expansion of the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn downgrade(&self) -> $ointer_weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/ointer.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 268 | / impl core::ops::Deref for $ointer [INFO] [stdout] 269 | | where [INFO] [stdout] 270 | | Self: Ointer<$bits, Pointer = $pointer>, [INFO] [stdout] 271 | | >::Pointer: core::ops::Deref, [INFO] [stdout] | |___________________________________________________________________________- trait implemented here [INFO] [stdout] 272 | { [INFO] [stdout] 273 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | define_shared_ointer!(BArc, Arc, BWeak, Weak, 8); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define_shared_ointer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ointer` (lib test) due to 21 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3221df8624707859d4d12b886198b59a557333d6a056762519d024771fb75bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3221df8624707859d4d12b886198b59a557333d6a056762519d024771fb75bd5", kill_on_drop: false }` [INFO] [stdout] 3221df8624707859d4d12b886198b59a557333d6a056762519d024771fb75bd5