[INFO] updating cached repository samWson/simple-calc [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/samWson/simple-calc [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/samWson/simple-calc" "work/ex/beta-1.38-1/sources/1.37.0/gh/samWson/simple-calc"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/samWson/simple-calc'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/samWson/simple-calc" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/samWson/simple-calc"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/samWson/simple-calc'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 74d01518d150a1d9694e0f069915a99c5ba55e5d [INFO] sha for GitHub repo samWson/simple-calc: 74d01518d150a1d9694e0f069915a99c5ba55e5d [INFO] validating manifest of samWson/simple-calc on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of samWson/simple-calc on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing samWson/simple-calc [INFO] finished frobbing samWson/simple-calc [INFO] frobbed toml for samWson/simple-calc written to work/ex/beta-1.38-1/sources/1.37.0/gh/samWson/simple-calc/Cargo.toml [INFO] started frobbing samWson/simple-calc [INFO] finished frobbing samWson/simple-calc [INFO] frobbed toml for samWson/simple-calc written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/samWson/simple-calc/Cargo.toml [INFO] crate samWson/simple-calc already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing samWson/simple-calc against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/samWson/simple-calc:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 8f911944322fef74345359a00c6605d2b54f1ca5a481b6cb0d578eff9ad6d7eb [INFO] running `"docker" "start" "-a" "8f911944322fef74345359a00c6605d2b54f1ca5a481b6cb0d578eff9ad6d7eb"` [INFO] [stderr] Compiling simple-calc v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Token` [INFO] [stderr] --> src/tokenizer.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | tokens.push(Token::Integer(ch.to_digit(10).unwrap())); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Token` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Token` [INFO] [stderr] --> src/tokenizer.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 19 | tokens.push(Token::Operator(Symbol::Plus)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Token` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Symbol` [INFO] [stderr] --> src/tokenizer.rs:19:57 [INFO] [stderr] | [INFO] [stderr] 19 | tokens.push(Token::Operator(Symbol::Plus)); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Symbol` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/tokenizer.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | fn tokenize(&self) -> Vec; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/tokenizer.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | fn tokenize(&self) -> Vec { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/tokenizer.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | let mut tokens: Vec = vec![]; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tokenizer.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | '0'...'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ellipsis_inclusive_range_patterns)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `simple-calc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8f911944322fef74345359a00c6605d2b54f1ca5a481b6cb0d578eff9ad6d7eb"` [INFO] running `"docker" "rm" "-f" "8f911944322fef74345359a00c6605d2b54f1ca5a481b6cb0d578eff9ad6d7eb"` [INFO] [stdout] 8f911944322fef74345359a00c6605d2b54f1ca5a481b6cb0d578eff9ad6d7eb