[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] documenting ds84182/pomelo against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fds84182%2Fpomelo" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ds84182/pomelo on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-2/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" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd80b02ad5e59df04a0f2ab46e6009578b10d2384e66a9decdbfffde4b751b8b [INFO] running `Command { std: "docker" "start" "-a" "fd80b02ad5e59df04a0f2ab46e6009578b10d2384e66a9decdbfffde4b751b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd80b02ad5e59df04a0f2ab46e6009578b10d2384e66a9decdbfffde4b751b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd80b02ad5e59df04a0f2ab46e6009578b10d2384e66a9decdbfffde4b751b8b", kill_on_drop: false }` [INFO] [stdout] fd80b02ad5e59df04a0f2ab46e6009578b10d2384e66a9decdbfffde4b751b8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dbe8238b8e099798260501321b5a3b397ad17ba54e94112ea372a09fa50ade2 [INFO] running `Command { std: "docker" "start" "-a" "5dbe8238b8e099798260501321b5a3b397ad17ba54e94112ea372a09fa50ade2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [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] Checking lock_api v0.1.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Compiling dynarmic-sys v0.1.0 (https://github.com/ds84182/dynarmic-rs#3d347463) [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clocksource v0.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking pomelo_formats v0.1.0 (/opt/rustwide/workdir/formats) [INFO] [stderr] Documenting pomelo_formats v0.1.0 (/opt/rustwide/workdir/formats) [INFO] [stderr] Checking 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] Checking parking_lot v0.7.1 [INFO] [stderr] Checking pomelo_kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Documenting pomelo_kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] error: failed to run custom build command for `dynarmic-sys v0.1.0 (https://github.com/ds84182/dynarmic-rs#3d347463)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/dynarmic-sys-b773ac6527e26a63/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] running: "cmake" "/opt/rustwide/cargo-home/git/checkouts/dynarmic-rs-e3d83d158b70f7d4/3d34746/dynarmic-sys/." "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/dynarmic-sys-21e453010f23d4c6/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug" [INFO] [stderr] -- The C compiler identification is GNU 9.4.0 [INFO] [stderr] -- The CXX compiler identification is GNU 9.4.0 [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc -- works [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ -- works [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- Target architecture: x86_64 [INFO] [stderr] -- Configuring incomplete, errors occurred! [INFO] [stderr] See also "/opt/rustwide/target/debug/build/dynarmic-sys-21e453010f23d4c6/out/build/CMakeFiles/CMakeOutput.log". [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] CMake Warning (dev) in CMakeLists.txt: [INFO] [stderr] No project() command is present. The top-level CMakeLists.txt file must [INFO] [stderr] contain a literal, direct call to the project() command. Add a line of [INFO] [stderr] code such as [INFO] [stderr] [INFO] [stderr] project(ProjectName) [INFO] [stderr] [INFO] [stderr] near the top of the file, but after cmake_minimum_required(). [INFO] [stderr] [INFO] [stderr] CMake is pretending there is a "project(Project)" command on the first [INFO] [stderr] line. [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): [INFO] [stderr] Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least [INFO] [stderr] version "1.57.0") [INFO] [stderr] Call Stack (most recent call first): [INFO] [stderr] /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) [INFO] [stderr] /usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args) [INFO] [stderr] dynarmic/CMakeLists.txt:114 (find_package) [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Warning (dev) in CMakeLists.txt: [INFO] [stderr] No cmake_minimum_required command is present. A line of code such as [INFO] [stderr] [INFO] [stderr] cmake_minimum_required(VERSION 3.16) [INFO] [stderr] [INFO] [stderr] should be added at the top of the file. The version specified may be lower [INFO] [stderr] if you wish to support older CMake versions for this project. For more [INFO] [stderr] information run "cmake --help-policy CMP0000". [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at ' [INFO] [stderr] command did not execute successfully, got: exit status: 1 [INFO] [stderr] [INFO] [stderr] build script failed, must exit now', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.38/src/lib.rs:813:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55ad0a69b48d - std::backtrace_rs::backtrace::libunwind::trace::ha8406fd4a233ad1f [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x55ad0a69b48d - std::backtrace_rs::backtrace::trace_unsynchronized::h95f26ca4bd23bd0f [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55ad0a69b48d - std::sys_common::backtrace::_print_fmt::h9955f0b025c061cd [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x55ad0a69b48d - ::fmt::h1025ecd2bac85833 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x55ad0a6baf1c - core::fmt::write::hd5fa34bae8a7f0ea [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/core/src/fmt/mod.rs:1196:17 [INFO] [stderr] 5: 0x55ad0a698071 - std::io::Write::write_fmt::h203cec764662c27d [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/io/mod.rs:1654:15 [INFO] [stderr] 6: 0x55ad0a69ccd5 - std::sys_common::backtrace::_print::h330c8fadbab13d8b [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x55ad0a69ccd5 - std::sys_common::backtrace::print::h38d4cf1c3e16e656 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x55ad0a69ccd5 - std::panicking::default_hook::{{closure}}::h56cdf194ec124abb [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x55ad0a69c949 - std::panicking::default_hook::h9929fdc60733f795 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x55ad0a69d2a8 - std::panicking::rust_panic_with_hook::h490228be5a55104d [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:698:17 [INFO] [stderr] 11: 0x55ad0a69d157 - std::panicking::begin_panic_handler::{{closure}}::hfd963b6683c36656 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:588:13 [INFO] [stderr] 12: 0x55ad0a69b944 - std::sys_common::backtrace::__rust_end_short_backtrace::h2912e3decfe2cba4 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stderr] 13: 0x55ad0a69ce89 - rust_begin_unwind [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:584:5 [INFO] [stderr] 14: 0x55ad0a629833 - core::panicking::panic_fmt::hf4ba906a2c8693a2 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/core/src/panicking.rs:142:14 [INFO] [stderr] 15: 0x55ad0a63169d - cmake::fail::hd07aca26300ce836 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.38/src/lib.rs:813:5 [INFO] [stderr] 16: 0x55ad0a6310d5 - cmake::run::h2156d8eca172f87a [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.38/src/lib.rs:791:9 [INFO] [stderr] 17: 0x55ad0a62d5a9 - cmake::Config::build::h3b1afd677cd25796 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.38/src/lib.rs:629:13 [INFO] [stderr] 18: 0x55ad0a62a1c0 - build_script_build::main::hc126e04de35f4cb4 [INFO] [stderr] at /opt/rustwide/cargo-home/git/checkouts/dynarmic-rs-e3d83d158b70f7d4/3d34746/dynarmic-sys/build.rs:4:15 [INFO] [stderr] 19: 0x55ad0a62a53b - core::ops::function::FnOnce::call_once::hb278588e36c78437 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/core/src/ops/function.rs:248:5 [INFO] [stderr] 20: 0x55ad0a62a90e - std::sys_common::backtrace::__rust_begin_short_backtrace::h713b8b6f1943835a [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stderr] 21: 0x55ad0a629c11 - std::rt::lang_start::{{closure}}::h91e3208e21b68d93 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/rt.rs:145:18 [INFO] [stderr] 22: 0x55ad0a69422e - core::ops::function::impls:: for &F>::call_once::h9c80b603d656db3f [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/core/src/ops/function.rs:280:13 [INFO] [stderr] 23: 0x55ad0a69422e - std::panicking::try::do_call::h86b1dd6fd2903147 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:492:40 [INFO] [stderr] 24: 0x55ad0a69422e - std::panicking::try::h06cba322e163361a [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:456:19 [INFO] [stderr] 25: 0x55ad0a69422e - std::panic::catch_unwind::h77fc4ef3c419c34e [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panic.rs:137:14 [INFO] [stderr] 26: 0x55ad0a69422e - std::rt::lang_start_internal::{{closure}}::h6786ee70f1cf45dc [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/rt.rs:128:48 [INFO] [stderr] 27: 0x55ad0a69422e - std::panicking::try::do_call::h682a3324f06cc1bc [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:492:40 [INFO] [stderr] 28: 0x55ad0a69422e - std::panicking::try::h09ce465b693a7cf9 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panicking.rs:456:19 [INFO] [stderr] 29: 0x55ad0a69422e - std::panic::catch_unwind::h5eb4cb244476317c [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/panic.rs:137:14 [INFO] [stderr] 30: 0x55ad0a69422e - std::rt::lang_start_internal::hba2d4a4771a618dc [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/rt.rs:128:20 [INFO] [stderr] 31: 0x55ad0a629be0 - std::rt::lang_start::h4169e89b1f815863 [INFO] [stderr] at /rustc/daf68b1f766e67ffe040260b15c218301853386a/library/std/src/rt.rs:144:17 [INFO] [stderr] 32: 0x55ad0a62a3cc - main [INFO] [stderr] 33: 0x7f24a6afb0b3 - __libc_start_main [INFO] [stderr] 34: 0x55ad0a629a2e - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 beta 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 beta 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] 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning 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] [stdout] error[E0554]: `#![feature]` may not be used on the beta 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 beta 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] [stderr] error: could not document `pomelo_kernel` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name pomelo_kernel kernel/src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=587a260efe3074ad -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-7fbbe5310243692e.rmeta --extern clocksource=/opt/rustwide/target/debug/deps/libclocksource-4f1aa1214aec3e14.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-e86f7c9e3f305ead.rmeta --extern xorshift=/opt/rustwide/target/debug/deps/libxorshift-66efb89a11d7a308.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] [stdout] warning: the feature `const_raw_ptr_deref` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> kernel/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> kernel/src/lib.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_transmute` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> kernel/src/lib.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `raw` [INFO] [stdout] --> kernel/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(raw, specialization, const_transmute, const_raw_ptr_deref)] [INFO] [stdout] | ^^^ [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] [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] [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 6 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pomelo_kernel` due to 7 previous errors; 56 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5dbe8238b8e099798260501321b5a3b397ad17ba54e94112ea372a09fa50ade2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dbe8238b8e099798260501321b5a3b397ad17ba54e94112ea372a09fa50ade2", kill_on_drop: false }` [INFO] [stdout] 5dbe8238b8e099798260501321b5a3b397ad17ba54e94112ea372a09fa50ade2