[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltarf02%2FRust-101" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Altarf02/Rust-101 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd1f306ee2ef37f200ea4bfed22dc6173eebfb494121f8e1a60bb1cfa13b14e4 [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" "bd1f306ee2ef37f200ea4bfed22dc6173eebfb494121f8e1a60bb1cfa13b14e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1f306ee2ef37f200ea4bfed22dc6173eebfb494121f8e1a60bb1cfa13b14e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1f306ee2ef37f200ea4bfed22dc6173eebfb494121f8e1a60bb1cfa13b14e4", kill_on_drop: false }` [INFO] [stdout] bd1f306ee2ef37f200ea4bfed22dc6173eebfb494121f8e1a60bb1cfa13b14e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7821065077fd62855cfee1b1289bb480006d06fd010b8401cd7c5bf102ccb3a3 [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" "7821065077fd62855cfee1b1289bb480006d06fd010b8401cd7c5bf102ccb3a3", 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] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "7821065077fd62855cfee1b1289bb480006d06fd010b8401cd7c5bf102ccb3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7821065077fd62855cfee1b1289bb480006d06fd010b8401cd7c5bf102ccb3a3", kill_on_drop: false }` [INFO] [stdout] 7821065077fd62855cfee1b1289bb480006d06fd010b8401cd7c5bf102ccb3a3