[INFO] cloning repository https://github.com/ds84182/pomelo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ds84182/pomelo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds84182%2Fpomelo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds84182%2Fpomelo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a613c22fcd836349227629f20b86f3fc34213522 [INFO] testing ds84182/pomelo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds84182%2Fpomelo" "/workspace/builds/worker-113/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-113/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ds84182/pomelo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ds84182/pomelo [INFO] finished tweaking git repo https://github.com/ds84182/pomelo [INFO] tweaked toml for git repo https://github.com/ds84182/pomelo written to /workspace/builds/worker-113/source/Cargo.toml [INFO] crate git repo https://github.com/ds84182/pomelo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/ds84182/dynarmic-rs` [INFO] [stderr] Updating git submodule `https://github.com/MerryMage/dynarmic.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded cmake v0.1.38 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded xorshift v0.1.3 [INFO] [stderr] Downloaded static_assertions v0.3.4 [INFO] [stderr] Downloaded cc v1.0.34 [INFO] [stderr] Downloaded clocksource v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c52b1825aa6b57ab3d235414a83dcdb8fc0c708cf0aea674ba874cb4f1d42980 [INFO] running `Command { std: "docker" "start" "-a" "c52b1825aa6b57ab3d235414a83dcdb8fc0c708cf0aea674ba874cb4f1d42980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c52b1825aa6b57ab3d235414a83dcdb8fc0c708cf0aea674ba874cb4f1d42980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52b1825aa6b57ab3d235414a83dcdb8fc0c708cf0aea674ba874cb4f1d42980", kill_on_drop: false }` [INFO] [stdout] c52b1825aa6b57ab3d235414a83dcdb8fc0c708cf0aea674ba874cb4f1d42980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01038b5f2f76d248ef37bcd33709330e26155209a33334c30c5d8780c7b64353 [INFO] running `Command { std: "docker" "start" "-a" "01038b5f2f76d248ef37bcd33709330e26155209a33334c30c5d8780c7b64353", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling dynarmic-sys v0.1.0 (https://github.com/ds84182/dynarmic-rs#3d347463) [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clocksource v0.4.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling pomelo_formats v0.1.0 (/opt/rustwide/workdir/formats) [INFO] [stderr] Compiling xorshift v0.1.3 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> formats/src/exheader/mod.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | (self as &mut plain::Plain).copy_from_bytes(b).expect("ExHeader truncated"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - (self as &mut plain::Plain).copy_from_bytes(b).expect("ExHeader truncated"); [INFO] [stdout] 18 + (self as &mut dyn plain::Plain).copy_from_bytes(b).expect("ExHeader truncated"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling pomelo_kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> kernel/src/object/mod.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ptr, ptr::NonNull, raw, mem}; [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `const_raw_ptr_deref` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> kernel/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> kernel/src/lib.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | kobj: KTypedObject, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 459 - kobj: KTypedObject, [INFO] [stdout] 459 + kobj: KTypedObject, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:580:43 [INFO] [stdout] | [INFO] [stdout] 580 | pub type ProcessPair = (CommonProcess, Rc); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 580 - pub type ProcessPair = (CommonProcess, Rc); [INFO] [stdout] 580 + pub type ProcessPair = (CommonProcess, Rc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:828:20 [INFO] [stdout] | [INFO] [stdout] 828 | hle_hooks: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 828 - hle_hooks: Box, [INFO] [stdout] 828 + hle_hooks: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:833:56 [INFO] [stdout] | [INFO] [stdout] 833 | thread_boxes: RefCell>)>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 833 - thread_boxes: RefCell>)>>, [INFO] [stdout] 833 + thread_boxes: RefCell>)>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:837:42 [INFO] [stdout] | [INFO] [stdout] 837 | ports: HashMap<[u8; 8], KTypedObject>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 837 - ports: HashMap<[u8; 8], KTypedObject>, [INFO] [stdout] 837 + ports: HashMap<[u8; 8], KTypedObject>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:838:43 [INFO] [stdout] | [INFO] [stdout] 838 | interrupts: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 838 - interrupts: HashMap>, [INFO] [stdout] 838 + interrupts: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:445:56 [INFO] [stdout] | [INFO] [stdout] 445 | fn resume(&self, payload: ThreadResume, kctx: &mut Kernel); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 445 - fn resume(&self, payload: ThreadResume, kctx: &mut Kernel); [INFO] [stdout] 445 + fn resume(&self, payload: ThreadResume, kctx: &mut dyn Kernel); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:575:59 [INFO] [stdout] | [INFO] [stdout] 575 | fn init_thread(&self, init: ThreadInitializer) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 575 - fn init_thread(&self, init: ThreadInitializer) -> Box { [INFO] [stdout] 575 + fn init_thread(&self, init: ThreadInitializer) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:745:105 [INFO] [stdout] | [INFO] [stdout] 745 | fn make_hle_thread_object(&mut self, tid: ThreadIndex, obj_man: &mut ObjectManager) -> KTypedObject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 745 - fn make_hle_thread_object(&mut self, tid: ThreadIndex, obj_man: &mut ObjectManager) -> KTypedObject; [INFO] [stdout] 745 + fn make_hle_thread_object(&mut self, tid: ThreadIndex, obj_man: &mut ObjectManager) -> KTypedObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:774:138 [INFO] [stdout] | [INFO] [stdout] 774 | ...ectRef>, timeout: Option, wait_type: ThreadWaitType) -> Rc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 774 - fn suspend_thread<'a>(&mut self, objects: impl Iterator, timeout: Option, wait_type: ThreadWaitType) -> Rc { [INFO] [stdout] 774 + fn suspend_thread<'a>(&mut self, objects: impl Iterator, timeout: Option, wait_type: ThreadWaitType) -> Rc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:800:74 [INFO] [stdout] | [INFO] [stdout] 800 | fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 800 - fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId; [INFO] [stdout] 800 + fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:801:64 [INFO] [stdout] | [INFO] [stdout] 801 | fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 801 - fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef); [INFO] [stdout] 801 + fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:809:51 [INFO] [stdout] | [INFO] [stdout] 809 | fn find_process(&self, pid: ProcessId) -> &Rc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 809 - fn find_process(&self, pid: ProcessId) -> &Rc; [INFO] [stdout] 809 + fn find_process(&self, pid: ProcessId) -> &Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:818:65 [INFO] [stdout] | [INFO] [stdout] 818 | fn register_port(&mut self, name: &[u8], port: KTypedObject); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 818 - fn register_port(&mut self, name: &[u8], port: KTypedObject); [INFO] [stdout] 818 + fn register_port(&mut self, name: &[u8], port: KTypedObject); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:819:63 [INFO] [stdout] | [INFO] [stdout] 819 | fn lookup_port(&self, name: &[u8]) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 819 - fn lookup_port(&self, name: &[u8]) -> Option>; [INFO] [stdout] 819 + fn lookup_port(&self, name: &[u8]) -> Option>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:820:65 [INFO] [stdout] | [INFO] [stdout] 820 | fn bind_interrupt(&mut self, name: u32, event: KTypedObject); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 820 - fn bind_interrupt(&mut self, name: u32, event: KTypedObject); [INFO] [stdout] 820 + fn bind_interrupt(&mut self, name: u32, event: KTypedObject); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:464:69 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn new(pid: ProcessId, tid: ThreadIndex, kobj: KTypedObject) -> CommonThread { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 464 - pub fn new(pid: ProcessId, tid: ThreadIndex, kobj: KTypedObject) -> CommonThread { [INFO] [stdout] 464 + pub fn new(pid: ProcessId, tid: ThreadIndex, kobj: KTypedObject) -> CommonThread { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:705:55 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 705 - pub fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] 705 + pub fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:843:25 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn new(hle: Box, kmm: memory::KMM<'mem, M>) -> KernelImpl<'mem, M> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 843 - pub fn new(hle: Box, kmm: memory::KMM<'mem, M>) -> KernelImpl<'mem, M> { [INFO] [stdout] 843 + pub fn new(hle: Box, kmm: memory::KMM<'mem, M>) -> KernelImpl<'mem, M> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:867:56 [INFO] [stdout] | [INFO] [stdout] 867 | fn take_thread_box(&self, tid: ThreadIndex) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 867 - fn take_thread_box(&self, tid: ThreadIndex) -> Box { [INFO] [stdout] 867 + fn take_thread_box(&self, tid: ThreadIndex) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:872:64 [INFO] [stdout] | [INFO] [stdout] 872 | fn replace_thread_box(&self, tid: ThreadIndex, thread: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 872 - fn replace_thread_box(&self, tid: ThreadIndex, thread: Box) { [INFO] [stdout] 872 + fn replace_thread_box(&self, tid: ThreadIndex, thread: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:930:74 [INFO] [stdout] | [INFO] [stdout] 930 | fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 930 - fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId { [INFO] [stdout] 930 + fn new_process_boxed(&mut self, name: Cow<'static, str>, process: Rc) -> ProcessId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:948:64 [INFO] [stdout] | [INFO] [stdout] 948 | fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 948 - fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef) { [INFO] [stdout] 948 + fn new_thread_boxed(&mut self, pid: ProcessId, thread: Box) -> (ThreadIndex, KObjectRef) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:1027:51 [INFO] [stdout] | [INFO] [stdout] 1027 | fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1027 - fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] 1027 + fn find_process(&self, pid: ProcessId) -> &Rc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:1154:65 [INFO] [stdout] | [INFO] [stdout] 1154 | fn register_port(&mut self, name: &[u8], port: KTypedObject) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1154 - fn register_port(&mut self, name: &[u8], port: KTypedObject) { [INFO] [stdout] 1154 + fn register_port(&mut self, name: &[u8], port: KTypedObject) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:1161:63 [INFO] [stdout] | [INFO] [stdout] 1161 | fn lookup_port(&self, name: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 - fn lookup_port(&self, name: &[u8]) -> Option> { [INFO] [stdout] 1161 + fn lookup_port(&self, name: &[u8]) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:1168:65 [INFO] [stdout] | [INFO] [stdout] 1168 | fn bind_interrupt(&mut self, name: u32, event: KTypedObject) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1168 - fn bind_interrupt(&mut self, name: u32, event: KTypedObject) { [INFO] [stdout] 1168 + fn bind_interrupt(&mut self, name: u32, event: KTypedObject) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> Into> for &'a KObject { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - impl<'a> Into> for &'a KObject { [INFO] [stdout] 126 + impl<'a> Into> for &'a KObject { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:147:57 [INFO] [stdout] | [INFO] [stdout] 147 | fn wait(&self, this: &kernel::KObjectRef, waker: Rc, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - fn wait(&self, this: &kernel::KObjectRef, waker: Rc, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] 147 + fn wait(&self, this: &kernel::KObjectRef, waker: Rc, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:161:71 [INFO] [stdout] | [INFO] [stdout] 161 | fn handle_sync_request<'a>(&self, ipc: IPCContext<'a>, kctx: &mut kernel::Kernel) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - fn handle_sync_request<'a>(&self, ipc: IPCContext<'a>, kctx: &mut kernel::Kernel) {} [INFO] [stdout] 161 + fn handle_sync_request<'a>(&self, ipc: IPCContext<'a>, kctx: &mut dyn kernel::Kernel) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | fn sync_request(&self, waker: Rc, ct: &mut kernel::CommonThreadManager) -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - fn sync_request(&self, waker: Rc, ct: &mut kernel::CommonThreadManager) -> bool { false } [INFO] [stdout] 164 + fn sync_request(&self, waker: Rc, ct: &mut kernel::CommonThreadManager) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:175:68 [INFO] [stdout] | [INFO] [stdout] 175 | fn receive(&self, this_thread: kernel::ThreadIndex, kctx: &mut kernel::Kernel) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - fn receive(&self, this_thread: kernel::ThreadIndex, kctx: &mut kernel::Kernel) -> bool; [INFO] [stdout] 175 + fn receive(&self, this_thread: kernel::ThreadIndex, kctx: &mut dyn kernel::Kernel) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:177:66 [INFO] [stdout] | [INFO] [stdout] 177 | fn reply(&self, this_thread: kernel::ThreadIndex, kctx: &mut kernel::Kernel); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 - fn reply(&self, this_thread: kernel::ThreadIndex, kctx: &mut kernel::Kernel); [INFO] [stdout] 177 + fn reply(&self, this_thread: kernel::ThreadIndex, kctx: &mut dyn kernel::Kernel); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:186:75 [INFO] [stdout] | [INFO] [stdout] 186 | fn create_session_to_port(&self, server_session: kernel::KTypedObject, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 - fn create_session_to_port(&self, server_session: kernel::KTypedObject, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] 186 + fn create_session_to_port(&self, server_session: kernel::KTypedObject, ct: &mut kernel::CommonThreadManager); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:191:99 [INFO] [stdout] | [INFO] [stdout] 191 | fn accept_session(&self, ct: &mut kernel::CommonThreadManager) -> Option>; // Caller must sleep ... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 191 - fn accept_session(&self, ct: &mut kernel::CommonThreadManager) -> Option>; // Caller must sleep if None [INFO] [stdout] 191 + fn accept_session(&self, ct: &mut kernel::CommonThreadManager) -> Option>; // Caller must sleep if None [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | fn wait(&self, waker: Rc, addr: u32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn wait(&self, waker: Rc, addr: u32); [INFO] [stdout] 203 + fn wait(&self, waker: Rc, addr: u32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:221:41 [INFO] [stdout] | [INFO] [stdout] 221 | fn create_process(&self, kctx: &mut kernel::Kernel); // -> kernel::KResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 - fn create_process(&self, kctx: &mut kernel::Kernel); // -> kernel::KResult; [INFO] [stdout] 221 + fn create_process(&self, kctx: &mut dyn kernel::Kernel); // -> kernel::KResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | try_into_trait!(debug_vtable, KObjectDebug); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - try_into_trait!(debug_vtable, KObjectDebug); [INFO] [stdout] 144 + try_into_trait!(debug_vtable, dyn KObjectDebug); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | try_into_trait!(sync_vtable, KSynchronizationObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - try_into_trait!(sync_vtable, KSynchronizationObject); [INFO] [stdout] 150 + try_into_trait!(sync_vtable, dyn KSynchronizationObject); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | try_into_trait!(client_session_vtable, KClientSession); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - try_into_trait!(client_session_vtable, KClientSession); [INFO] [stdout] 166 + try_into_trait!(client_session_vtable, dyn KClientSession); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | try_into_trait!(server_session_vtable, KServerSession); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 - try_into_trait!(server_session_vtable, KServerSession); [INFO] [stdout] 181 + try_into_trait!(server_session_vtable, dyn KServerSession); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | try_into_trait!(client_port_vtable, KClientPort); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 - try_into_trait!(client_port_vtable, KClientPort); [INFO] [stdout] 188 + try_into_trait!(client_port_vtable, dyn KClientPort); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | try_into_trait!(server_port_vtable, KServerPort); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - try_into_trait!(server_port_vtable, KServerPort); [INFO] [stdout] 193 + try_into_trait!(server_port_vtable, dyn KServerPort); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | try_into_trait!(timer_vtable, KTimer); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 - try_into_trait!(timer_vtable, KTimer); [INFO] [stdout] 200 + try_into_trait!(timer_vtable, dyn KTimer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | try_into_trait!(addr_arb_vtable, KAddressArbiter); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 207 - try_into_trait!(addr_arb_vtable, KAddressArbiter); [INFO] [stdout] 207 + try_into_trait!(addr_arb_vtable, dyn KAddressArbiter); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | try_into_trait!(event_vtable, KEvent); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - try_into_trait!(event_vtable, KEvent); [INFO] [stdout] 213 + try_into_trait!(event_vtable, dyn KEvent); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | try_into_trait!(thread_vtable, KThread); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 - try_into_trait!(thread_vtable, KThread); [INFO] [stdout] 218 + try_into_trait!(thread_vtable, dyn KThread); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | try_into_trait!(codeset_vtable, KCodeSet); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 - try_into_trait!(codeset_vtable, KCodeSet); [INFO] [stdout] 223 + try_into_trait!(codeset_vtable, dyn KCodeSet); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/object/mod.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | try_into_trait!(mutex_vtable, KMutex); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - try_into_trait!(mutex_vtable, KMutex); [INFO] [stdout] 228 + try_into_trait!(mutex_vtable, dyn KMutex); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:522:31 [INFO] [stdout] | [INFO] [stdout] 522 | let sync: Option<&KSynchronizationObject> = object.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 522 - let sync: Option<&KSynchronizationObject> = object.into(); [INFO] [stdout] 522 + let sync: Option<&dyn KSynchronizationObject> = object.into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pomelo_kernel` due to 4 previous errors; 54 warnings emitted [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:523:30 [INFO] [stdout] | [INFO] [stdout] 523 | let arb: Option<&KAddressArbiter> = object.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 523 - let arb: Option<&KAddressArbiter> = object.into(); [INFO] [stdout] 523 + let arb: Option<&dyn KAddressArbiter> = object.into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> kernel/src/lib.rs:991:32 [INFO] [stdout] | [INFO] [stdout] 991 | let timer: Option<&KTimer> = (&*object).into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 991 - let timer: Option<&KTimer> = (&*object).into(); [INFO] [stdout] 991 + let timer: Option<&dyn KTimer> = (&*object).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> kernel/src/ipc.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "01038b5f2f76d248ef37bcd33709330e26155209a33334c30c5d8780c7b64353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01038b5f2f76d248ef37bcd33709330e26155209a33334c30c5d8780c7b64353", kill_on_drop: false }` [INFO] [stdout] 01038b5f2f76d248ef37bcd33709330e26155209a33334c30c5d8780c7b64353