[INFO] cloning repository https://github.com/Altarf02/Rust-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Altarf02/Rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltarf02%2FRust-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltarf02%2FRust-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25cfda30df94ced33cdc12ff85bfe23f1e20a455 [INFO] checking Altarf02/Rust-101 against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltarf02%2FRust-101" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Altarf02/Rust-101 on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Altarf02/Rust-101 [INFO] finished tweaking git repo https://github.com/Altarf02/Rust-101 [INFO] tweaked toml for git repo https://github.com/Altarf02/Rust-101 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Altarf02/Rust-101 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 05888930f905058ef3586cfcfe298579dacaff16d832349fd3000ee754d17c0d [INFO] running `Command { std: "docker" "start" "-a" "05888930f905058ef3586cfcfe298579dacaff16d832349fd3000ee754d17c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05888930f905058ef3586cfcfe298579dacaff16d832349fd3000ee754d17c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05888930f905058ef3586cfcfe298579dacaff16d832349fd3000ee754d17c0d", kill_on_drop: false }` [INFO] [stdout] 05888930f905058ef3586cfcfe298579dacaff16d832349fd3000ee754d17c0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e477e35a2c4546752ec989547516908c4834d73f174996ca7adbf51d1752685 [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" "1e477e35a2c4546752ec989547516908c4834d73f174996ca7adbf51d1752685", kill_on_drop: false }` [INFO] [stderr] Checking Rust-101 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::unistd::*; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForkResult` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ForkResult::Child => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ForkResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fork` in this scope [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | let pid = fork(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getpid` in this scope [INFO] [stdout] --> src/main.rs:9:68 [INFO] [stdout] | [INFO] [stdout] 9 | println!("[PID {}] This is the child process", getpid()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getpid` in this scope [INFO] [stdout] --> src/main.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | println!("[PID {}] This is the parent process", getpid()); [INFO] [stdout] | ^^^^^^ not found in this scope [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust-101` [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[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nix::unistd::*; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForkResult` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ForkResult::Child => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ForkResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fork` in this scope [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | let pid = fork(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getpid` in this scope [INFO] [stdout] --> src/main.rs:9:68 [INFO] [stdout] | [INFO] [stdout] 9 | println!("[PID {}] This is the child process", getpid()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getpid` in this scope [INFO] [stdout] --> src/main.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | println!("[PID {}] This is the parent process", getpid()); [INFO] [stdout] | ^^^^^^ not found in this scope [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e477e35a2c4546752ec989547516908c4834d73f174996ca7adbf51d1752685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e477e35a2c4546752ec989547516908c4834d73f174996ca7adbf51d1752685", kill_on_drop: false }` [INFO] [stdout] 1e477e35a2c4546752ec989547516908c4834d73f174996ca7adbf51d1752685