[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAltarf02%2FRust-101" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Altarf02/Rust-101 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 661a3ea54475ec84f536cfd4ac433f170e8d648e1a82ea7d04f5188f497374ed [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" "661a3ea54475ec84f536cfd4ac433f170e8d648e1a82ea7d04f5188f497374ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "661a3ea54475ec84f536cfd4ac433f170e8d648e1a82ea7d04f5188f497374ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661a3ea54475ec84f536cfd4ac433f170e8d648e1a82ea7d04f5188f497374ed", kill_on_drop: false }` [INFO] [stdout] 661a3ea54475ec84f536cfd4ac433f170e8d648e1a82ea7d04f5188f497374ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 8649e54d702c9a423bef88cbbc284818f398710737905bebd951b6e2138d92b6 [INFO] running `Command { std: "docker" "start" "-a" "8649e54d702c9a423bef88cbbc284818f398710737905bebd951b6e2138d92b6", 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: 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[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[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: aborting due to 5 previous errors [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] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8649e54d702c9a423bef88cbbc284818f398710737905bebd951b6e2138d92b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8649e54d702c9a423bef88cbbc284818f398710737905bebd951b6e2138d92b6", kill_on_drop: false }` [INFO] [stdout] 8649e54d702c9a423bef88cbbc284818f398710737905bebd951b6e2138d92b6