[INFO] fetching crate copying_gc 0.1.0... [INFO] checking copying_gc-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate copying_gc 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate copying_gc 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate copying_gc 0.1.0 [INFO] finished tweaking crates.io crate copying_gc 0.1.0 [INFO] tweaked toml for crates.io crate copying_gc 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 558586a7b2675403eb041d579f0870a6e3deb239c25c1b5b4f9d7e74a1798bac [INFO] running `Command { std: "docker" "start" "-a" "558586a7b2675403eb041d579f0870a6e3deb239c25c1b5b4f9d7e74a1798bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "558586a7b2675403eb041d579f0870a6e3deb239c25c1b5b4f9d7e74a1798bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558586a7b2675403eb041d579f0870a6e3deb239c25c1b5b4f9d7e74a1798bac", kill_on_drop: false }` [INFO] [stdout] 558586a7b2675403eb041d579f0870a6e3deb239c25c1b5b4f9d7e74a1798bac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9519240ee781ee1b16518176f97138698bd26aad2995068ec7a86beb822de65a [INFO] running `Command { std: "docker" "start" "-a" "9519240ee781ee1b16518176f97138698bd26aad2995068ec7a86beb822de65a", kill_on_drop: false }` [INFO] [stderr] Checking copying_gc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/bitmap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/space.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap as alloc_heap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/space.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn realloc(&mut self, p: &mut RootedTrait) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/space.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn marked(&mut self, p: &HeapTrait) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn forward(&mut self, ptr: &mut HeapTrait) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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: unnecessary parentheses around type [INFO] [stdout] --> src/space.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | let forwarded = *(ptr.raw_inner() as *mut (*mut u8)); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | allocated: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/runtime.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_allocated: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/trace.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn subfields(&mut self) -> Vec<&mut HeapTrait>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/trace.rs:24:84 [INFO] [stdout] | [INFO] [stdout] 24 | fn trace_with<'a, Tracer>(&'a mut self, _: Tracer) where Tracer: FnMut(&'a mut HeapTrait) { } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/trace.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn trace_with<'a, Tracer>(&'a mut self, Tracer) where Tracer: FnMut(&'a mut HeapTrait); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Tracer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | fn trace_with<'a, Tracer>(&'a mut self, Tracer) where Tracer: FnMut(&'a mut HeapTrait); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/trace.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/bitmap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ptr.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | fn space_ptr(&mut self) -> &mut SpacePtrTrait; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SpacePtrTrait` [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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/ptr.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn realloc_to(&mut self, &mut Space); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/space.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap as alloc_heap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ptr.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn space_ptr(&mut self) -> &mut SpacePtrTrait { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SpacePtrTrait` [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: unnecessary parentheses around type [INFO] [stdout] --> src/ptr.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | *(self.space_ptr.inner() as *mut (*mut T)) = space_ptr.inner(); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ptr.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/ptr.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | fn inner(&self) -> *mut (Trace + 'static) { self.0.inner() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/ptr.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space_ptr.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | fn inner(&self) -> *mut (Trace + 'static); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/space_ptr.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space_ptr.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn inner(&self) -> *mut (Trace + 'static) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/space_ptr.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | self.inner as *mut (Trace + 'static) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/space.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn realloc(&mut self, p: &mut RootedTrait) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/space.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn marked(&mut self, p: &HeapTrait) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn forward(&mut self, ptr: &mut HeapTrait) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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: unnecessary parentheses around type [INFO] [stdout] --> src/space.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | let forwarded = *(ptr.raw_inner() as *mut (*mut u8)); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runtime.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | allocated: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/runtime.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_allocated: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RootedTrait` [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/trace.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn subfields(&mut self) -> Vec<&mut HeapTrait>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/trace.rs:24:84 [INFO] [stdout] | [INFO] [stdout] 24 | fn trace_with<'a, Tracer>(&'a mut self, _: Tracer) where Tracer: FnMut(&'a mut HeapTrait) { } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/trace.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn trace_with<'a, Tracer>(&'a mut self, Tracer) where Tracer: FnMut(&'a mut HeapTrait); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Tracer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trace.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | fn trace_with<'a, Tracer>(&'a mut self, Tracer) where Tracer: FnMut(&'a mut HeapTrait); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/trace.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/ptr.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | fn space_ptr(&mut self) -> &mut SpacePtrTrait; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SpacePtrTrait` [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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/ptr.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn realloc_to(&mut self, &mut Space); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ptr.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn space_ptr(&mut self) -> &mut SpacePtrTrait { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn SpacePtrTrait` [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: unnecessary parentheses around type [INFO] [stdout] --> src/ptr.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | *(self.space_ptr.inner() as *mut (*mut T)) = space_ptr.inner(); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ptr.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/ptr.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | fn inner(&self) -> *mut (Trace + 'static) { self.0.inner() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/ptr.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space_ptr.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | fn inner(&self) -> *mut (Trace + 'static); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/space_ptr.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn subfields(&mut self) -> Vec<&mut HeapTrait> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn HeapTrait` [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/space_ptr.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn inner(&self) -> *mut (Trace + 'static) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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/space_ptr.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | self.inner as *mut (Trace + 'static) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Trace + 'static` [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] [stderr] error: could not compile `copying_gc` due to 3 previous errors; 22 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9519240ee781ee1b16518176f97138698bd26aad2995068ec7a86beb822de65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9519240ee781ee1b16518176f97138698bd26aad2995068ec7a86beb822de65a", kill_on_drop: false }` [INFO] [stdout] 9519240ee781ee1b16518176f97138698bd26aad2995068ec7a86beb822de65a