[INFO] fetching crate ghost-gc 0.2.1... [INFO] checking ghost-gc-0.2.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate ghost-gc 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ghost-gc 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ghost-gc 0.2.1 [INFO] tweaked toml for crates.io crate ghost-gc 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ghost-gc 0.2.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 ghost-gc 0.2.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] [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] c27e6ce33e3d74f6ffb84f90a60ccb3ecd2ef420fa8e2e46e0beac810a7ac1c8 [INFO] running `Command { std: "docker" "start" "-a" "c27e6ce33e3d74f6ffb84f90a60ccb3ecd2ef420fa8e2e46e0beac810a7ac1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c27e6ce33e3d74f6ffb84f90a60ccb3ecd2ef420fa8e2e46e0beac810a7ac1c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27e6ce33e3d74f6ffb84f90a60ccb3ecd2ef420fa8e2e46e0beac810a7ac1c8", kill_on_drop: false }` [INFO] [stdout] c27e6ce33e3d74f6ffb84f90a60ccb3ecd2ef420fa8e2e46e0beac810a7ac1c8 [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] 741b20236496843583dfdd2dff8432774cd95cdba4865b80abea6d57f17553e2 [INFO] running `Command { std: "docker" "start" "-a" "741b20236496843583dfdd2dff8432774cd95cdba4865b80abea6d57f17553e2", kill_on_drop: false }` [INFO] [stderr] Checking ghost-gc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/gc.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write(&self) -> &Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn unlock(&self) -> &T::Unlocked [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn as_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn long_ref(&self) -> &'b T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/gc_vtable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 7 | pub struct GcVTable { [INFO] [stdout] 8 | collect: unsafe fn(GcBox, &Collector), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/gc_vtable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | drop_in_place: unsafe fn(GcBox), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/unique_gc.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | impl Deref for UniqueGc<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 285 | 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/unique_gc.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn as_ptr_mut(&mut self) -> *mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | impl Deref for UniqueGc<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 285 | 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/gc.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write(&self) -> &Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn unlock(&self) -> &T::Unlocked [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn as_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | 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/gc.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn long_ref(&self) -> &'b T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl Deref for Gc<'_, T> { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 66 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/gc_vtable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 7 | pub struct GcVTable { [INFO] [stdout] 8 | collect: unsafe fn(GcBox, &Collector), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/gc_vtable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | drop_in_place: unsafe fn(GcBox), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/unique_gc.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | impl Deref for UniqueGc<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 285 | 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/unique_gc.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn as_ptr_mut(&mut self) -> *mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | impl Deref for UniqueGc<'_, T> { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 285 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ghost-gc` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ghost-gc` (lib) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "741b20236496843583dfdd2dff8432774cd95cdba4865b80abea6d57f17553e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741b20236496843583dfdd2dff8432774cd95cdba4865b80abea6d57f17553e2", kill_on_drop: false }` [INFO] [stdout] 741b20236496843583dfdd2dff8432774cd95cdba4865b80abea6d57f17553e2