game_kernel_vfs 0.1.0

VFS for game_kernel
Documentation
Build #344884 2021-02-02T20:28:49.330958+00:00
# rustc version
rustc 1.51.0-nightly (04caa632d 2021-01-30)
# docs.rs version
docsrs 0.6.0 (4c80a04 2021-01-23)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/game_kernel_vfs-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/game_kernel_vfs-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20210130-1.51.0-nightly-04caa632d" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 45db7f414157ef843d63a76e0fe52d5a40f53378dae3379845ec13b8fd822f8e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "45db7f414157ef843d63a76e0fe52d5a40f53378dae3379845ec13b8fd822f8e", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.85
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking hashbag v0.1.3
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking evmap v10.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]     Checking game_kernel_utils v0.1.0
[INFO] [stderr]  Documenting game_kernel_vfs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: variant `file` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 |     file(Box<VFile>),
[INFO] [stderr]    |     ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `File`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ro_file` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     ro_file(Box<VROFile>),
[INFO] [stderr]    |     ^^^^^^^ help: convert the identifier to upper camel case: `RoFile`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `directory` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     directory(Directory),
[INFO] [stderr]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Directory`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:157:19
[INFO] [stderr]     |
[INFO] [stderr] 157 |             match (curr_obj.obj_type) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:177:19
[INFO] [stderr]     |
[INFO] [stderr] 177 |             match (curr_obj.obj_type) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:198:19
[INFO] [stderr]     |
[INFO] [stderr] 198 |             match (curr_obj.obj_type) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:220:21
[INFO] [stderr]     |
[INFO] [stderr] 220 |     let dir = match (&mut Arc::get_mut(&mut b).ok_or(())?.obj_type) {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:247:15
[INFO] [stderr]     |
[INFO] [stderr] 247 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]    --> src/lib.rs:258:15
[INFO] [stderr]     |
[INFO] [stderr] 258 |         match ((obj.can_read(&self.user), obj.can_write(&self.user), perm)) {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: 9 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.58s
[INFO] running `Command { std: "docker" "inspect" "45db7f414157ef843d63a76e0fe52d5a40f53378dae3379845ec13b8fd822f8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45db7f414157ef843d63a76e0fe52d5a40f53378dae3379845ec13b8fd822f8e", kill_on_drop: false }`
[INFO] [stdout] 45db7f414157ef843d63a76e0fe52d5a40f53378dae3379845ec13b8fd822f8e