[INFO] fetching crate uapi 0.2.2... [INFO] testing uapi-0.2.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate uapi 0.2.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate uapi 0.2.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uapi 0.2.2 [INFO] finished tweaking crates.io crate uapi 0.2.2 [INFO] tweaked toml for crates.io crate uapi 0.2.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc0aba0e573edcf90cd3f7a3243f0818c6890740d6be124293e6fe7e22b56673 [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" "cc0aba0e573edcf90cd3f7a3243f0818c6890740d6be124293e6fe7e22b56673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc0aba0e573edcf90cd3f7a3243f0818c6890740d6be124293e6fe7e22b56673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0aba0e573edcf90cd3f7a3243f0818c6890740d6be124293e6fe7e22b56673", kill_on_drop: false }` [INFO] [stdout] cc0aba0e573edcf90cd3f7a3243f0818c6890740d6be124293e6fe7e22b56673 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5670a20cfd1f6d8ef1990011630afd63664ba2bb9d5090d841c270895d64ced [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" "a5670a20cfd1f6d8ef1990011630afd63664ba2bb9d5090d841c270895d64ced", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling uapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling uapi-proc v0.0.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.80s [INFO] running `Command { std: "docker" "inspect" "a5670a20cfd1f6d8ef1990011630afd63664ba2bb9d5090d841c270895d64ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5670a20cfd1f6d8ef1990011630afd63664ba2bb9d5090d841c270895d64ced", kill_on_drop: false }` [INFO] [stdout] a5670a20cfd1f6d8ef1990011630afd63664ba2bb9d5090d841c270895d64ced [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64d88e913dff9118c422cb1c3ac106c3d272e191bade78bf2915cf7bd151c10c [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" "64d88e913dff9118c422cb1c3ac106c3d272e191bade78bf2915cf7bd151c10c", kill_on_drop: false }` [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.2 (/opt/rustwide/workdir) [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/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[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/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: 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` 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/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/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/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/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[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[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/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/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[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/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: 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[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[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: 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/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/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/fcntl/linux.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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: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/socket/linux.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/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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 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/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:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | 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:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | 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:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | 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:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | 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:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | 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:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | 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:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | 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] note: function `crate::mount::linux::create_file` exists but is inaccessible [INFO] [stdout] --> tests/main/mount/linux.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | fn create_file<'a>(dfd: c_int, p: impl IntoUstr<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [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] note: function `crate::mount::linux::create_file` exists but is inaccessible [INFO] [stdout] --> tests/main/mount/linux.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | fn create_file<'a>(dfd: c_int, p: impl IntoUstr<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> tests/main/file/linux.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | 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:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 124 | renameat2(*dir, path1, *dir, path2, c::RENAME_EXCHANGE.try_into().unwrap()).unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `[{integer}; 128]` [INFO] [stdout] --> tests/main/file/linux.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 183 | let mut buf = [0; 128]; [INFO] [stdout] | ------- consider giving `buf` the explicit type `[{integer}; 128]`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 186 | inotify_read(*e, &mut buf[..]).err().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pod` found in the `uapi` crate: [INFO] [stdout] - impl Pod for i128; [INFO] [stdout] - impl Pod for i16; [INFO] [stdout] - impl Pod for i32; [INFO] [stdout] - impl Pod for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Pod` for `[{integer}]` [INFO] [stdout] note: required by a bound in `uapi::inotify_read` [INFO] [stdout] --> /opt/rustwide/workdir/src/file/linux.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn inotify_read( [INFO] [stdout] | ^^^ required by this bound in `uapi::inotify_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `[{integer}; 128]` [INFO] [stdout] --> tests/main/file/mod.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 183 | let mut buf = [0; 128]; [INFO] [stdout] | ------- consider giving `buf` the explicit type `[{integer}; 128]`, where the type parameter `{integer}` is specified [INFO] [stdout] 184 | [INFO] [stdout] 185 | assert_eq!(readlink(path2, &mut buf[..]).unwrap(), path.as_bytes()); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pod` found in the `uapi` crate: [INFO] [stdout] - impl Pod for i128; [INFO] [stdout] - impl Pod for i16; [INFO] [stdout] - impl Pod for i32; [INFO] [stdout] - impl Pod for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Pod` for `[{integer}]` [INFO] [stdout] note: required by a bound in `uapi::readlink` [INFO] [stdout] --> /opt/rustwide/workdir/src/file/mod.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn readlink<'a, 'b, T: Pod + ?Sized>( [INFO] [stdout] | ^^^ required by this bound in `uapi::readlink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `[{integer}; 128]` [INFO] [stdout] --> tests/main/file/mod.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut buf = [0; 128]; [INFO] [stdout] | ------- consider giving `buf` the explicit type `[{integer}; 128]`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 197 | readlinkat(*tmpdir, "b", &mut buf[..]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pod` found in the `uapi` crate: [INFO] [stdout] - impl Pod for i128; [INFO] [stdout] - impl Pod for i16; [INFO] [stdout] - impl Pod for i32; [INFO] [stdout] - impl Pod for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Pod` for `[{integer}]` [INFO] [stdout] note: required by a bound in `uapi::readlinkat` [INFO] [stdout] --> /opt/rustwide/workdir/src/file/mod.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn readlinkat<'a, 'b, T: Pod + ?Sized>( [INFO] [stdout] | ^^^ required by this bound in `uapi::readlinkat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `[{integer}; 128]` [INFO] [stdout] --> tests/main/socket/mod.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 199 | let mut cmsg_buf = [0; 128]; [INFO] [stdout] | ------------ consider giving `cmsg_buf` the explicit type `[{integer}; 128]`, where the type parameter `{integer}` is specified [INFO] [stdout] 200 | let mut msghdr = MsghdrMut { [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pod` found in the `uapi` crate: [INFO] [stdout] - impl Pod for i128; [INFO] [stdout] - impl Pod for i16; [INFO] [stdout] - impl Pod for i32; [INFO] [stdout] - impl Pod for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Pod` for `[{integer}]` [INFO] [stdout] note: required by `uapi::MsghdrMut` [INFO] [stdout] --> /opt/rustwide/workdir/src/socket/mod.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub struct MsghdrMut< [INFO] [stdout] 262 | | 'b, [INFO] [stdout] 263 | | 'c, [INFO] [stdout] 264 | | 'd, [INFO] [stdout] ... | [INFO] [stdout] 272 | | pub flags: c::c_int, [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "64d88e913dff9118c422cb1c3ac106c3d272e191bade78bf2915cf7bd151c10c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d88e913dff9118c422cb1c3ac106c3d272e191bade78bf2915cf7bd151c10c", kill_on_drop: false }` [INFO] [stdout] 64d88e913dff9118c422cb1c3ac106c3d272e191bade78bf2915cf7bd151c10c