[INFO] cloning repository Altarf02/Rust-101 [INFO] running `"git" "clone" "--bare" "git://github.com/Altarf02/Rust-101.git" "work/cache/sources/gh/Altarf02/Rust-101"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/Altarf02/Rust-101'... [INFO] running `"git" "clone" "work/cache/sources/gh/Altarf02/Rust-101" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/Altarf02/Rust-101"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/Altarf02/Rust-101'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Altarf02/Rust-101" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/Altarf02/Rust-101"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/Altarf02/Rust-101'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0bfcd1bc88ca3b20848409efd7d8d0d77a5205c9 [INFO] sha for GitHub repo Altarf02/Rust-101: 0bfcd1bc88ca3b20848409efd7d8d0d77a5205c9 [INFO] validating manifest of Altarf02/Rust-101 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Altarf02/Rust-101 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Altarf02/Rust-101 [INFO] finished frobbing Altarf02/Rust-101 [INFO] frobbed toml for Altarf02/Rust-101 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/Altarf02/Rust-101/Cargo.toml [INFO] started frobbing Altarf02/Rust-101 [INFO] finished frobbing Altarf02/Rust-101 [INFO] frobbed toml for Altarf02/Rust-101 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/Altarf02/Rust-101/Cargo.toml [INFO] crate Altarf02/Rust-101 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Altarf02/Rust-101 against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-4/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/Altarf02/Rust-101:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] e94b58769feda3789947720639a1f46e1dc3bd26bf27ca5955ce4fc2ed7af926 [INFO] running `"docker" "start" "-a" "e94b58769feda3789947720639a1f46e1dc3bd26bf27ca5955ce4fc2ed7af926"` [INFO] [stderr] Compiling Rust-101 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing `extern crate nix;`? [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nix::unistd::*; [INFO] [stderr] | ^^^ maybe a missing `extern crate nix;`? [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ForkResult` [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | ForkResult::Child => { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ForkResult` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `fork` in this scope [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | let pid = fork(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getpid` in this scope [INFO] [stderr] --> src/main.rs:9:68 [INFO] [stderr] | [INFO] [stderr] 9 | println!("[PID {}] This is the child process", getpid()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getpid` in this scope [INFO] [stderr] --> src/main.rs:12:69 [INFO] [stderr] | [INFO] [stderr] 12 | println!("[PID {}] This is the parent process", getpid()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::unistd::*` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nix::unistd::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `Rust-101`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e94b58769feda3789947720639a1f46e1dc3bd26bf27ca5955ce4fc2ed7af926"` [INFO] running `"docker" "rm" "-f" "e94b58769feda3789947720639a1f46e1dc3bd26bf27ca5955ce4fc2ed7af926"` [INFO] [stdout] e94b58769feda3789947720639a1f46e1dc3bd26bf27ca5955ce4fc2ed7af926