[INFO] updating cached repository https://github.com/sgr2848/nolang [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/sgr2848/nolang [INFO] [stderr] c464efc..0298aef master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0298aefbebef2410896d6df239eaa334a0980fe8 [INFO] checking sgr2848/nolang against master#4007d4ef26eab44bdabc2b7574d032152264d3ad for pr-66919 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgr2848%2Fnolang" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgr2848/nolang on toolchain 4007d4ef26eab44bdabc2b7574d032152264d3ad [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sgr2848/nolang [INFO] finished tweaking git repo https://github.com/sgr2848/nolang [INFO] tweaked toml for git repo https://github.com/sgr2848/nolang written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/sgr2848/nolang already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+4007d4ef26eab44bdabc2b7574d032152264d3ad" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 817b2ecd2cb5b26aa5809f10ab97e6a4b49843ce54c56c6e613c0f8a67e2559a [INFO] running `"docker" "start" "-a" "817b2ecd2cb5b26aa5809f10ab97e6a4b49843ce54c56c6e613c0f8a67e2559a"` [INFO] [stderr] Checking nano_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `lex` [INFO] [stderr] --> src/main.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | let _a_token = lex::Lexer { [INFO] [stderr] | ^^^ use of undeclared type or module `lex` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `lex` [INFO] [stderr] --> src/main.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | let _a_token = lex::Lexer { [INFO] [stderr] | ^^^ use of undeclared type or module `lex` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `std::collections::HashMap` cannot be built from an iterator over elements of type `(&str, {integer})` [INFO] [stderr] --> src/interpreter.rs:5:96 [INFO] [stderr] | [INFO] [stderr] 5 | static PRECEDENCE_MAP: HashMap = [ ("+",1),("-",1),("*",2),("/",2)].iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `std::collections::HashMap` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<(&str, {integer})>` is not implemented for `std::collections::HashMap` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `add_child` found for type `interpreter::ParseTree` in the current scope [INFO] [stderr] --> src/interpreter.rs:38:29 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct ParseTree{ [INFO] [stderr] | -------------------- function or associated item `add_child` not found for this [INFO] [stderr] ... [INFO] [stderr] 38 | _ => ParseTree::add_child(self, MapStruct{value:val, typ : Some(tp)}), [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `interpreter::ParseTree` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `nano_lang`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: a collection of type `std::collections::HashMap` cannot be built from an iterator over elements of type `(&str, {integer})` [INFO] [stderr] --> src/interpreter.rs:5:96 [INFO] [stderr] | [INFO] [stderr] 5 | static PRECEDENCE_MAP: HashMap = [ ("+",1),("-",1),("*",2),("/",2)].iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^ a collection of type `std::collections::HashMap` cannot be built from `std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<(&str, {integer})>` is not implemented for `std::collections::HashMap` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `add_child` found for type `interpreter::ParseTree` in the current scope [INFO] [stderr] --> src/interpreter.rs:38:29 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct ParseTree{ [INFO] [stderr] | -------------------- function or associated item `add_child` not found for this [INFO] [stderr] ... [INFO] [stderr] 38 | _ => ParseTree::add_child(self, MapStruct{value:val, typ : Some(tp)}), [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `interpreter::ParseTree` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `nano_lang`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "817b2ecd2cb5b26aa5809f10ab97e6a4b49843ce54c56c6e613c0f8a67e2559a"` [INFO] running `"docker" "rm" "-f" "817b2ecd2cb5b26aa5809f10ab97e6a4b49843ce54c56c6e613c0f8a67e2559a"` [INFO] [stdout] 817b2ecd2cb5b26aa5809f10ab97e6a4b49843ce54c56c6e613c0f8a67e2559a