[INFO] updating cached repository andreaseg/lang [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/andreaseg/lang [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/andreaseg/lang" "work/ex/clippy-test-run/sources/stable/gh/andreaseg/lang"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/andreaseg/lang'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/andreaseg/lang" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/andreaseg/lang"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/andreaseg/lang'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 82b786081c19bcd486d990ae59484860518a4b8d [INFO] sha for GitHub repo andreaseg/lang: 82b786081c19bcd486d990ae59484860518a4b8d [INFO] validating manifest of andreaseg/lang on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of andreaseg/lang on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing andreaseg/lang [INFO] finished frobbing andreaseg/lang [INFO] frobbed toml for andreaseg/lang written to work/ex/clippy-test-run/sources/stable/gh/andreaseg/lang/Cargo.toml [INFO] started frobbing andreaseg/lang [INFO] finished frobbing andreaseg/lang [INFO] frobbed toml for andreaseg/lang written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/andreaseg/lang/Cargo.toml [INFO] crate andreaseg/lang has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting andreaseg/lang against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/andreaseg/lang:/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=forbid" "-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" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ad6e2229934ea1eb6ce2fd261d4126685d99a7fb8fee3d3359f50f29683a9a6f [INFO] running `"docker" "start" "-a" "ad6e2229934ea1eb6ce2fd261d4126685d99a7fb8fee3d3359f50f29683a9a6f"` [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking lang v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:168:19 [INFO] [stderr] | [INFO] [stderr] 168 | use self::terminal::Constness as C; [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `self` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stderr] --> src/compiler/parser.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | use $error_type as path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stderr] ... [INFO] [stderr] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stderr] 373 | | (Token::Semicolon => {}),); [INFO] [stderr] | |_______________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stderr] --> src/compiler/parser.rs:211:21 [INFO] [stderr] | [INFO] [stderr] 211 | use $error_type as path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stderr] ... [INFO] [stderr] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stderr] 373 | | (Token::Semicolon => {}),); [INFO] [stderr] | |_______________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:166:17 [INFO] [stderr] | [INFO] [stderr] 166 | impl ToHtml for terminal::Constness { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | Scope::Closed(v) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | Scope::Open(s) => (*s).to_html(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | Scope::Error(e) => e.to_html(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:234:17 [INFO] [stderr] | [INFO] [stderr] 234 | impl ToHtml for terminal::Literal { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:237:13 [INFO] [stderr] | [INFO] [stderr] 237 | terminal::Literal::Float(n) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:245:13 [INFO] [stderr] | [INFO] [stderr] 245 | terminal::Literal::Integer(n) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | terminal::Literal::String(s) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:256:13 [INFO] [stderr] | [INFO] [stderr] 256 | terminal::Literal::Bool(b) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Scope` in this scope [INFO] [stderr] --> src/visualizer/ast_tree.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | impl ToHtml for Scope { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(tool_lints)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0432, E0433, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `lang`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `self::terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:168:19 [INFO] [stderr] | [INFO] [stderr] 168 | use self::terminal::Constness as C; [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `self` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stderr] --> src/compiler/parser.rs:203:25 [INFO] [stderr] | [INFO] [stderr] 203 | use $error_type as path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stderr] ... [INFO] [stderr] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stderr] 373 | | (Token::Semicolon => {}),); [INFO] [stderr] | |_______________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stderr] --> src/compiler/parser.rs:211:21 [INFO] [stderr] | [INFO] [stderr] 211 | use $error_type as path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stderr] ... [INFO] [stderr] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stderr] 373 | | (Token::Semicolon => {}),); [INFO] [stderr] | |_______________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:975:52 [INFO] [stderr] | [INFO] [stderr] 975 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:987:52 [INFO] [stderr] | [INFO] [stderr] 987 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Float(1.0))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1000:31 [INFO] [stderr] | [INFO] [stderr] 1000 | Box::new(ast::terminal::Literal::String("string".to_string())) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1014:56 [INFO] [stderr] | [INFO] [stderr] 1014 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Bool(true))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1024:56 [INFO] [stderr] | [INFO] [stderr] 1024 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Bool(false))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1193:60 [INFO] [stderr] | [INFO] [stderr] 1193 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))), [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1194:60 [INFO] [stderr] | [INFO] [stderr] 1194 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(2))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1264:22 [INFO] [stderr] | [INFO] [stderr] 1264 | ast::terminal::Constness::None, [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1269:22 [INFO] [stderr] | [INFO] [stderr] 1269 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stderr] | ^^^^^ could not find `Scope` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1321:22 [INFO] [stderr] | [INFO] [stderr] 1321 | ast::terminal::Constness::Mut, [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1326:22 [INFO] [stderr] | [INFO] [stderr] 1326 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stderr] | ^^^^^ could not find `Scope` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1327:60 [INFO] [stderr] | [INFO] [stderr] 1327 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1),)) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1346:22 [INFO] [stderr] | [INFO] [stderr] 1346 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stderr] | ^^^^^ could not find `Scope` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1347:60 [INFO] [stderr] | [INFO] [stderr] 1347 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))) [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1363:18 [INFO] [stderr] | [INFO] [stderr] 1363 | ast::terminal::Constness::Mut, [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1368:18 [INFO] [stderr] | [INFO] [stderr] 1368 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stderr] | ^^^^^ could not find `Scope` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1369:56 [INFO] [stderr] | [INFO] [stderr] 1369 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Float(1.0))), [INFO] [stderr] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stderr] --> src/compiler/parser.rs:1393:30 [INFO] [stderr] | [INFO] [stderr] 1393 | assert_eq!(ast, ast::Scope::Closed(vec![stmt1, stmt2, stmt3])); [INFO] [stderr] | ^^^^^ could not find `Scope` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:166:17 [INFO] [stderr] | [INFO] [stderr] 166 | impl ToHtml for terminal::Constness { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | Scope::Closed(v) => { [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | Scope::Open(s) => (*s).to_html(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Scope` [INFO] [stderr] --> src/visualizer/ast_tree.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | Scope::Error(e) => e.to_html(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Scope` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:234:17 [INFO] [stderr] | [INFO] [stderr] 234 | impl ToHtml for terminal::Literal { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:237:13 [INFO] [stderr] | [INFO] [stderr] 237 | terminal::Literal::Float(n) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:245:13 [INFO] [stderr] | [INFO] [stderr] 245 | terminal::Literal::Integer(n) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | terminal::Literal::String(s) => { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `terminal` [INFO] [stderr] --> src/visualizer/ast_tree.rs:256:13 [INFO] [stderr] | [INFO] [stderr] 256 | terminal::Literal::Bool(b) => [ [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `terminal` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Scope` in this scope [INFO] [stderr] --> src/visualizer/ast_tree.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | impl ToHtml for Scope { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(tool_lints)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0412, E0432, E0433, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `lang`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ad6e2229934ea1eb6ce2fd261d4126685d99a7fb8fee3d3359f50f29683a9a6f"` [INFO] running `"docker" "rm" "-f" "ad6e2229934ea1eb6ce2fd261d4126685d99a7fb8fee3d3359f50f29683a9a6f"` [INFO] [stdout] ad6e2229934ea1eb6ce2fd261d4126685d99a7fb8fee3d3359f50f29683a9a6f