Sep 19 14:35:18.334 INFO checking UnicodeSnowman/writing_an_interpreter_in_rust against master#ff6422d7a392acfc8af28994d65af2bbaecea4f6 for pr-54346 Sep 19 14:35:18.334 INFO running: cargo +ff6422d7a392acfc8af28994d65af2bbaecea4f6-alt check --frozen --all --all-targets Sep 19 14:35:18.334 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-54346/master#ff6422d7a392acfc8af28994d65af2bbaecea4f6:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-54346/worker-3/master#ff6422d7a392acfc8af28994d65af2bbaecea4f6:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "CMD=cargo +ff6422d7a392acfc8af28994d65af2bbaecea4f6-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "crater"` Sep 19 14:35:18.691 INFO blam! a2ed9d9b1ed65640add0e62a81778e9f76a628e98be76c86aaa7b73a22fa9cf5 Sep 19 14:35:18.693 INFO running `"docker" "start" "-a" "a2ed9d9b1ed65640add0e62a81778e9f76a628e98be76c86aaa7b73a22fa9cf5"` Sep 19 14:35:20.624 INFO kablam! usermod: no changes Sep 19 14:35:20.711 INFO kablam! Checking writing_an_interpreter_in_rust v0.1.0 (/source) Sep 19 14:35:21.195 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 19 14:35:21.195 INFO kablam! --> src/ast.rs:16:5 Sep 19 14:35:21.195 INFO kablam! | Sep 19 14:35:21.195 INFO kablam! 16 | pub statements: Vec> Sep 19 14:35:21.195 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 19 14:35:21.195 INFO kablam! | Sep 19 14:35:21.195 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 19 14:35:21.195 INFO kablam! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! Sep 19 14:35:21.195 INFO kablam! = note: for more information, see issue #34537 Sep 19 14:35:21.196 INFO kablam! Sep 19 14:35:21.196 INFO kablam! warning: unused variable: `blah` Sep 19 14:35:21.196 INFO kablam! --> src/parser.rs:26:13 Sep 19 14:35:21.196 INFO kablam! | Sep 19 14:35:21.196 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 14:35:21.196 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 19 14:35:21.197 INFO kablam! | Sep 19 14:35:21.197 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 19 14:35:21.197 INFO kablam! Sep 19 14:35:21.213 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 19 14:35:21.213 INFO kablam! --> src/parser.rs:37:18 Sep 19 14:35:21.213 INFO kablam! | Sep 19 14:35:21.213 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 14:35:21.213 INFO kablam! | ----- immutable borrow occurs here Sep 19 14:35:21.213 INFO kablam! ... Sep 19 14:35:21.213 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 19 14:35:21.214 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 19 14:35:21.214 INFO kablam! 38 | } Sep 19 14:35:21.214 INFO kablam! | - immutable borrow ends here Sep 19 14:35:21.214 INFO kablam! Sep 19 14:35:21.219 INFO kablam! error: aborting due to previous error Sep 19 14:35:21.219 INFO kablam! Sep 19 14:35:21.219 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 19 14:35:21.230 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 19 14:35:21.231 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 19 14:35:21.382 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 19 14:35:21.382 INFO kablam! --> src/ast.rs:16:5 Sep 19 14:35:21.383 INFO kablam! | Sep 19 14:35:21.383 INFO kablam! 16 | pub statements: Vec> Sep 19 14:35:21.384 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 19 14:35:21.384 INFO kablam! | Sep 19 14:35:21.385 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 19 14:35:21.385 INFO kablam! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! Sep 19 14:35:21.386 INFO kablam! = note: for more information, see issue #34537 Sep 19 14:35:21.386 INFO kablam! Sep 19 14:35:21.391 INFO kablam! warning: unused variable: `blah` Sep 19 14:35:21.392 INFO kablam! --> src/parser.rs:26:13 Sep 19 14:35:21.392 INFO kablam! | Sep 19 14:35:21.393 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 14:35:21.393 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 19 14:35:21.394 INFO kablam! | Sep 19 14:35:21.394 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 19 14:35:21.394 INFO kablam! Sep 19 14:35:21.419 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 19 14:35:21.419 INFO kablam! --> src/parser.rs:37:18 Sep 19 14:35:21.419 INFO kablam! | Sep 19 14:35:21.419 INFO kablam! 26 | let blah = lexer.current_token(); Sep 19 14:35:21.422 INFO kablam! | ----- immutable borrow occurs here Sep 19 14:35:21.423 INFO kablam! ... Sep 19 14:35:21.423 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 19 14:35:21.423 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 19 14:35:21.423 INFO kablam! 38 | } Sep 19 14:35:21.423 INFO kablam! | - immutable borrow ends here Sep 19 14:35:21.423 INFO kablam! Sep 19 14:35:21.429 INFO kablam! error: aborting due to previous error Sep 19 14:35:21.429 INFO kablam! Sep 19 14:35:21.429 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 19 14:35:21.438 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 19 14:35:21.438 INFO kablam! Sep 19 14:35:21.438 INFO kablam! To learn more, run the command again with --verbose. Sep 19 14:35:21.440 INFO kablam! su: No module specific data is present Sep 19 14:35:22.649 INFO running `"docker" "rm" "-f" "a2ed9d9b1ed65640add0e62a81778e9f76a628e98be76c86aaa7b73a22fa9cf5"` Sep 19 14:35:22.998 INFO blam! a2ed9d9b1ed65640add0e62a81778e9f76a628e98be76c86aaa7b73a22fa9cf5