Sep 03 20:10:27.343 INFO checking UnicodeSnowman/writing_an_interpreter_in_rust against try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0 for pr-53893 Sep 03 20:10:27.343 INFO running: cargo +6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0-alt check --frozen --all --all-targets Sep 03 20:10:27.343 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53893/try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53893/worker-2/try#6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0:/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=500" "-e" "CMD=cargo +6b43b862fabb13a0ce2a5371ea1e77ee1674b7e0-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 03 20:10:27.555 INFO blam! 3c85adf8f6a18ed3e40ec16d1307493048cf8b589b59a26e7395d33868eecdf1 Sep 03 20:10:27.557 INFO running `"docker" "start" "-a" "3c85adf8f6a18ed3e40ec16d1307493048cf8b589b59a26e7395d33868eecdf1"` Sep 03 20:10:28.131 INFO kablam! Checking writing_an_interpreter_in_rust v0.1.0 (file:///source) Sep 03 20:10:28.483 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 03 20:10:28.484 INFO kablam! --> src/ast.rs:16:5 Sep 03 20:10:28.484 INFO kablam! | Sep 03 20:10:28.484 INFO kablam! 16 | pub statements: Vec> Sep 03 20:10:28.484 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 03 20:10:28.484 INFO kablam! | Sep 03 20:10:28.484 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 03 20:10:28.484 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 03 20:10:28.484 INFO kablam! = note: for more information, see issue #34537 Sep 03 20:10:28.484 INFO kablam! Sep 03 20:10:28.485 INFO kablam! warning: unused variable: `blah` Sep 03 20:10:28.485 INFO kablam! --> src/parser.rs:26:13 Sep 03 20:10:28.485 INFO kablam! | Sep 03 20:10:28.485 INFO kablam! 26 | let blah = lexer.current_token(); Sep 03 20:10:28.485 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 03 20:10:28.485 INFO kablam! | Sep 03 20:10:28.485 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 03 20:10:28.485 INFO kablam! Sep 03 20:10:28.514 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 03 20:10:28.514 INFO kablam! --> src/parser.rs:37:18 Sep 03 20:10:28.514 INFO kablam! | Sep 03 20:10:28.514 INFO kablam! 26 | let blah = lexer.current_token(); Sep 03 20:10:28.514 INFO kablam! | ----- immutable borrow occurs here Sep 03 20:10:28.514 INFO kablam! ... Sep 03 20:10:28.514 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 03 20:10:28.514 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 03 20:10:28.514 INFO kablam! 38 | } Sep 03 20:10:28.514 INFO kablam! | - immutable borrow ends here Sep 03 20:10:28.514 INFO kablam! Sep 03 20:10:28.517 INFO kablam! error: aborting due to previous error Sep 03 20:10:28.517 INFO kablam! Sep 03 20:10:28.517 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 03 20:10:28.526 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 03 20:10:28.526 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 03 20:10:28.532 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 03 20:10:28.532 INFO kablam! --> src/ast.rs:16:5 Sep 03 20:10:28.532 INFO kablam! | Sep 03 20:10:28.532 INFO kablam! 16 | pub statements: Vec> Sep 03 20:10:28.532 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 03 20:10:28.532 INFO kablam! | Sep 03 20:10:28.532 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 03 20:10:28.532 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 03 20:10:28.533 INFO kablam! = note: for more information, see issue #34537 Sep 03 20:10:28.533 INFO kablam! Sep 03 20:10:28.534 INFO kablam! warning: unused variable: `blah` Sep 03 20:10:28.534 INFO kablam! --> src/parser.rs:26:13 Sep 03 20:10:28.534 INFO kablam! | Sep 03 20:10:28.534 INFO kablam! 26 | let blah = lexer.current_token(); Sep 03 20:10:28.534 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 03 20:10:28.534 INFO kablam! | Sep 03 20:10:28.534 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 03 20:10:28.534 INFO kablam! Sep 03 20:10:28.555 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 03 20:10:28.555 INFO kablam! --> src/parser.rs:37:18 Sep 03 20:10:28.555 INFO kablam! | Sep 03 20:10:28.555 INFO kablam! 26 | let blah = lexer.current_token(); Sep 03 20:10:28.555 INFO kablam! | ----- immutable borrow occurs here Sep 03 20:10:28.555 INFO kablam! ... Sep 03 20:10:28.555 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 03 20:10:28.555 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 03 20:10:28.555 INFO kablam! 38 | } Sep 03 20:10:28.555 INFO kablam! | - immutable borrow ends here Sep 03 20:10:28.555 INFO kablam! Sep 03 20:10:28.558 INFO kablam! error: aborting due to previous error Sep 03 20:10:28.558 INFO kablam! Sep 03 20:10:28.558 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 03 20:10:28.565 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 03 20:10:28.565 INFO kablam! Sep 03 20:10:28.565 INFO kablam! To learn more, run the command again with --verbose. Sep 03 20:10:28.566 INFO kablam! su: No module specific data is present Sep 03 20:10:29.001 INFO running `"docker" "rm" "-f" "3c85adf8f6a18ed3e40ec16d1307493048cf8b589b59a26e7395d33868eecdf1"` Sep 03 20:10:29.093 INFO blam! 3c85adf8f6a18ed3e40ec16d1307493048cf8b589b59a26e7395d33868eecdf1