[INFO] updating cached repository MrMcEpic/Rust-Calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/MrMcEpic/Rust-Calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/MrMcEpic/Rust-Calculator" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/MrMcEpic/Rust-Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/MrMcEpic/Rust-Calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/MrMcEpic/Rust-Calculator" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/MrMcEpic/Rust-Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/MrMcEpic/Rust-Calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 418dda2458f78af41c7c067db677a6e7221ff2ef [INFO] sha for GitHub repo MrMcEpic/Rust-Calculator: 418dda2458f78af41c7c067db677a6e7221ff2ef [INFO] validating manifest of MrMcEpic/Rust-Calculator 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 MrMcEpic/Rust-Calculator 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 MrMcEpic/Rust-Calculator [INFO] removed path dependency lib from MrMcEpic/Rust-Calculator [INFO] finished frobbing MrMcEpic/Rust-Calculator [INFO] frobbed toml for MrMcEpic/Rust-Calculator written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/MrMcEpic/Rust-Calculator/Cargo.toml [INFO] started frobbing MrMcEpic/Rust-Calculator [INFO] removed path dependency lib from MrMcEpic/Rust-Calculator [INFO] finished frobbing MrMcEpic/Rust-Calculator [INFO] frobbed toml for MrMcEpic/Rust-Calculator written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/MrMcEpic/Rust-Calculator/Cargo.toml [INFO] crate MrMcEpic/Rust-Calculator 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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/MrMcEpic/Rust-Calculator/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 MrMcEpic/Rust-Calculator against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/MrMcEpic/Rust-Calculator:/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] 133fe595a899fe3ce88660a42e097ccf8421b26f884a492ce0bacdb10c7f95ba [INFO] running `"docker" "start" "-a" "133fe595a899fe3ce88660a42e097ccf8421b26f884a492ce0bacdb10c7f95ba"` [INFO] [stderr] warning: dependency (lib) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking lib v0.0.2 [INFO] [stderr] Checking calc v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | if env::var("debug").is_ok() { [INFO] [stderr] | ^^^ use of undeclared type or module `env` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_input` in this scope [INFO] [stderr] --> src/main.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | let input = get_input().unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_nums` in this scope [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | let data = get_nums(&input).unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `do_math` in this scope [INFO] [stderr] --> src/main.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let value = do_math(&data).unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `lib::*` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use lib::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `calc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | if env::var("debug").is_ok() { [INFO] [stderr] | ^^^ use of undeclared type or module `env` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_input` in this scope [INFO] [stderr] --> src/main.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | let input = get_input().unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_nums` in this scope [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | let data = get_nums(&input).unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `do_math` in this scope [INFO] [stderr] --> src/main.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let value = do_math(&data).unwrap_or_else(|err| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `lib::*` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use lib::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `calc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "133fe595a899fe3ce88660a42e097ccf8421b26f884a492ce0bacdb10c7f95ba"` [INFO] running `"docker" "rm" "-f" "133fe595a899fe3ce88660a42e097ccf8421b26f884a492ce0bacdb10c7f95ba"` [INFO] [stdout] 133fe595a899fe3ce88660a42e097ccf8421b26f884a492ce0bacdb10c7f95ba