[INFO] crate nt_native 0.1.2 is already in cache [INFO] testing nt_native-0.1.2 against 1.45.2 for beta-1.46-1 [INFO] extracting crate nt_native 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate nt_native 0.1.2 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 951f381e8e1002fd76185fcbf5ad6ab073fc7b70d01c27821009137d200d98bc [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" "951f381e8e1002fd76185fcbf5ad6ab073fc7b70d01c27821009137d200d98bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "951f381e8e1002fd76185fcbf5ad6ab073fc7b70d01c27821009137d200d98bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "951f381e8e1002fd76185fcbf5ad6ab073fc7b70d01c27821009137d200d98bc", kill_on_drop: false }` [INFO] [stdout] 951f381e8e1002fd76185fcbf5ad6ab073fc7b70d01c27821009137d200d98bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db3332d2bb5d0ec62f0083d0079022922a10ec90ba5531596d1e065594adbd5a [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" "db3332d2bb5d0ec62f0083d0079022922a10ec90ba5531596d1e065594adbd5a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack-impl v0.3.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.4 [INFO] [stderr] Compiling rdisk_shared v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.3.3 [INFO] [stderr] Compiling wstr_impl v0.2.0 [INFO] [stderr] Compiling wstr v0.2.0 [INFO] [stderr] Compiling nt_native v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "db3332d2bb5d0ec62f0083d0079022922a10ec90ba5531596d1e065594adbd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3332d2bb5d0ec62f0083d0079022922a10ec90ba5531596d1e065594adbd5a", kill_on_drop: false }` [INFO] [stdout] db3332d2bb5d0ec62f0083d0079022922a10ec90ba5531596d1e065594adbd5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917e00068eec2856dfae858f2ac2b8b03c8900345a829ea19b252f2a4af19e02 [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" "917e00068eec2856dfae858f2ac2b8b03c8900345a829ea19b252f2a4af19e02", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `SeekFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ShareAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ShareAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `NewHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `CreateDisposition` [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: 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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "917e00068eec2856dfae858f2ac2b8b03c8900345a829ea19b252f2a4af19e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917e00068eec2856dfae858f2ac2b8b03c8900345a829ea19b252f2a4af19e02", kill_on_drop: false }` [INFO] [stdout] 917e00068eec2856dfae858f2ac2b8b03c8900345a829ea19b252f2a4af19e02