[INFO] fetching crate nt_native 0.1.2...
[INFO] checking nt_native-0.1.2 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate nt_native 0.1.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate nt_native 0.1.2 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nt_native 0.1.2
[INFO] finished tweaking crates.io crate nt_native 0.1.2
[INFO] tweaked toml for crates.io crate nt_native 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 16 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding ntapi v0.3.7 (latest: v0.4.1)
[INFO] [stderr]       Adding proc-macro-hack v0.3.3 (latest: v0.5.20+deprecated)
[INFO] [stderr]       Adding proc-macro-hack-impl v0.3.3 (latest: v0.4.3)
[INFO] [stderr]       Adding quote v0.3.15 (latest: v1.0.36)
[INFO] [stderr]       Adding syn v0.11.11 (latest: v2.0.60)
[INFO] [stderr]       Adding unicode-xid v0.0.4 (latest: v0.2.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rdisk_shared v0.1.0
[INFO] [stderr]   Downloaded wstr_impl v0.2.0
[INFO] [stderr]   Downloaded wstr v0.2.0
[INFO] [stderr]   Downloaded proc-macro-hack v0.3.3
[INFO] [stderr]   Downloaded proc-macro-hack-impl v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] af063a20dac1a2e6e2da37d5cd42cf61d23c4549e93f5b881dd9bb6c5b3d90ac
[INFO] running `Command { std: "docker" "start" "-a" "af063a20dac1a2e6e2da37d5cd42cf61d23c4549e93f5b881dd9bb6c5b3d90ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af063a20dac1a2e6e2da37d5cd42cf61d23c4549e93f5b881dd9bb6c5b3d90ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af063a20dac1a2e6e2da37d5cd42cf61d23c4549e93f5b881dd9bb6c5b3d90ac", kill_on_drop: false }`
[INFO] [stdout] af063a20dac1a2e6e2da37d5cd42cf61d23c4549e93f5b881dd9bb6c5b3d90ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78021512a3e2fda2b4016d9196f82640e7f509d0afe05ca76f62d5e47b50d822
[INFO] running `Command { std: "docker" "start" "-a" "78021512a3e2fda2b4016d9196f82640e7f509d0afe05ca76f62d5e47b50d822", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro-hack-impl v0.3.3
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling ntapi v0.3.7
[INFO] [stderr]     Checking rdisk_shared v0.1.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling proc-macro-hack v0.3.3
[INFO] [stderr]    Compiling wstr_impl v0.2.0
[INFO] [stderr]     Checking wstr v0.2.0
[INFO] [stderr]     Checking nt_native v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `nt_native::File`, `nt_native::NtString`
[INFO] [stdout]  --> tests/file_io.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use nt_native::{File, NtString};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^ no `NtString` in the root
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     no `File` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::fs::File
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let pos = handle.seek(SeekFrom::Start(5)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let pos = handle.seek(SeekFrom::Current(2)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let pos = handle.seek(SeekFrom::Current(-4)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let pos = handle.seek(SeekFrom::End(-3)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewHandle` in this scope
[INFO] [stdout]   --> tests/file_io.rs:85:44
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let (handle, already_exists) = NewHandle {
[INFO] [stdout]    |                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nt_native::*`
[INFO] [stdout]   --> tests/file_io.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |             use nt_native::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |             assert_eq!(File::open(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                           ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:27:68
[INFO] [stdout]    |
[INFO] [stdout] 27 |             assert_eq!(File::open_readonly(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                                    ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 |             assert_eq!(File::owerwrite(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                                ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |             assert_eq!(err, error::ALREADY_EXISTS);
[INFO] [stdout]    |                             ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShareAccess`
[INFO] [stdout]   --> tests/file_io.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 share_access: ShareAccess::default() | ShareAccess::DELETE,
[INFO] [stdout]    |                               ^^^^^^^^^^^ use of undeclared type `ShareAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShareAccess`
[INFO] [stdout]   --> tests/file_io.rs:86:56
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 share_access: ShareAccess::default() | ShareAccess::DELETE,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^ use of undeclared type `ShareAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NewHandle`
[INFO] [stdout]   --> tests/file_io.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 ..NewHandle::with_cd(CreateDisposition::OverwriteOrCreate)
[INFO] [stdout]    |                   ^^^^^^^^^ use of undeclared type `NewHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDisposition`
[INFO] [stdout]   --> tests/file_io.rs:87:38
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 ..NewHandle::with_cd(CreateDisposition::OverwriteOrCreate)
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDisposition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nt_native` (test "file_io") due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "78021512a3e2fda2b4016d9196f82640e7f509d0afe05ca76f62d5e47b50d822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78021512a3e2fda2b4016d9196f82640e7f509d0afe05ca76f62d5e47b50d822", kill_on_drop: false }`
[INFO] [stdout] 78021512a3e2fda2b4016d9196f82640e7f509d0afe05ca76f62d5e47b50d822
[INFO] checking nt_native-0.1.2 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate nt_native 0.1.2 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate nt_native 0.1.2 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nt_native 0.1.2
[INFO] finished tweaking crates.io crate nt_native 0.1.2
[INFO] tweaked toml for crates.io crate nt_native 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 16 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding ntapi v0.3.7 (latest: v0.4.1)
[INFO] [stderr]       Adding proc-macro-hack v0.3.3 (latest: v0.5.20+deprecated)
[INFO] [stderr]       Adding proc-macro-hack-impl v0.3.3 (latest: v0.4.3)
[INFO] [stderr]       Adding quote v0.3.15 (latest: v1.0.36)
[INFO] [stderr]       Adding syn v0.11.11 (latest: v2.0.60)
[INFO] [stderr]       Adding unicode-xid v0.0.4 (latest: v0.2.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ece15929f40c9310ff8705f7fdc691a2ef9616e1377218a5fded61230f655b0
[INFO] running `Command { std: "docker" "start" "-a" "1ece15929f40c9310ff8705f7fdc691a2ef9616e1377218a5fded61230f655b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ece15929f40c9310ff8705f7fdc691a2ef9616e1377218a5fded61230f655b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ece15929f40c9310ff8705f7fdc691a2ef9616e1377218a5fded61230f655b0", kill_on_drop: false }`
[INFO] [stdout] 1ece15929f40c9310ff8705f7fdc691a2ef9616e1377218a5fded61230f655b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93fe67eea03274b74851d5f9cb70870015b513969f79d605d6d35c28ae8c8a79
[INFO] running `Command { std: "docker" "start" "-a" "93fe67eea03274b74851d5f9cb70870015b513969f79d605d6d35c28ae8c8a79", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro-hack-impl v0.3.3
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling ntapi v0.3.7
[INFO] [stderr]     Checking rdisk_shared v0.1.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling proc-macro-hack v0.3.3
[INFO] [stderr]    Compiling wstr_impl v0.2.0
[INFO] [stderr]     Checking wstr v0.2.0
[INFO] [stderr]     Checking nt_native v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `nt_native::File`, `nt_native::NtString`
[INFO] [stdout]  --> tests/file_io.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use nt_native::{File, NtString};
[INFO] [stdout]   |                     ^^^^  ^^^^^^^^ no `NtString` in the root
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     no `File` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::fs::File
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let pos = handle.seek(SeekFrom::Start(5)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let pos = handle.seek(SeekFrom::Current(2)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let pos = handle.seek(SeekFrom::Current(-4)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> tests/file_io.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let pos = handle.seek(SeekFrom::End(-3)).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewHandle` in this scope
[INFO] [stdout]   --> tests/file_io.rs:85:44
[INFO] [stdout]    |
[INFO] [stdout] 85 |             let (handle, already_exists) = NewHandle {
[INFO] [stdout]    |                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nt_native::*`
[INFO] [stdout]   --> tests/file_io.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |             use nt_native::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 |             assert_eq!(File::open(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                           ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:27:68
[INFO] [stdout]    |
[INFO] [stdout] 27 |             assert_eq!(File::open_readonly(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                                    ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:28:64
[INFO] [stdout]    |
[INFO] [stdout] 28 |             assert_eq!(File::owerwrite(&nt_path).unwrap_err(), error::OBJECT_NOT_FOUND);
[INFO] [stdout]    |                                                                ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]   --> tests/file_io.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |             assert_eq!(err, error::ALREADY_EXISTS);
[INFO] [stdout]    |                             ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShareAccess`
[INFO] [stdout]   --> tests/file_io.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 share_access: ShareAccess::default() | ShareAccess::DELETE,
[INFO] [stdout]    |                               ^^^^^^^^^^^ use of undeclared type `ShareAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShareAccess`
[INFO] [stdout]   --> tests/file_io.rs:86:56
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 share_access: ShareAccess::default() | ShareAccess::DELETE,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^ use of undeclared type `ShareAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NewHandle`
[INFO] [stdout]   --> tests/file_io.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 ..NewHandle::with_cd(CreateDisposition::OverwriteOrCreate)
[INFO] [stdout]    |                   ^^^^^^^^^ use of undeclared type `NewHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDisposition`
[INFO] [stdout]   --> tests/file_io.rs:87:38
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 ..NewHandle::with_cd(CreateDisposition::OverwriteOrCreate)
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDisposition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nt_native` (test "file_io") due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "93fe67eea03274b74851d5f9cb70870015b513969f79d605d6d35c28ae8c8a79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93fe67eea03274b74851d5f9cb70870015b513969f79d605d6d35c28ae8c8a79", kill_on_drop: false }`
[INFO] [stdout] 93fe67eea03274b74851d5f9cb70870015b513969f79d605d6d35c28ae8c8a79
