[INFO] fetching crate uapi 0.2.1...
[INFO] checking uapi-0.2.1 against 1.55.0 for beta-1.56-3
[INFO] extracting crate uapi 0.2.1 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate uapi 0.2.1 on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate uapi 0.2.1
[INFO] finished tweaking crates.io crate uapi 0.2.1
[INFO] tweaked toml for crates.io crate uapi 0.2.1 written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 469b64db36569ad894df6452b85a6dab6b6b47f7483e7007ee2b46d908a80bd1
[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" "469b64db36569ad894df6452b85a6dab6b6b47f7483e7007ee2b46d908a80bd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "469b64db36569ad894df6452b85a6dab6b6b47f7483e7007ee2b46d908a80bd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "469b64db36569ad894df6452b85a6dab6b6b47f7483e7007ee2b46d908a80bd1", kill_on_drop: false }`
[INFO] [stdout] 469b64db36569ad894df6452b85a6dab6b6b47f7483e7007ee2b46d908a80bd1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e94d34135787fdb928b5dad96bcfb69bdad99239e045878484e3b184db0c9925
[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" "e94d34135787fdb928b5dad96bcfb69bdad99239e045878484e3b184db0c9925", kill_on_drop: false }`
[INFO] [stderr]    Compiling uapi v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling uapi-proc v0.0.2
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/process1.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/process3.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]  --> tests/process3.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         0 => in_fork(|| exit(1)),
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/process1.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uapi` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/chdir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/chdir.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/fcntl_lck.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/chroot.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/exec2.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use testutils::*;
[INFO] [stdout]   |         ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/fcntl_lck.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/fcntl_lck.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/process4.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/chroot.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec2.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec2.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec2.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/exec1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]  --> tests/process4.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |         0 => in_fork(|| {
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec1.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec1.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec1.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]   --> tests/exec1.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |         0 => in_fork(|| {
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]   --> tests/openat2_mode.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         use testutils::*;
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/openat2_mode.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let tmp = Tempdir::new();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/mknodat_mode.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use testutils::*;
[INFO] [stdout]   |         ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/mknodat_mode.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let tmp = Tempdir::new();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/process5.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/open_mode.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/open_mode.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let tmp = Tempdir::new();
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/dir/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/util.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/fcntl/linux.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::Tempdir;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/other/linux.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/socket/linux.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/socket/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/file/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/file/linux.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use testutils::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `testutils`
[INFO] [stdout]  --> tests/main/mount/linux.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use testutils::Tempdir;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `testutils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `in_fork` in this scope
[INFO] [stdout]  --> tests/process5.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         0 => in_fork(|| {
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/main/dir/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/dir/mod.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/dir/mod.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/dir/mod.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/linux.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/linux.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/linux.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/linux.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/linux.rs:166:15
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/linux.rs:230:15
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/mod.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/file/mod.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/mod.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/mod.rs:171:15
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/mod.rs:359:15
[INFO] [stdout]     |
[INFO] [stdout] 359 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/mod.rs:376:15
[INFO] [stdout]     |
[INFO] [stdout] 376 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/file/mod.rs:403:15
[INFO] [stdout]     |
[INFO] [stdout] 403 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/other/linux.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/main/socket/linux.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/socket/mod.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]   --> tests/main/socket/mod.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let tmp = Tempdir::new();
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]    --> tests/main/socket/mod.rs:148:15
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let tmp = Tempdir::new();
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir`
[INFO] [stdout]  --> tests/main/util.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let tmp = Tempdir::new();
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Tempdir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Tempdir` in this scope
[INFO] [stdout]  --> tests/main/dir/mod.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn readdir_x<F: Fn(&Tempdir) -> Result<Dir>>(f: F) {
[INFO] [stdout]   |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_file` in this scope
[INFO] [stdout]   --> tests/main/dir/mod.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         create_file(format_ustr!("{}/{}", tmp, d.display()));
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::mount::linux::create_file;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_file` in this scope
[INFO] [stdout]   --> tests/main/dir/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     create_file(format_ustr!("{}/a", tmp));
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::mount::linux::create_file;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope
[INFO] [stdout]    --> tests/main/file/linux.rs:247:20
[INFO] [stdout]     |
[INFO] [stdout] 247 |           assert_eq!(read_file(file.into()), "abc");
[INFO] [stdout]     |                      ^^^^^^^^^ help: a function with a similar name exists: `sendfile`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/file/linux.rs:191:1
[INFO] [stdout]     |
[INFO] [stdout] 191 | / pub fn sendfile(
[INFO] [stdout] 192 | |     out_fd: c::c_int,
[INFO] [stdout] 193 | |     in_fd: c::c_int,
[INFO] [stdout] 194 | |     offset: Option<&mut c::off_t>,
[INFO] [stdout] 195 | |     size: c::size_t,
[INFO] [stdout] 196 | | ) -> Result<usize> {
[INFO] [stdout]     | |__________________- similarly named function `sendfile` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/main/file/linux.rs:114:41
[INFO] [stdout]     |
[INFO] [stdout] 114 |     renameat2(*dir, path1, *dir, path2, c::RENAME_EXCHANGE).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 114 |     renameat2(*dir, path1, *dir, path2, c::RENAME_EXCHANGE.try_into().unwrap()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e94d34135787fdb928b5dad96bcfb69bdad99239e045878484e3b184db0c9925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e94d34135787fdb928b5dad96bcfb69bdad99239e045878484e3b184db0c9925", kill_on_drop: false }`
[INFO] [stdout] e94d34135787fdb928b5dad96bcfb69bdad99239e045878484e3b184db0c9925
