[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] testing cis198-2016s/hw04 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcis198-2016s%2Fhw04" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cis198-2016s/hw04 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-47/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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc674572210f02c7101efa460375137d4117293961710f1722595b2c76117eca [INFO] running `Command { std: "docker" "start" "-a" "fc674572210f02c7101efa460375137d4117293961710f1722595b2c76117eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc674572210f02c7101efa460375137d4117293961710f1722595b2c76117eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc674572210f02c7101efa460375137d4117293961710f1722595b2c76117eca", kill_on_drop: false }` [INFO] [stdout] fc674572210f02c7101efa460375137d4117293961710f1722595b2c76117eca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e97be3d9a605069a1dd742160a6e123d2057244578bd1733cc8a234780ad725 [INFO] running `Command { std: "docker" "start" "-a" "4e97be3d9a605069a1dd742160a6e123d2057244578bd1733cc8a234780ad725", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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[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 parser::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::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 parser::io::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::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]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/rpn.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, val: Elt) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, val: Elt) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/rpn.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ --- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pop(&mut self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/rpn.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn eval(&mut self, op: Op) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 64 | pub fn eval(&mut self, op: Op) -> Result<(), E> { [INFO] [stdout] | +++ [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` due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e97be3d9a605069a1dd742160a6e123d2057244578bd1733cc8a234780ad725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e97be3d9a605069a1dd742160a6e123d2057244578bd1733cc8a234780ad725", kill_on_drop: false }` [INFO] [stdout] 4e97be3d9a605069a1dd742160a6e123d2057244578bd1733cc8a234780ad725