[INFO] fetching crate game_kernel_vfs 0.1.0...
[INFO] checking game_kernel_vfs-0.1.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] extracting crate game_kernel_vfs 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate game_kernel_vfs 0.1.0
[INFO] finished tweaking crates.io crate game_kernel_vfs 0.1.0
[INFO] tweaked toml for crates.io crate game_kernel_vfs 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate game_kernel_vfs 0.1.0 on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 40 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88
[INFO] running `Command { std: "docker" "start" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking hashbag v0.1.13
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking evmap v10.0.2
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking game_kernel_utils v0.1.0
[INFO] [stderr]     Checking game_kernel_vfs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `RefCell` and `Ref`
[INFO] [stdout]  --> src/lib.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLockReadGuard` and `RwLock`
[INFO] [stdout]  --> src/lib.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, RwLock, RwLockReadGuard};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MapMap`
[INFO] [stdout]  --> src/lib.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | use game_kernel_utils::{MapAbstract, MapMap};
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `file` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<VFile>),
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `File`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ro_file` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `RoFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `directory` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     directory(Directory),
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Directory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -             match (curr_obj.obj_type) {
[INFO] [stdout] 157 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 177 -             match (curr_obj.obj_type) {
[INFO] [stdout] 177 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -             match (curr_obj.obj_type) {
[INFO] [stdout] 198 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:220:21
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let dir = match (&mut Arc::get_mut(&mut b).ok_or(())?.obj_type) {
[INFO] [stdout]     |                     ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -     let dir = match (&mut Arc::get_mut(&mut b).ok_or(())?.obj_type) {
[INFO] [stdout] 220 +     let dir = match &mut Arc::get_mut(&mut b).ok_or(())?.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:247:15
[INFO] [stdout]     |
[INFO] [stdout] 247 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout]     |               ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 247 -         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout] 247 +         match (obj.can_read(&self.user), obj.can_write(&self.user), perm)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:258:15
[INFO] [stdout]     |
[INFO] [stdout] 258 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout]     |               ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 258 -         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout] 258 +         match (obj.can_read(&self.user), obj.can_write(&self.user), perm)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<VFile>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<dyn VFile>),
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<dyn VROFile>),
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn as_ro(&self) -> &VROFile {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn as_ro(&self) -> &dyn VROFile {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn as_ro(&self) -> &VROFile;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn as_ro(&self) -> &dyn VROFile;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefCell` and `Ref`
[INFO] [stdout]  --> src/lib.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLockReadGuard` and `RwLock`
[INFO] [stdout]  --> src/lib.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, RwLock, RwLockReadGuard};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MapMap`
[INFO] [stdout]  --> src/lib.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | use game_kernel_utils::{MapAbstract, MapMap};
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `file` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<VFile>),
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `File`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ro_file` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `RoFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `directory` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     directory(Directory),
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Directory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -             match (curr_obj.obj_type) {
[INFO] [stdout] 157 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:177:19
[INFO] [stdout]     |
[INFO] [stdout] 177 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 177 -             match (curr_obj.obj_type) {
[INFO] [stdout] 177 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |             match (curr_obj.obj_type) {
[INFO] [stdout]     |                   ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -             match (curr_obj.obj_type) {
[INFO] [stdout] 198 +             match curr_obj.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:220:21
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let dir = match (&mut Arc::get_mut(&mut b).ok_or(())?.obj_type) {
[INFO] [stdout]     |                     ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 220 -     let dir = match (&mut Arc::get_mut(&mut b).ok_or(())?.obj_type) {
[INFO] [stdout] 220 +     let dir = match &mut Arc::get_mut(&mut b).ok_or(())?.obj_type  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:247:15
[INFO] [stdout]     |
[INFO] [stdout] 247 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout]     |               ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 247 -         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout] 247 +         match (obj.can_read(&self.user), obj.can_write(&self.user), perm)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/lib.rs:258:15
[INFO] [stdout]     |
[INFO] [stdout] 258 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout]     |               ^                                                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 258 -         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stdout] 258 +         match (obj.can_read(&self.user), obj.can_write(&self.user), perm)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<VFile>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file(Box<dyn VFile>),
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     ro_file(Box<dyn VROFile>),
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MapAbstract`
[INFO] [stdout]  --> src/lib.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use game_kernel_utils::{MapAbstract, MapMap};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn as_ro(&self) -> &VROFile {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn as_ro(&self) -> &dyn VROFile {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn as_ro(&self) -> &VROFile;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn as_ro(&self) -> &dyn VROFile;
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/lib.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let (path, name) = path.split_at_base();
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open_rw` is never used
[INFO] [stdout]   --> src/lib.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait VFile: VROFile {
[INFO] [stdout]    |       ----- method in this trait
[INFO] [stdout] 17 |     fn open_rw(&self) -> Box<dyn OpenVROFile>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open` is never used
[INFO] [stdout]   --> src/lib.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | trait VROFile: AsVROFile {
[INFO] [stdout]    |       ------- method in this trait
[INFO] [stdout] 21 |     fn open(&mut self) -> Box<dyn OpenVROFile>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_ro` is never used
[INFO] [stdout]   --> src/lib.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | trait AsVROFile {
[INFO] [stdout]    |       --------- method in this trait
[INFO] [stdout] 25 |     fn as_ro(&self) -> &VROFile;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `file` and `ro_file` are never constructed
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum FsObjTypes {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 35 |     file(Box<VFile>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `ro`, and `acl` are never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct FileMeta {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 76 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 77 |     ro: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 78 |     acl: HashMap<u32, Permissions>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user` and `vfs` are never read
[INFO] [stdout]    --> src/lib.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct VfsHanfle<'a> {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 234 |     user: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 235 |     vfs: &'a Vfs,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_permission`, `check_permission_mut`, and `own_acl` are never used
[INFO] [stdout]    --> src/lib.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl<'a> VfsHanfle<'a> {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 243 |     fn check_permission<T>(&self, obj: T, perm: Permissions) -> Result<T, ()>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn check_permission_mut<T>(&self, obj: T, perm: Permissions) -> Result<T, ()>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |     fn own_acl(&self) -> HashMap<u32, Permissions> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MapAbstract`
[INFO] [stdout]  --> src/lib.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use game_kernel_utils::{MapAbstract, MapMap};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/lib.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let (path, name) = path.split_at_base();
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     dir.put_object(FsObject {
[INFO] [stdout] 225 | |         //parent: Some(RefCell::new(*dir)),
[INFO] [stdout] 226 | |         obj_type: FsObjTypes::directory(driver_tobject.get_root()),
[INFO] [stdout] 227 | |         name: filename,
[INFO] [stdout] 228 | |         acl: HashMap::new(),
[INFO] [stdout] 229 | |     });
[INFO] [stdout]     | |______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let _ = dir.put_object(FsObject {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open_rw` is never used
[INFO] [stdout]   --> src/lib.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait VFile: VROFile {
[INFO] [stdout]    |       ----- method in this trait
[INFO] [stdout] 17 |     fn open_rw(&self) -> Box<dyn OpenVROFile>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open` is never used
[INFO] [stdout]   --> src/lib.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | trait VROFile: AsVROFile {
[INFO] [stdout]    |       ------- method in this trait
[INFO] [stdout] 21 |     fn open(&mut self) -> Box<dyn OpenVROFile>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_ro` is never used
[INFO] [stdout]   --> src/lib.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | trait AsVROFile {
[INFO] [stdout]    |       --------- method in this trait
[INFO] [stdout] 25 |     fn as_ro(&self) -> &VROFile;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `file` and `ro_file` are never constructed
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum FsObjTypes {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 35 |     file(Box<VFile>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 36 |     ro_file(Box<VROFile>),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `ro`, and `acl` are never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct FileMeta {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 76 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 77 |     ro: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 78 |     acl: HashMap<u32, Permissions>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user` and `vfs` are never read
[INFO] [stdout]    --> src/lib.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct VfsHanfle<'a> {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 234 |     user: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 235 |     vfs: &'a Vfs,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_permission`, `check_permission_mut`, and `own_acl` are never used
[INFO] [stdout]    --> src/lib.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl<'a> VfsHanfle<'a> {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 243 |     fn check_permission<T>(&self, obj: T, perm: Permissions) -> Result<T, ()>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     fn check_permission_mut<T>(&self, obj: T, perm: Permissions) -> Result<T, ()>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |     fn own_acl(&self) -> HashMap<u32, Permissions> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     dir.put_object(FsObject {
[INFO] [stdout] 225 | |         //parent: Some(RefCell::new(*dir)),
[INFO] [stdout] 226 | |         obj_type: FsObjTypes::directory(driver_tobject.get_root()),
[INFO] [stdout] 227 | |         name: filename,
[INFO] [stdout] 228 | |         acl: HashMap::new(),
[INFO] [stdout] 229 | |     });
[INFO] [stdout]     | |______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let _ = dir.put_object(FsObject {
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s
[INFO] running `Command { std: "docker" "inspect" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88", kill_on_drop: false }`
[INFO] [stdout] ecfef456c8886a57303851f59e21ec17002f3c4738deac9215f8c15b36212e88
