[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/8d4ff5d6004215e2b89b4a807bb4306766ec36e7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcis198-2016s%2Fhw04" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cis198-2016s/hw04 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca5bca24b9d46bf3dad6035331faa8c19f7665497fd0483bd8c41d49f1bfca4e [INFO] running `Command { std: "docker" "start" "-a" "ca5bca24b9d46bf3dad6035331faa8c19f7665497fd0483bd8c41d49f1bfca4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca5bca24b9d46bf3dad6035331faa8c19f7665497fd0483bd8c41d49f1bfca4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5bca24b9d46bf3dad6035331faa8c19f7665497fd0483bd8c41d49f1bfca4e", kill_on_drop: false }` [INFO] [stdout] ca5bca24b9d46bf3dad6035331faa8c19f7665497fd0483bd8c41d49f1bfca4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea67c11cd33014ba1d281b5237b615f0042d5d88537067e8357c0f5f7e124356 [INFO] running `Command { std: "docker" "start" "-a" "ea67c11cd33014ba1d281b5237b615f0042d5d88537067e8357c0f5f7e124356", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] parser::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::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use parser::io::Result; [INFO] [stdout] | [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stdout] 6 + pub fn read_eval_print_loop() -> 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::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use parser::io::Result; [INFO] [stdout] | [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stdout] 21 + fn evaluate_line(stack: &mut Stack, buf: &String) -> 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]: 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]: 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]: 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] [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::rust_2024::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - pub fn read_eval_print_loop() -> rpn::Result<()> { [INFO] [stdout] 6 + pub fn read_eval_print_loop() -> 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::rust_2024::Result; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] help: if you import `Result`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - fn evaluate_line(stack: &mut Stack, buf: &String) -> rpn::Result<()> { [INFO] [stdout] 21 + fn evaluate_line(stack: &mut Stack, buf: &String) -> 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] [stderr] error: could not compile `hw04` (bin "hw04") due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: 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]: 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]: 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[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: 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: could not compile `hw04` (bin "hw04" test) due to 24 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea67c11cd33014ba1d281b5237b615f0042d5d88537067e8357c0f5f7e124356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea67c11cd33014ba1d281b5237b615f0042d5d88537067e8357c0f5f7e124356", kill_on_drop: false }` [INFO] [stdout] ea67c11cd33014ba1d281b5237b615f0042d5d88537067e8357c0f5f7e124356