[INFO] updating cached repository cis198-2016s/hw04 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cis198-2016s/hw04 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cis198-2016s/hw04" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cis198-2016s/hw04"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cis198-2016s/hw04'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cis198-2016s/hw04" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cis198-2016s/hw04"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cis198-2016s/hw04'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8d4ff5d6004215e2b89b4a807bb4306766ec36e7 [INFO] sha for GitHub repo cis198-2016s/hw04: 8d4ff5d6004215e2b89b4a807bb4306766ec36e7 [INFO] validating manifest of cis198-2016s/hw04 on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cis198-2016s/hw04 on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cis198-2016s/hw04 [INFO] finished frobbing cis198-2016s/hw04 [INFO] frobbed toml for cis198-2016s/hw04 written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cis198-2016s/hw04/Cargo.toml [INFO] started frobbing cis198-2016s/hw04 [INFO] finished frobbing cis198-2016s/hw04 [INFO] frobbed toml for cis198-2016s/hw04 written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cis198-2016s/hw04/Cargo.toml [INFO] crate cis198-2016s/hw04 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/cis198-2016s/hw04/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" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cis198-2016s/hw04 against try#99a7498759a22b5684caf798a98b7e90ad9d2443 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-3/try#99a7498759a22b5684caf798a98b7e90ad9d2443:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/cis198-2016s/hw04:/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" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 830616942bca5c0a0bcd1383e74d971415d3c91fd76373d374941055c7616d01 [INFO] running `"docker" "start" "-a" "830616942bca5c0a0bcd1383e74d971415d3c91fd76373d374941055c7616d01"` [INFO] [stderr] Checking hw04 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rpn::Stack` [INFO] [stderr] --> src/parser.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use rpn::{self, Stack}; [INFO] [stderr] | ^^^^^ no `Stack` in `rpn` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stderr] --> src/parser.rs:6:39 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stderr] | ^^^^^^ not found in `rpn` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | [INFO] [stderr] and 1 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stderr] --> src/parser.rs:21:59 [INFO] [stderr] | [INFO] [stderr] 21 | fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stderr] | ^^^^^^ not found in `rpn` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | [INFO] [stderr] and 1 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stack` in this scope [INFO] [stderr] --> src/rpn.rs:47:6 [INFO] [stderr] | [INFO] [stderr] 47 | impl Stack { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stack` in this scope [INFO] [stderr] --> src/rpn.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new() -> Stack { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rpn::Stack` [INFO] [stderr] --> src/parser.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use rpn::{self, Stack}; [INFO] [stderr] | ^^^^^ no `Stack` in `rpn` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rpn::Stack` [INFO] [stderr] --> src/parser.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | use rpn::{Stack, Error, Elt}; [INFO] [stderr] | ^^^^^ no `Stack` in `rpn` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::result` [INFO] [stderr] --> src/rpn.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:54:41 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn push(&mut self, val: Elt) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn pop(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:64:39 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn eval(&mut self, op: Op) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:97:21 [INFO] [stderr] | [INFO] [stderr] 97 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] error: Could not compile `hw04`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] --> src/rpn.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:139:21 [INFO] [stderr] | [INFO] [stderr] 139 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:150:21 [INFO] [stderr] | [INFO] [stderr] 150 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:158:21 [INFO] [stderr] | [INFO] [stderr] 158 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:166:21 [INFO] [stderr] | [INFO] [stderr] 166 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:181:21 [INFO] [stderr] | [INFO] [stderr] 181 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:191:21 [INFO] [stderr] | [INFO] [stderr] 191 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:204:21 [INFO] [stderr] | [INFO] [stderr] 204 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Stack` [INFO] [stderr] --> src/rpn.rs:214:21 [INFO] [stderr] | [INFO] [stderr] 214 | let mut s = Stack::new(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Stack` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stderr] --> src/parser.rs:6:39 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stderr] | ^^^^^^ not found in `rpn` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | [INFO] [stderr] and 1 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stderr] --> src/parser.rs:21:59 [INFO] [stderr] | [INFO] [stderr] 21 | fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stderr] | ^^^^^^ not found in `rpn` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::prelude::v1::Result; [INFO] [stderr] | [INFO] [stderr] 1 | use std::result::Result; [INFO] [stderr] | [INFO] [stderr] and 1 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stack` in this scope [INFO] [stderr] --> src/rpn.rs:47:6 [INFO] [stderr] | [INFO] [stderr] 47 | impl Stack { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Stack` in this scope [INFO] [stderr] --> src/rpn.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new() -> Stack { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::result` [INFO] [stderr] --> src/rpn.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:54:41 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn push(&mut self, val: Elt) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn pop(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stderr] --> src/rpn.rs:64:39 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn eval(&mut self, op: Op) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `hw04`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "830616942bca5c0a0bcd1383e74d971415d3c91fd76373d374941055c7616d01"` [INFO] running `"docker" "rm" "-f" "830616942bca5c0a0bcd1383e74d971415d3c91fd76373d374941055c7616d01"` [INFO] [stdout] 830616942bca5c0a0bcd1383e74d971415d3c91fd76373d374941055c7616d01