[INFO] cloning repository renato-zannon/rust-generated [INFO] running `"git" "clone" "--bare" "git://github.com/renato-zannon/rust-generated.git" "work/cache/sources/gh/renato-zannon/rust-generated"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/renato-zannon/rust-generated'... [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-generated" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/renato-zannon/rust-generated"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/renato-zannon/rust-generated'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-generated" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/renato-zannon/rust-generated"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/renato-zannon/rust-generated'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c97a88f3924aa78b60b2dcd363e76a8f973f382 [INFO] sha for GitHub repo renato-zannon/rust-generated: 7c97a88f3924aa78b60b2dcd363e76a8f973f382 [INFO] validating manifest of renato-zannon/rust-generated on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of renato-zannon/rust-generated on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing renato-zannon/rust-generated [INFO] finished frobbing renato-zannon/rust-generated [INFO] frobbed toml for renato-zannon/rust-generated written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/renato-zannon/rust-generated/Cargo.toml [INFO] started frobbing renato-zannon/rust-generated [INFO] finished frobbing renato-zannon/rust-generated [INFO] frobbed toml for renato-zannon/rust-generated written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/renato-zannon/rust-generated/Cargo.toml [INFO] crate renato-zannon/rust-generated already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking renato-zannon/rust-generated against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-2/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/renato-zannon/rust-generated:/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" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 652874516b8a874104082d79ab65fc7eea041c28b2b8be5d5605c1bdaf5e7c9d [INFO] running `"docker" "start" "-a" "652874516b8a874104082d79ab65fc7eea041c28b2b8be5d5605c1bdaf5e7c9d"` [INFO] [stderr] Compiling generated v0.0.1 (/opt/crater/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[E0423]: expected function, found macro `env::var_string` [INFO] [stderr] --> build.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | let target_dir = Path::new(env::var_string("OUT_DIR").unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `!` to invoke the macro: `env::var_string!` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0423, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0423`. [INFO] [stderr] error: Could not compile `generated`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "652874516b8a874104082d79ab65fc7eea041c28b2b8be5d5605c1bdaf5e7c9d"` [INFO] running `"docker" "rm" "-f" "652874516b8a874104082d79ab65fc7eea041c28b2b8be5d5605c1bdaf5e7c9d"` [INFO] [stdout] 652874516b8a874104082d79ab65fc7eea041c28b2b8be5d5605c1bdaf5e7c9d