[INFO] cloning repository https://github.com/playXE/garbage-collector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playXE/garbage-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgarbage-collector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgarbage-collector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2972f68c8ed3889bd1b6979aaa37ab395afdb36e
[INFO] checking playXE/garbage-collector/2972f68c8ed3889bd1b6979aaa37ab395afdb36e 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%2FplayXE%2Fgarbage-collector" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/playXE/garbage-collector
[INFO] finished tweaking git repo https://github.com/playXE/garbage-collector
[INFO] tweaked toml for git repo https://github.com/playXE/garbage-collector written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/playXE/garbage-collector 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/playXE/garbage-collector 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] b1b3713cf17abed823fe296239be0ffbd494d7369cd8554257be0b47d7ad7687
[INFO] running `Command { std: "docker" "start" "-a" "b1b3713cf17abed823fe296239be0ffbd494d7369cd8554257be0b47d7ad7687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1b3713cf17abed823fe296239be0ffbd494d7369cd8554257be0b47d7ad7687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1b3713cf17abed823fe296239be0ffbd494d7369cd8554257be0b47d7ad7687", kill_on_drop: false }`
[INFO] [stdout] b1b3713cf17abed823fe296239be0ffbd494d7369cd8554257be0b47d7ad7687
[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] a69efc8bf2ec24aaf98fc5894578daeb5aabe200dbcdba075f3d3af5fd11273b
[INFO] running `Command { std: "docker" "start" "-a" "a69efc8bf2ec24aaf98fc5894578daeb5aabe200dbcdba075f3d3af5fd11273b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.8.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking crossbeam-channel v0.4.3
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking simple_logger v1.6.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]    Compiling garbage-collector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking oorandom v11.1.2
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/accounting/card_table.rs:239:14
[INFO] [stdout]     |
[INFO] [stdout] 239 |             };
[INFO] [stdout]     |              ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/accounting/stack.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAP_SHARED` and `PROT_EXEC`
[INFO] [stdout]   --> src/mem_map.rs:22:56
[INFO] [stdout]    |
[INFO] [stdout] 22 |     MAP_ANONYMOUS, MAP_FAILED, MAP_FIXED, MAP_PRIVATE, MAP_SHARED, PROT_EXEC, PROT_NONE, PROT_READ,
[INFO] [stdout]    |                                                        ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/accounting/stack.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |         pub fn push(&self, mut val: Ref<GcBox<()>>) {
[INFO] [stdout]     |                            ----^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/accounting/stack.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let mut head = self.head();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/accounting/stack.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 let mut prev = *head;
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/accounting/stack.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let mut head = self.head();
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/lib.rs:441:19
[INFO] [stdout]     |
[INFO] [stdout] 441 |     pub fn gc_ptr(&self) -> *const GcBox<()> {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 466 | impl<T: GcObj> std::ops::Deref for Handle<T> {
[INFO] [stdout]     | -------------------------------------------- trait implemented here
[INFO] [stdout] 467 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[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/lib.rs:453:20
[INFO] [stdout]     |
[INFO] [stdout] 453 |     pub fn to_heap(&self) -> Handle<T> {
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 485 | impl<'a, T: GcObj> std::ops::Deref for Root<'a, T> {
[INFO] [stdout]     | -------------------------------------------------- trait implemented here
[INFO] [stdout] 486 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:500:17
[INFO] [stdout]     |
[INFO] [stdout] 500 |     pub fn uget(&self) -> &mut T {
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:508:20
[INFO] [stdout]     |
[INFO] [stdout] 508 |     pub fn is_null(self) -> bool {
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:512:24
[INFO] [stdout]     |
[INFO] [stdout] 512 |     pub fn is_non_null(self) -> bool {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:516:20
[INFO] [stdout]     |
[INFO] [stdout] 516 |     pub fn cast<U>(self) -> Ref<U> {
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:522:19
[INFO] [stdout]     |
[INFO] [stdout] 522 |     pub fn offset(&self, ix: isize) -> Self {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:528:18
[INFO] [stdout]     |
[INFO] [stdout] 528 |     pub fn write(self, val: T) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- 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/utils.rs:532:17
[INFO] [stdout]     |
[INFO] [stdout] 532 |     pub fn read(self) -> T {
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 | impl<T> core::ops::Deref for Ref<T> {
[INFO] [stdout]     | ----------------------------------- trait implemented here
[INFO] [stdout] 548 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/locks.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 |         pub fn lock(&self) -> MutexGuard<T> {
[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] 131 |         pub fn lock(&self) -> MutexGuard<'_, T> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/spaces/dlmalloc_space.rs:103:37
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 dlmalloc_madvise_cb as usize,
[INFO] [stdout]     |                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 dlmalloc_madvise_cb as *const () as usize,
[INFO] [stdout]     |                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `garbage-collector` (lib) due to 9 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a69efc8bf2ec24aaf98fc5894578daeb5aabe200dbcdba075f3d3af5fd11273b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a69efc8bf2ec24aaf98fc5894578daeb5aabe200dbcdba075f3d3af5fd11273b", kill_on_drop: false }`
[INFO] [stdout] a69efc8bf2ec24aaf98fc5894578daeb5aabe200dbcdba075f3d3af5fd11273b
