[INFO] updating cached repository https://github.com/renato-zannon/rust-generated [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c97a88f3924aa78b60b2dcd363e76a8f973f382 [INFO] checking renato-zannon/rust-generated against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenato-zannon%2Frust-generated" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renato-zannon/rust-generated on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/renato-zannon/rust-generated [INFO] finished tweaking git repo https://github.com/renato-zannon/rust-generated [INFO] tweaked toml for git repo https://github.com/renato-zannon/rust-generated written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/renato-zannon/rust-generated already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 450c21ae62d193e4547eb842018dd65947de103272f728e4250f7e5c1d859b06 [INFO] running `"docker" "start" "-a" "450c21ae62d193e4547eb842018dd65947de103272f728e4250f7e5c1d859b06"` [INFO] [stderr] Compiling generated v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> build.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::old_io::{fs, File, BufferedReader}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> build.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | let target_dir = Path::new(env::var_string("OUT_DIR").unwrap()); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> build.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | let source_code_path = Path::new(file!()).join_many(&["..", "src/"]); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `var_string` in module `env` [INFO] [stderr] --> build.rs:8:42 [INFO] [stderr] | [INFO] [stderr] 8 | let target_dir = Path::new(env::var_string("OUT_DIR").unwrap()); [INFO] [stderr] | ^^^^^^^^^^ not found in `env` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `generated`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "450c21ae62d193e4547eb842018dd65947de103272f728e4250f7e5c1d859b06"` [INFO] running `"docker" "rm" "-f" "450c21ae62d193e4547eb842018dd65947de103272f728e4250f7e5c1d859b06"` [INFO] [stdout] 450c21ae62d193e4547eb842018dd65947de103272f728e4250f7e5c1d859b06