[INFO] fetching crate uapi 0.2.1... [INFO] testing uapi-0.2.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate uapi 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate uapi 0.2.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be65378c7090d436e9321ab0b79b063e1bf8090ea121a995d9794d24fe05cd36 [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" "be65378c7090d436e9321ab0b79b063e1bf8090ea121a995d9794d24fe05cd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be65378c7090d436e9321ab0b79b063e1bf8090ea121a995d9794d24fe05cd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be65378c7090d436e9321ab0b79b063e1bf8090ea121a995d9794d24fe05cd36", kill_on_drop: false }` [INFO] [stdout] be65378c7090d436e9321ab0b79b063e1bf8090ea121a995d9794d24fe05cd36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4a2d585da3633cbb3b314a50c7685472dc574046627f3b309a863ddf020636 [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" "7e4a2d585da3633cbb3b314a50c7685472dc574046627f3b309a863ddf020636", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling uapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling uapi-proc v0.0.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.01s [INFO] running `Command { std: "docker" "inspect" "7e4a2d585da3633cbb3b314a50c7685472dc574046627f3b309a863ddf020636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4a2d585da3633cbb3b314a50c7685472dc574046627f3b309a863ddf020636", kill_on_drop: false }` [INFO] [stdout] 7e4a2d585da3633cbb3b314a50c7685472dc574046627f3b309a863ddf020636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5664c8b98ab2e449f5f0f23ffd9889d08242ef69a2f088a9becf03287c3c898f [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" "5664c8b98ab2e449f5f0f23ffd9889d08242ef69a2f088a9becf03287c3c898f", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling uapi v0.2.1 (/opt/rustwide/workdir) [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[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/process6.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/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[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[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: aborting due to 2 previous errors [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] 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] For more information about an error, try `rustc --explain E0432`. [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: 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] [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[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/process6.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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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[E0432]: unresolved import `testutils` [INFO] [stdout] --> tests/setuid3.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[E0425]: cannot find function `in_fork` in this scope [INFO] [stdout] --> tests/setuid3.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | 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[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[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 Result>(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 { [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" "5664c8b98ab2e449f5f0f23ffd9889d08242ef69a2f088a9becf03287c3c898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5664c8b98ab2e449f5f0f23ffd9889d08242ef69a2f088a9becf03287c3c898f", kill_on_drop: false }` [INFO] [stdout] 5664c8b98ab2e449f5f0f23ffd9889d08242ef69a2f088a9becf03287c3c898f