[INFO] fetching crate uapi 0.2.1... [INFO] checking uapi-0.2.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate uapi 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate uapi 0.2.1 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd5bcc8f3b81887fba1dde6db1777f1deef3cdddcbcc6cf12acb6616613625b8 [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" "bd5bcc8f3b81887fba1dde6db1777f1deef3cdddcbcc6cf12acb6616613625b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5bcc8f3b81887fba1dde6db1777f1deef3cdddcbcc6cf12acb6616613625b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5bcc8f3b81887fba1dde6db1777f1deef3cdddcbcc6cf12acb6616613625b8", kill_on_drop: false }` [INFO] [stdout] bd5bcc8f3b81887fba1dde6db1777f1deef3cdddcbcc6cf12acb6616613625b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a08446237d457c7cd39da59a56a7999f683a4612c287d713f297f08691704c2 [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" "2a08446237d457c7cd39da59a56a7999f683a4612c287d713f297f08691704c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling uapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling uapi-proc v0.0.2 [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[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/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[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] 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: 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: 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uapi` [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] [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: 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: 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[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[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] [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/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[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: 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/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[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/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 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/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[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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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/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" "2a08446237d457c7cd39da59a56a7999f683a4612c287d713f297f08691704c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a08446237d457c7cd39da59a56a7999f683a4612c287d713f297f08691704c2", kill_on_drop: false }` [INFO] [stdout] 2a08446237d457c7cd39da59a56a7999f683a4612c287d713f297f08691704c2