[INFO] fetching crate uapi 0.2.1... [INFO] checking uapi-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate uapi 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate uapi 0.2.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8651f02b5e40dfcfa6506a6c76eff1d83a7888e9f7734fd4346f956aab0e5e81 [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" "8651f02b5e40dfcfa6506a6c76eff1d83a7888e9f7734fd4346f956aab0e5e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8651f02b5e40dfcfa6506a6c76eff1d83a7888e9f7734fd4346f956aab0e5e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8651f02b5e40dfcfa6506a6c76eff1d83a7888e9f7734fd4346f956aab0e5e81", kill_on_drop: false }` [INFO] [stdout] 8651f02b5e40dfcfa6506a6c76eff1d83a7888e9f7734fd4346f956aab0e5e81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f495fa96124fd0bc3bf65214ad26f1ed40b84aa1089f05bf2cc5c0a80947bc09 [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" "f495fa96124fd0bc3bf65214ad26f1ed40b84aa1089f05bf2cc5c0a80947bc09", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling uapi v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [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] Checking tempfile v3.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling uapi-proc v0.0.2 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/dupfd.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sched2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sched4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sethostname.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sched3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/mknod_mode.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/open_mode.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/signal.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/chroot.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/process5.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/setuid3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/sched.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/setuid2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/process1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/setuid1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/signalfd.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/openat2_mode.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/process4.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/process6.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/exec2.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/pivot_root.rs from 2018 edition to 2021 [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[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] [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[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/open_mode.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let tmp = Tempdir::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Tempdir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testutils` [INFO] [stdout] --> tests/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[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: 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/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[E0425]: cannot find function `in_fork` in this scope [INFO] [stdout] --> tests/process5.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | 0 => in_fork(|| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[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/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/openat2_mode.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use testutils::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `testutils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tempdir` [INFO] [stdout] --> tests/openat2_mode.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let tmp = Tempdir::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Tempdir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testutils` [INFO] [stdout] --> tests/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/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] [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/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: 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/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[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/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: 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] 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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f495fa96124fd0bc3bf65214ad26f1ed40b84aa1089f05bf2cc5c0a80947bc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f495fa96124fd0bc3bf65214ad26f1ed40b84aa1089f05bf2cc5c0a80947bc09", kill_on_drop: false }` [INFO] [stdout] f495fa96124fd0bc3bf65214ad26f1ed40b84aa1089f05bf2cc5c0a80947bc09