[INFO] fetching crate virtual_view 0.2.2... [INFO] testing virtual_view-0.2.2 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate virtual_view 0.2.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate virtual_view 0.2.2 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate virtual_view 0.2.2 [INFO] finished tweaking crates.io crate virtual_view 0.2.2 [INFO] tweaked toml for crates.io crate virtual_view 0.2.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08f9d36b1914ac4bdf4fde16c6c0f36105ac7442f3c722464d2add46ee5a3010 [INFO] running `Command { std: "docker" "start" "-a" "08f9d36b1914ac4bdf4fde16c6c0f36105ac7442f3c722464d2add46ee5a3010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08f9d36b1914ac4bdf4fde16c6c0f36105ac7442f3c722464d2add46ee5a3010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f9d36b1914ac4bdf4fde16c6c0f36105ac7442f3c722464d2add46ee5a3010", kill_on_drop: false }` [INFO] [stdout] 08f9d36b1914ac4bdf4fde16c6c0f36105ac7442f3c722464d2add46ee5a3010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cdfa54f0f34648732ba078eb18d466d8cc45db245fe2d9dcfcc8c9d1ee3133a [INFO] running `Command { std: "docker" "start" "-a" "5cdfa54f0f34648732ba078eb18d466d8cc45db245fe2d9dcfcc8c9d1ee3133a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling messenger v0.1.0 [INFO] [stderr] Compiling virtual_view v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prop/function.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Function = Fn(&mut Props) -> Prop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Props) -> Prop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/node.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | component: Arc, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/node.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | fn render_component_view(instance: &Instance, view: &View, component: &Arc) -> View { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/queue.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | Update(String, usize, Box Props + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Props) -> Props + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/renderer.rs:194:64 [INFO] [stdout] | [INFO] [stdout] 194 | fn internal_update(&self, id: String, depth: usize, f: Box Props + Send>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Props) -> Props + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/component.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | impl PartialEq for Component { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/component.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn eq(&self, other: &Component) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/view_kind.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Component(Arc), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/view_kind.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl From> for ViewKind { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/view_kind.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | fn from(component: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/view/view.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn component(&self) -> Option<&Arc> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/renderer/renderer.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | .compare_and_swap(false, true, Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type_id` found for reference `&(dyn component::Component + 'static)` in the current scope [INFO] [stdout] --> src/view/component.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | self.get_type_id() == other.get_type_id() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&(dyn component::Component + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type_id` found for reference `&(dyn component::Component + 'static)` in the current scope [INFO] [stdout] --> src/view/component.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | self.get_type_id() == other.get_type_id() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&(dyn component::Component + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type_id` found for reference `&Arc<(dyn component::Component + 'static)>` in the current scope [INFO] [stdout] --> src/view/view_kind.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | &ViewKind::Component(ref b) => a.get_type_id() == b.get_type_id(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&Arc<(dyn component::Component + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type_id` found for reference `&Arc<(dyn component::Component + 'static)>` in the current scope [INFO] [stdout] --> src/view/view_kind.rs:57:69 [INFO] [stdout] | [INFO] [stdout] 57 | &ViewKind::Component(ref b) => a.get_type_id() == b.get_type_id(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&Arc<(dyn component::Component + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_type_id` found for reference `&(dyn component::Component + 'static)` in the current scope [INFO] [stdout] --> src/view/view_kind.rs:108:67 [INFO] [stdout] | [INFO] [stdout] 108 | &ViewKind::Component(ref component) => (&**component).get_type_id(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&(dyn component::Component + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `virtual_view` due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5cdfa54f0f34648732ba078eb18d466d8cc45db245fe2d9dcfcc8c9d1ee3133a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cdfa54f0f34648732ba078eb18d466d8cc45db245fe2d9dcfcc8c9d1ee3133a", kill_on_drop: false }` [INFO] [stdout] 5cdfa54f0f34648732ba078eb18d466d8cc45db245fe2d9dcfcc8c9d1ee3133a