[INFO] cloning repository https://github.com/Esu0/doubly-linked-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Esu0/doubly-linked-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Fdoubly-linked-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Fdoubly-linked-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 308aefceccb5f728c89f7a6ef1f9a2ee71a80734 [INFO] checking Esu0/doubly-linked-list against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEsu0%2Fdoubly-linked-list" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Esu0/doubly-linked-list [INFO] finished tweaking git repo https://github.com/Esu0/doubly-linked-list [INFO] tweaked toml for git repo https://github.com/Esu0/doubly-linked-list written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Esu0/doubly-linked-list 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/Esu0/doubly-linked-list 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] aa637929109cff705cee7b1befcb3a893c1a9dc27afa2ad1a073707d08ab6c29 [INFO] running `Command { std: "docker" "start" "-a" "aa637929109cff705cee7b1befcb3a893c1a9dc27afa2ad1a073707d08ab6c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa637929109cff705cee7b1befcb3a893c1a9dc27afa2ad1a073707d08ab6c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa637929109cff705cee7b1befcb3a893c1a9dc27afa2ad1a073707d08ab6c29", kill_on_drop: false }` [INFO] [stdout] aa637929109cff705cee7b1befcb3a893c1a9dc27afa2ad1a073707d08ab6c29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f29e2098a32dad905d3e3636ab076658df0c13c504b977b80c8d07fa112289b5 [INFO] running `Command { std: "docker" "start" "-a" "f29e2098a32dad905d3e3636ab076658df0c13c504b977b80c8d07fa112289b5", kill_on_drop: false }` [INFO] [stderr] Checking thin-dst v1.1.0 [INFO] [stderr] Checking detect-drop v0.1.0 (https://github.com/Esu0/detect-drop#10b9a549) [INFO] [stderr] Checking debug-allocator v0.1.2 (https://github.com/Esu0/debug-allocator#45877450) [INFO] [stderr] Checking doubly-linked-list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/base.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 521 - self.0.eq(&other.0) [INFO] [stdout] 521 + std::ptr::addr_eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 521 - self.0.eq(&other.0) [INFO] [stdout] 521 + std::ptr::eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/base.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | self.0.ne(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 525 - self.0.ne(&other.0) [INFO] [stdout] 525 + !std::ptr::addr_eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 525 - self.0.ne(&other.0) [INFO] [stdout] 525 + !std::ptr::eq(self.0.as_ptr(), other.0.as_ptr()) [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/base.rs:850:17 [INFO] [stdout] | [INFO] [stdout] 840 | impl Deref for Cursor<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 841 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 850 | pub fn next(self) -> Option { [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/base.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 840 | impl Deref for Cursor<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 841 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 855 | pub fn prev(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/util/exact_size.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 495 - .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] 495 + .find(|(_, ptr)| std::ptr::addr_eq(*ptr.as_ptr(), pointer.as_ptr_node().as_ptr())) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 495 - .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] 495 + .find(|(_, ptr)| std::ptr::eq(*ptr.as_ptr(), pointer.as_ptr_node().as_ptr())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doubly-linked-list` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/base.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | self.0.eq(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 521 - self.0.eq(&other.0) [INFO] [stdout] 521 + std::ptr::addr_eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 521 - self.0.eq(&other.0) [INFO] [stdout] 521 + std::ptr::eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/base.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | self.0.ne(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 525 - self.0.ne(&other.0) [INFO] [stdout] 525 + !std::ptr::addr_eq(self.0.as_ptr(), other.0.as_ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 525 - self.0.ne(&other.0) [INFO] [stdout] 525 + !std::ptr::eq(self.0.as_ptr(), other.0.as_ptr()) [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/base.rs:850:17 [INFO] [stdout] | [INFO] [stdout] 840 | impl Deref for Cursor<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 841 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 850 | pub fn next(self) -> Option { [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/base.rs:855:17 [INFO] [stdout] | [INFO] [stdout] 840 | impl Deref for Cursor<'_, T> { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 841 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 855 | pub fn prev(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/util/exact_size.rs:495:38 [INFO] [stdout] | [INFO] [stdout] 495 | .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 495 - .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] 495 + .find(|(_, ptr)| std::ptr::addr_eq(*ptr.as_ptr(), pointer.as_ptr_node().as_ptr())) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 495 - .find(|(_, ptr)| *ptr == pointer.as_ptr_node()) [INFO] [stdout] 495 + .find(|(_, ptr)| std::ptr::eq(*ptr.as_ptr(), pointer.as_ptr_node().as_ptr())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doubly-linked-list` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f29e2098a32dad905d3e3636ab076658df0c13c504b977b80c8d07fa112289b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29e2098a32dad905d3e3636ab076658df0c13c504b977b80c8d07fa112289b5", kill_on_drop: false }` [INFO] [stdout] f29e2098a32dad905d3e3636ab076658df0c13c504b977b80c8d07fa112289b5