[INFO] fetching crate index_alloc 0.1.1...
[INFO] checking index_alloc-0.1.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] extracting crate index_alloc 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate index_alloc 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate index_alloc 0.1.1
[INFO] tweaked toml for crates.io crate index_alloc 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate index_alloc 0.1.1 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 crates.io crate index_alloc 0.1.1 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] 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] 928981bc216740b0bf1e95cb6eb524bd6b43f138f1a49747bc0cda91252e9a60
[INFO] running `Command { std: "docker" "start" "-a" "928981bc216740b0bf1e95cb6eb524bd6b43f138f1a49747bc0cda91252e9a60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "928981bc216740b0bf1e95cb6eb524bd6b43f138f1a49747bc0cda91252e9a60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "928981bc216740b0bf1e95cb6eb524bd6b43f138f1a49747bc0cda91252e9a60", kill_on_drop: false }`
[INFO] [stdout] 928981bc216740b0bf1e95cb6eb524bd6b43f138f1a49747bc0cda91252e9a60
[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] b6b4d56b67fcf24477d09a452a8d0277f80dc1043e00d24484894c04e27d88a9
[INFO] running `Command { std: "docker" "start" "-a" "b6b4d56b67fcf24477d09a452a8d0277f80dc1043e00d24484894c04e27d88a9", kill_on_drop: false }`
[INFO] [stderr]     Checking index_alloc v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
[INFO] [stdout]    --> src/rc.rs:193:5
[INFO] [stdout]     |
[INFO] [stdout] 193 |     #[must_use]
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
[INFO] [stdout]    --> src/lib.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 167 |     #[must_use]
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
[INFO] [stdout]    --> src/rc.rs:193:5
[INFO] [stdout]     |
[INFO] [stdout] 193 |     #[must_use]
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks
[INFO] [stdout]    --> src/lib.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 167 |     #[must_use]
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 152 |         &'a self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 153 |         val: U,
[INFO] [stdout] 154 |     ) -> Result<Box<T, MEMORY_SIZE, INDEX_SIZE>, IndexError>
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 154 |     ) -> Result<Box<'a, T, MEMORY_SIZE, INDEX_SIZE>, IndexError>
[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/boxed.rs:77:21
[INFO] [stdout]     |
[INFO] [stdout]  77 |       pub fn try_free(self) -> Result<(), IndexError> {
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 101 | |     for Box<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       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/boxed.rs:83:22
[INFO] [stdout]     |
[INFO] [stdout]  83 |       pub fn allocator(&self) -> &'a IndexAllocator<MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 101 | |     for Box<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       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/rc.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |       pub fn downgrade(&self) -> Weak<'a, T, MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |       pub fn strong_count(&self) -> usize {
[INFO] [stdout]     |                           ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |       pub fn weak_count(&self) -> usize {
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:166:22
[INFO] [stdout]     |
[INFO] [stdout] 166 |       pub fn allocator(&self) -> &'a IndexAllocator<MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `index_alloc` (lib) due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 152 |         &'a self,
[INFO] [stdout]     |          -- the lifetime is named here
[INFO] [stdout] 153 |         val: U,
[INFO] [stdout] 154 |     ) -> Result<Box<T, MEMORY_SIZE, INDEX_SIZE>, IndexError>
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 154 |     ) -> Result<Box<'a, T, MEMORY_SIZE, INDEX_SIZE>, IndexError>
[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/boxed.rs:77:21
[INFO] [stdout]     |
[INFO] [stdout]  77 |       pub fn try_free(self) -> Result<(), IndexError> {
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 101 | |     for Box<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       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/boxed.rs:83:22
[INFO] [stdout]     |
[INFO] [stdout]  83 |       pub fn allocator(&self) -> &'a IndexAllocator<MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 101 | |     for Box<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       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/rc.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |       pub fn downgrade(&self) -> Weak<'a, T, MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |       pub fn strong_count(&self) -> usize {
[INFO] [stdout]     |                           ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 |       pub fn weak_count(&self) -> usize {
[INFO] [stdout]     |                         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       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/rc.rs:166:22
[INFO] [stdout]     |
[INFO] [stdout] 166 |       pub fn allocator(&self) -> &'a IndexAllocator<MEMORY_SIZE, INDEX_SIZE> {
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | / impl<'a, T, const MEMORY_SIZE: usize, const INDEX_SIZE: usize> Deref
[INFO] [stdout] 201 | |     for Rc<'a, T, MEMORY_SIZE, INDEX_SIZE>
[INFO] [stdout] 202 | | where
[INFO] [stdout] 203 | |     T: ?Sized,
[INFO] [stdout]     | |______________- trait implemented here
[INFO] [stdout] 204 |   {
[INFO] [stdout] 205 |       type Target = T;
[INFO] [stdout]     |       ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `index_alloc` (lib test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b6b4d56b67fcf24477d09a452a8d0277f80dc1043e00d24484894c04e27d88a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6b4d56b67fcf24477d09a452a8d0277f80dc1043e00d24484894c04e27d88a9", kill_on_drop: false }`
[INFO] [stdout] b6b4d56b67fcf24477d09a452a8d0277f80dc1043e00d24484894c04e27d88a9
