[INFO] updating cached repository renato-zannon/rust-generated [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/renato-zannon/rust-generated [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-generated" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/renato-zannon/rust-generated"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/renato-zannon/rust-generated'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/renato-zannon/rust-generated" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/renato-zannon/rust-generated"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of renato-zannon/rust-generated on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-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-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking renato-zannon/rust-generated against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0bdf6e17b7a2b045704774f05e62dc23819e91367e4ce03a1bd422208796a0dd [INFO] running `"docker" "start" "-a" "0bdf6e17b7a2b045704774f05e62dc23819e91367e4ce03a1bd422208796a0dd"` [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[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" "0bdf6e17b7a2b045704774f05e62dc23819e91367e4ce03a1bd422208796a0dd"` [INFO] running `"docker" "rm" "-f" "0bdf6e17b7a2b045704774f05e62dc23819e91367e4ce03a1bd422208796a0dd"` [INFO] [stdout] 0bdf6e17b7a2b045704774f05e62dc23819e91367e4ce03a1bd422208796a0dd