[INFO] cloning repository https://github.com/cis198-2016s/hw04 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cis198-2016s/hw04" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcis198-2016s%2Fhw04", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcis198-2016s%2Fhw04'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d4ff5d6004215e2b89b4a807bb4306766ec36e7 [INFO] checking cis198-2016s/hw04 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcis198-2016s%2Fhw04" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cis198-2016s/hw04 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cis198-2016s/hw04 [INFO] finished tweaking git repo https://github.com/cis198-2016s/hw04 [INFO] tweaked toml for git repo https://github.com/cis198-2016s/hw04 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/cis198-2016s/hw04 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cde67d7af69352d4fda7816c371431689f7908c78a3f36f2bf4a4170d944d257 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cde67d7af69352d4fda7816c371431689f7908c78a3f36f2bf4a4170d944d257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde67d7af69352d4fda7816c371431689f7908c78a3f36f2bf4a4170d944d257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde67d7af69352d4fda7816c371431689f7908c78a3f36f2bf4a4170d944d257", kill_on_drop: false }` [INFO] [stdout] cde67d7af69352d4fda7816c371431689f7908c78a3f36f2bf4a4170d944d257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9a273f5f40c9048aaf20d5c26808a2d39326ed7a0a91d6361bb3387164943a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb9a273f5f40c9048aaf20d5c26808a2d39326ed7a0a91d6361bb3387164943a", kill_on_drop: false }` [INFO] [stderr] Checking hw04 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rpn::Stack` [INFO] [stdout] --> src/parser.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rpn::{self, Stack}; [INFO] [stdout] | ^^^^^ no `Stack` in `rpn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rpn::Stack` [INFO] [stdout] --> src/parser.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rpn::{self, Stack}; [INFO] [stdout] | ^^^^^ no `Stack` in `rpn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rpn::Stack` [INFO] [stdout] --> src/parser.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | use rpn::{Stack, Error, Elt}; [INFO] [stdout] | ^^^^^ no `Stack` in `rpn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stdout] --> src/parser.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `rpn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stdout] --> src/parser.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `rpn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/rpn.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | impl Stack { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/rpn.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Stack { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | try!(io::stdout().flush().map_err(rpn::Error::IO)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/rpn.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, val: Elt) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn eval(&mut self, op: Op) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hw04` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/rpn.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let mut s = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stdout] --> src/parser.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `rpn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in module `rpn` [INFO] [stdout] --> src/parser.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `rpn` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/rpn.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | impl Stack { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/rpn.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Stack { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | try!(io::stdout().flush().map_err(rpn::Error::IO)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/rpn.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, val: Elt) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/rpn.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn eval(&mut self, op: Op) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb9a273f5f40c9048aaf20d5c26808a2d39326ed7a0a91d6361bb3387164943a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9a273f5f40c9048aaf20d5c26808a2d39326ed7a0a91d6361bb3387164943a", kill_on_drop: false }` [INFO] [stdout] cb9a273f5f40c9048aaf20d5c26808a2d39326ed7a0a91d6361bb3387164943a