[INFO] updating cached repository dseevr/rust_backtesting_simulator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dseevr/rust_backtesting_simulator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dseevr/rust_backtesting_simulator" "work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/dseevr/rust_backtesting_simulator"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/dseevr/rust_backtesting_simulator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dseevr/rust_backtesting_simulator" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/dseevr/rust_backtesting_simulator"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/dseevr/rust_backtesting_simulator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b1de900448714844d29f34079157936967e44fa5 [INFO] sha for GitHub repo dseevr/rust_backtesting_simulator: b1de900448714844d29f34079157936967e44fa5 [INFO] validating manifest of dseevr/rust_backtesting_simulator on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dseevr/rust_backtesting_simulator on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dseevr/rust_backtesting_simulator [INFO] finished frobbing dseevr/rust_backtesting_simulator [INFO] frobbed toml for dseevr/rust_backtesting_simulator written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/dseevr/rust_backtesting_simulator/Cargo.toml [INFO] started frobbing dseevr/rust_backtesting_simulator [INFO] finished frobbing dseevr/rust_backtesting_simulator [INFO] frobbed toml for dseevr/rust_backtesting_simulator written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/dseevr/rust_backtesting_simulator/Cargo.toml [INFO] crate dseevr/rust_backtesting_simulator already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/dseevr/rust_backtesting_simulator/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking dseevr/rust_backtesting_simulator against master#0f88167f89fffe321590c5148f21b7d51d44388d for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-3/master#0f88167f89fffe321590c5148f21b7d51d44388d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/dseevr/rust_backtesting_simulator:/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" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e48d531ef2f0a3652d4df76a0f6ebc00b7efbaefbe283af2d5667d3979713643 [INFO] running `"docker" "start" "-a" "e48d531ef2f0a3652d4df76a0f6ebc00b7efbaefbe283af2d5667d3979713643"` [INFO] [stderr] Compiling rust_simulator v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::io::Command` [INFO] [stderr] --> build.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> build.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | .cwd(&Path::new(&out_dir)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stderr] --> build.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | let out_dir = os::getenv("OUT_DIR").unwrap(); [INFO] [stderr] | ^^^^^^ not found in `os` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `rust_simulator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e48d531ef2f0a3652d4df76a0f6ebc00b7efbaefbe283af2d5667d3979713643"` [INFO] running `"docker" "rm" "-f" "e48d531ef2f0a3652d4df76a0f6ebc00b7efbaefbe283af2d5667d3979713643"` [INFO] [stdout] e48d531ef2f0a3652d4df76a0f6ebc00b7efbaefbe283af2d5667d3979713643