Sep 05 19:40:31.217 INFO checking UnicodeSnowman/writing_an_interpreter_in_rust against try#51ff957df5095d92d1d3d4682207ee8b7ad408a8 for pr-53854 Sep 05 19:40:31.217 INFO running: cargo +51ff957df5095d92d1d3d4682207ee8b7ad408a8-alt check --frozen --all --all-targets Sep 05 19:40:31.217 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-4/pr-53854/try#51ff957df5095d92d1d3d4682207ee8b7ad408a8:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53854/worker-4/try#51ff957df5095d92d1d3d4682207ee8b7ad408a8:/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 +51ff957df5095d92d1d3d4682207ee8b7ad408a8-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 05 19:40:31.498 INFO blam! ad950f864a74fb15d1efd6ae4e5682f8f47f35ea4453850ff6e5477984d593d2 Sep 05 19:40:31.499 INFO running `"docker" "start" "-a" "ad950f864a74fb15d1efd6ae4e5682f8f47f35ea4453850ff6e5477984d593d2"` Sep 05 19:40:32.469 INFO kablam! usermod: no changes Sep 05 19:40:32.513 INFO kablam! Checking writing_an_interpreter_in_rust v0.1.0 (file:///source) Sep 05 19:40:32.706 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 05 19:40:32.706 INFO kablam! --> src/ast.rs:16:5 Sep 05 19:40:32.706 INFO kablam! | Sep 05 19:40:32.706 INFO kablam! 16 | pub statements: Vec> Sep 05 19:40:32.706 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 05 19:40:32.706 INFO kablam! | Sep 05 19:40:32.706 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 05 19:40:32.706 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 05 19:40:32.706 INFO kablam! = note: for more information, see issue #34537 Sep 05 19:40:32.706 INFO kablam! Sep 05 19:40:32.707 INFO kablam! warning: unused variable: `blah` Sep 05 19:40:32.707 INFO kablam! --> src/parser.rs:26:13 Sep 05 19:40:32.707 INFO kablam! | Sep 05 19:40:32.707 INFO kablam! 26 | let blah = lexer.current_token(); Sep 05 19:40:32.707 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 05 19:40:32.707 INFO kablam! | Sep 05 19:40:32.707 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 05 19:40:32.707 INFO kablam! Sep 05 19:40:32.722 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 05 19:40:32.722 INFO kablam! --> src/parser.rs:37:18 Sep 05 19:40:32.722 INFO kablam! | Sep 05 19:40:32.722 INFO kablam! 26 | let blah = lexer.current_token(); Sep 05 19:40:32.722 INFO kablam! | ----- immutable borrow occurs here Sep 05 19:40:32.722 INFO kablam! ... Sep 05 19:40:32.722 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 05 19:40:32.722 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 05 19:40:32.722 INFO kablam! 38 | } Sep 05 19:40:32.722 INFO kablam! | - immutable borrow ends here Sep 05 19:40:32.722 INFO kablam! Sep 05 19:40:32.722 INFO kablam! error: aborting due to previous error Sep 05 19:40:32.722 INFO kablam! Sep 05 19:40:32.722 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 05 19:40:32.740 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 05 19:40:32.740 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 05 19:40:32.806 INFO kablam! warning: private type `(dyn ast::Statement + 'static)` in public interface (error E0446) Sep 05 19:40:32.806 INFO kablam! --> src/ast.rs:16:5 Sep 05 19:40:32.806 INFO kablam! | Sep 05 19:40:32.806 INFO kablam! 16 | pub statements: Vec> Sep 05 19:40:32.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 05 19:40:32.806 INFO kablam! | Sep 05 19:40:32.806 INFO kablam! = note: #[warn(private_in_public)] on by default Sep 05 19:40:32.806 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 05 19:40:32.806 INFO kablam! = note: for more information, see issue #34537 Sep 05 19:40:32.806 INFO kablam! Sep 05 19:40:32.808 INFO kablam! warning: unused variable: `blah` Sep 05 19:40:32.808 INFO kablam! --> src/parser.rs:26:13 Sep 05 19:40:32.808 INFO kablam! | Sep 05 19:40:32.808 INFO kablam! 26 | let blah = lexer.current_token(); Sep 05 19:40:32.808 INFO kablam! | ^^^^ help: consider using `_blah` instead Sep 05 19:40:32.808 INFO kablam! | Sep 05 19:40:32.808 INFO kablam! = note: #[warn(unused_variables)] on by default Sep 05 19:40:32.808 INFO kablam! Sep 05 19:40:32.830 INFO kablam! error[E0502]: cannot borrow `*lexer` as mutable because it is also borrowed as immutable Sep 05 19:40:32.830 INFO kablam! --> src/parser.rs:37:18 Sep 05 19:40:32.830 INFO kablam! | Sep 05 19:40:32.830 INFO kablam! 26 | let blah = lexer.current_token(); Sep 05 19:40:32.830 INFO kablam! | ----- immutable borrow occurs here Sep 05 19:40:32.830 INFO kablam! ... Sep 05 19:40:32.830 INFO kablam! 37 | Parser { lexer, current_token, peek_token, errors: Vec::new() } Sep 05 19:40:32.830 INFO kablam! | ^^^^^ mutable borrow occurs here Sep 05 19:40:32.830 INFO kablam! 38 | } Sep 05 19:40:32.830 INFO kablam! | - immutable borrow ends here Sep 05 19:40:32.830 INFO kablam! Sep 05 19:40:32.834 INFO kablam! error: aborting due to previous error Sep 05 19:40:32.834 INFO kablam! Sep 05 19:40:32.834 INFO kablam! For more information about this error, try `rustc --explain E0502`. Sep 05 19:40:32.841 INFO kablam! error: Could not compile `writing_an_interpreter_in_rust`. Sep 05 19:40:32.841 INFO kablam! Sep 05 19:40:32.841 INFO kablam! To learn more, run the command again with --verbose. Sep 05 19:40:32.842 INFO kablam! su: No module specific data is present Sep 05 19:40:33.364 INFO running `"docker" "rm" "-f" "ad950f864a74fb15d1efd6ae4e5682f8f47f35ea4453850ff6e5477984d593d2"` Sep 05 19:40:33.493 INFO blam! ad950f864a74fb15d1efd6ae4e5682f8f47f35ea4453850ff6e5477984d593d2