[INFO] updating cached repository GodTamIt/tiger-compiler-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/GodTamIt/tiger-compiler-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/GodTamIt/tiger-compiler-rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/GodTamIt/tiger-compiler-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/GodTamIt/tiger-compiler-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/GodTamIt/tiger-compiler-rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] db3c1f50e45097e90ee029c88c7b80322c08c2fe [INFO] sha for GitHub repo GodTamIt/tiger-compiler-rs: db3c1f50e45097e90ee029c88c7b80322c08c2fe [INFO] validating manifest of GodTamIt/tiger-compiler-rs 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 GodTamIt/tiger-compiler-rs 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 GodTamIt/tiger-compiler-rs [INFO] finished frobbing GodTamIt/tiger-compiler-rs [INFO] frobbed toml for GodTamIt/tiger-compiler-rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/GodTamIt/tiger-compiler-rs/Cargo.toml [INFO] started frobbing GodTamIt/tiger-compiler-rs [INFO] finished frobbing GodTamIt/tiger-compiler-rs [INFO] frobbed toml for GodTamIt/tiger-compiler-rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs/Cargo.toml [INFO] crate GodTamIt/tiger-compiler-rs 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] testing GodTamIt/tiger-compiler-rs against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs:/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2838a1ef8995159bc89171f5df6730886fca941278d7f19baa26784c5acbb90b [INFO] running `"docker" "start" "-a" "2838a1ef8995159bc89171f5df6730886fca941278d7f19baa26784c5acbb90b"` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling serde v1.0.35 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling indextree v1.1.1 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling serde_derive_internals v0.22.1 [INFO] [stderr] Compiling serde_derive v1.0.35 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling cs4240 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ast` [INFO] [stderr] --> src/main.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ast` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `funcdecls_node` [INFO] [stderr] --> src/typechecker.rs:297:45 [INFO] [stderr] | [INFO] [stderr] 297 | fn build_context_map(vardecls_node: NodeId, funcdecls_node: NodeId, arena: &Arena>, atable: &SymbolTable) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_funcdecls_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/typechecker.rs:508:17 [INFO] [stderr] | [INFO] [stderr] 508 | for child in rhs_node.children(arena) { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `term_child_iter` [INFO] [stderr] --> src/typechecker.rs:644:13 [INFO] [stderr] | [INFO] [stderr] 644 | let mut term_child_iter = curr_term_node.children(arena); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_term_child_iter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `param` [INFO] [stderr] --> src/typechecker.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | for (param, param_type) in argmap.iter() { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_param` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:109:10 [INFO] [stderr] | [INFO] [stderr] 109 | let (mut arena, mut ast_root) = typechecker::build_ast(&new_ast); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | let (mut arena, mut ast_root) = typechecker::build_ast(&new_ast); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/typechecker.rs:305:13 [INFO] [stderr] | [INFO] [stderr] 305 | let mut ndx = vardecl_node.children(arena).nth(3).expect("Could not extract TYPE"); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/typechecker.rs:644:9 [INFO] [stderr] | [INFO] [stderr] 644 | let mut term_child_iter = curr_term_node.children(arena); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `pop` [INFO] [stderr] --> src/typechecker.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | fn pop(&mut self, id: &String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print_ast` [INFO] [stderr] --> src/typechecker.rs:779:1 [INFO] [stderr] | [INFO] [stderr] 779 | pub fn debug_print_ast(arena: &Arena>, node: NodeId) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print_inner` [INFO] [stderr] --> src/typechecker.rs:784:1 [INFO] [stderr] | [INFO] [stderr] 784 | pub fn debug_print_inner(arena: &Arena>, node: NodeId) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `"docker" "inspect" "2838a1ef8995159bc89171f5df6730886fca941278d7f19baa26784c5acbb90b"` [INFO] running `"docker" "rm" "-f" "2838a1ef8995159bc89171f5df6730886fca941278d7f19baa26784c5acbb90b"` [INFO] [stdout] 2838a1ef8995159bc89171f5df6730886fca941278d7f19baa26784c5acbb90b [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs:/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 861d7bc9c77cc22dcca81f3d5231692dc38c6cb2adef5527cdeb6c9586b791fa [INFO] running `"docker" "start" "-a" "861d7bc9c77cc22dcca81f3d5231692dc38c6cb2adef5527cdeb6c9586b791fa"` [INFO] [stderr] Compiling cs4240 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/scanner.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | / lazy_static! { [INFO] [stderr] 50 | | static ref KEYWORD1_RE: Regex = Regex::new(r"^((array)|(begin)|(boolean)|(break)|(do)|(else)|(end)|(enddo)|(endif)|(false)|(float)|(for)|(func)|(if)|(in)|(int)|(let)|(of)|(return)|(then)|(to)|(true)|(type)|(unit)|(var)|(while))$").unwrap(); [INFO] [stderr] 51 | | static ref KEYWORD2_RE: Regex = Regex::new(r"^(,|:|;|\(|\)|\[|\]|\{|\}|\.|\+|-|\*|/|=|<|>|<>|<=|>=|&|\||:=)$").unwrap(); [INFO] [stderr] 52 | | static ref ID_RE: Regex = Regex::new(r"^((_[A-Za-z_0-9]*([0-9A-Za-z])[A-Za-z_0-9]*)|(([A-Za-z])[0-9A-Za-z_]*))$").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 57 | | static ref TOKEN_NAMES: Vec<&'static str> = vec!["floatlit", "intlit", "id", "keyword", "keyword"]; [INFO] [stderr] 58 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ast` [INFO] [stderr] --> src/main.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_ast` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `funcdecls_node` [INFO] [stderr] --> src/typechecker.rs:297:45 [INFO] [stderr] | [INFO] [stderr] 297 | fn build_context_map(vardecls_node: NodeId, funcdecls_node: NodeId, arena: &Arena>, atable: &SymbolTable) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_funcdecls_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/typechecker.rs:508:17 [INFO] [stderr] | [INFO] [stderr] 508 | for child in rhs_node.children(arena) { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `term_child_iter` [INFO] [stderr] --> src/typechecker.rs:644:13 [INFO] [stderr] | [INFO] [stderr] 644 | let mut term_child_iter = curr_term_node.children(arena); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_term_child_iter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `param` [INFO] [stderr] --> src/typechecker.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | for (param, param_type) in argmap.iter() { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_param` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | let (mut ast, mut new_ast) = match parser::parse_input(&grammar, &table, &mut tokens) { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:109:10 [INFO] [stderr] | [INFO] [stderr] 109 | let (mut arena, mut ast_root) = typechecker::build_ast(&new_ast); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | let (mut arena, mut ast_root) = typechecker::build_ast(&new_ast); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/typechecker.rs:305:13 [INFO] [stderr] | [INFO] [stderr] 305 | let mut ndx = vardecl_node.children(arena).nth(3).expect("Could not extract TYPE"); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/typechecker.rs:644:9 [INFO] [stderr] | [INFO] [stderr] 644 | let mut term_child_iter = curr_term_node.children(arena); [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `pop` [INFO] [stderr] --> src/typechecker.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | fn pop(&mut self, id: &String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print_ast` [INFO] [stderr] --> src/typechecker.rs:779:1 [INFO] [stderr] | [INFO] [stderr] 779 | pub fn debug_print_ast(arena: &Arena>, node: NodeId) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print_inner` [INFO] [stderr] --> src/typechecker.rs:784:1 [INFO] [stderr] | [INFO] [stderr] 784 | pub fn debug_print_inner(arena: &Arena>, node: NodeId) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `"docker" "inspect" "861d7bc9c77cc22dcca81f3d5231692dc38c6cb2adef5527cdeb6c9586b791fa"` [INFO] running `"docker" "rm" "-f" "861d7bc9c77cc22dcca81f3d5231692dc38c6cb2adef5527cdeb6c9586b791fa"` [INFO] [stdout] 861d7bc9c77cc22dcca81f3d5231692dc38c6cb2adef5527cdeb6c9586b791fa [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/GodTamIt/tiger-compiler-rs:/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] f97c210abd50b9e3776166e1223f456a85b81c0b20ae8f751138997e27c05373 [INFO] running `"docker" "start" "-a" "f97c210abd50b9e3776166e1223f456a85b81c0b20ae8f751138997e27c05373"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/cs4240-b308603bea491661 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "f97c210abd50b9e3776166e1223f456a85b81c0b20ae8f751138997e27c05373"` [INFO] running `"docker" "rm" "-f" "f97c210abd50b9e3776166e1223f456a85b81c0b20ae8f751138997e27c05373"` [INFO] [stdout] f97c210abd50b9e3776166e1223f456a85b81c0b20ae8f751138997e27c05373