[INFO] fetching crate uapi 0.2.1... [INFO] checking uapi-0.2.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate uapi 0.2.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate uapi 0.2.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uapi-proc v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf2025f1dcf1b986253ea6d933e01dd8f904852219e03959c6859d9e3c07322 [INFO] running `Command { std: "docker" "start" "-a" "7cf2025f1dcf1b986253ea6d933e01dd8f904852219e03959c6859d9e3c07322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf2025f1dcf1b986253ea6d933e01dd8f904852219e03959c6859d9e3c07322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf2025f1dcf1b986253ea6d933e01dd8f904852219e03959c6859d9e3c07322", kill_on_drop: false }` [INFO] [stdout] 7cf2025f1dcf1b986253ea6d933e01dd8f904852219e03959c6859d9e3c07322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1340896ddd57f305d4ed5264f34e66eb1a7ca5f92fe84b980050ff6e75ca1beb [INFO] running `Command { std: "docker" "start" "-a" "1340896ddd57f305d4ed5264f34e66eb1a7ca5f92fe84b980050ff6e75ca1beb", 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] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling uapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling regex v1.5.4 [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[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] [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/mknod_mode.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use testutils::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `testutils` [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[E0433]: failed to resolve: use of undeclared type `Tempdir` [INFO] [stdout] --> tests/mknod_mode.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | 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/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[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[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/pivot_root.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | 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[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[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/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: cannot find macro `defer` in this scope [INFO] [stdout] --> tests/pivot_root.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | defer!(|| umount2(tmp.bstr(), 0).unwrap()); [INFO] [stdout] | ^^^^^ [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: cannot find macro `defer` in this scope [INFO] [stdout] --> tests/pivot_root.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | defer!(|| umount2(sub1, 0).unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir` [INFO] [stdout] --> tests/pivot_root.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[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 4 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/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[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[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/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 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] error[E0432]: unresolved import `testutils` [INFO] [stdout] --> tests/openat_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 3 previous errors [INFO] [stdout] [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: 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/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/openat_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: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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/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[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: 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/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[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/process2.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/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: 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[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[E0425]: cannot find function `in_fork` in this scope [INFO] [stdout] --> tests/process2.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | 0 => in_fork(|| exit(0)), [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 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/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/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: 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[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: aborting due to 2 previous errors [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] 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/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/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[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: 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[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" "1340896ddd57f305d4ed5264f34e66eb1a7ca5f92fe84b980050ff6e75ca1beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1340896ddd57f305d4ed5264f34e66eb1a7ca5f92fe84b980050ff6e75ca1beb", kill_on_drop: false }` [INFO] [stdout] 1340896ddd57f305d4ed5264f34e66eb1a7ca5f92fe84b980050ff6e75ca1beb