[INFO] cloning repository https://github.com/Gopiandcode/dependent-view [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gopiandcode/dependent-view" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGopiandcode%2Fdependent-view", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGopiandcode%2Fdependent-view'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b2146a53e0b47d2deb527542357a1d143c0c4eb [INFO] checking Gopiandcode/dependent-view 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%2FGopiandcode%2Fdependent-view" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gopiandcode/dependent-view [INFO] finished tweaking git repo https://github.com/Gopiandcode/dependent-view [INFO] tweaked toml for git repo https://github.com/Gopiandcode/dependent-view written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gopiandcode/dependent-view 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/Gopiandcode/dependent-view 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 504d9ddcf9b39c9e09b4efaaf1634b83e2e3199760854e2ae3815c417f6373d4 [INFO] running `Command { std: "docker" "start" "-a" "504d9ddcf9b39c9e09b4efaaf1634b83e2e3199760854e2ae3815c417f6373d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504d9ddcf9b39c9e09b4efaaf1634b83e2e3199760854e2ae3815c417f6373d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504d9ddcf9b39c9e09b4efaaf1634b83e2e3199760854e2ae3815c417f6373d4", kill_on_drop: false }` [INFO] [stdout] 504d9ddcf9b39c9e09b4efaaf1634b83e2e3199760854e2ae3815c417f6373d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 730ddf33a229aec6a8942947b2e8f93b6cd083c48f1c0aab162913d377f0d373 [INFO] running `Command { std: "docker" "start" "-a" "730ddf33a229aec6a8942947b2e8f93b6cd083c48f1c0aab162913d377f0d373", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking dependent_view v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | dependants: Vec> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dependants: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | dependants: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | dependants: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | H : FnOnce(X) -> Rc [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | H : FnOnce(X) -> Rc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | H : FnOnce(X) -> Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | H : FnOnce(X) -> Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let reference : Rc = to_any(reference); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | let reference : Rc = to_any(reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let reference : &Rc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | let reference : &Rc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let reference : Arc = to_any(reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | let reference : Arc = to_any(reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | let reference : &Arc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | let reference : &Arc = push_ref(&mut self.dependants, reference); [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/rc.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn into_view_internal(&mut self, conversion: F, downgrade: G, to_any: H) -> Y [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl Deref for DependentRc { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = Rc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/rc.rs:2411:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/rc.rs:2412:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/arc.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | pub unsafe fn into_view_internal_sync(&mut self, conversion: F, downgrade: G, to_any: H) -> Y [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | impl Deref for DependentArc { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 180 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dependent_view` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | dependants: Vec> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dependants: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | dependants: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | dependants: Vec> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | H : FnOnce(X) -> Rc [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | H : FnOnce(X) -> Rc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | H : FnOnce(X) -> Arc [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | H : FnOnce(X) -> Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let reference : Rc = to_any(reference); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | let reference : Rc = to_any(reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rc.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let reference : &Rc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | let reference : &Rc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let reference : Arc = to_any(reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | let reference : Arc = to_any(reference); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arc.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | let reference : &Arc = push_ref(&mut self.dependants, reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 172 | let reference : &Arc = push_ref(&mut self.dependants, reference); [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/rc.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn into_view_internal(&mut self, conversion: F, downgrade: G, to_any: H) -> Y [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | impl Deref for DependentRc { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = Rc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/rc.rs:2411:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/rc.rs:2412:4 [INFO] [stdout] | [INFO] [stdout] = note: 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/arc.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | pub unsafe fn into_view_internal_sync(&mut self, conversion: F, downgrade: G, to_any: H) -> Y [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | impl Deref for DependentArc { [INFO] [stdout] | --------------------------------- trait implemented here [INFO] [stdout] 180 | type Target = Arc; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] --> /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2417:0 [INFO] [stdout] | [INFO] [stdout] = note: trait implemented here [INFO] [stdout] ::: /rustc/7b3da9103634dffd4f4365cfd8642427c781d99f/library/alloc/src/sync.rs:2418:4 [INFO] [stdout] | [INFO] [stdout] = note: with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dependent_view` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "730ddf33a229aec6a8942947b2e8f93b6cd083c48f1c0aab162913d377f0d373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730ddf33a229aec6a8942947b2e8f93b6cd083c48f1c0aab162913d377f0d373", kill_on_drop: false }` [INFO] [stdout] 730ddf33a229aec6a8942947b2e8f93b6cd083c48f1c0aab162913d377f0d373